[sudo-workers] Schema for SunONE Directory Server

janth at moldung.no janth at moldung.no
Fri Jul 23 08:23:53 EDT 2004


Hi,
I have tried 1.6.8.rc2, with sudo-roles in SunONE Directory server ver 5.1sp1.
The schema included with sudo was for OpenLDAP, and did not import in SunONE.
Here is my modified schema, which seems to work:

dn: cn=schema
objectClasses:  ( 1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole'    DESC 'Sudoer Entries' SUP top STRUCTURAL MUST ( cn ) MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoOption $ description ) X-ORIGIN 'sudo' )
attributeTypes: ( 1.3.6.1.4.1.15953.9.1.1 NAME 'sudoUser'    DESC 'User(s) who may  run sudo'         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) X-ORIGIN 'sudo' )
attributeTypes: ( 1.3.6.1.4.1.15953.9.1.2 NAME 'sudoHost'    DESC 'Host(s) who may run sudo'          SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) X-ORIGIN 'sudo' )
attributeTypes: ( 1.3.6.1.4.1.15953.9.1.3 NAME 'sudoCommand' DESC 'Command(s) to be executed by sudo' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) X-ORIGIN 'sudo' )
attributeTypes: ( 1.3.6.1.4.1.15953.9.1.4 NAME 'sudoRunAs'   DESC 'User(s) impersonated by sudo'      SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) X-ORIGIN 'sudo' )
attributeTypes: ( 1.3.6.1.4.1.15953.9.1.5 NAME 'sudoOption'  DESC 'Options(s) followed by sudo'       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) X-ORIGIN 'sudo' )


Perhaps someone else can verify before including it with ver 1.6.8.


---
Jan Thomas Moldung



More information about the sudo-workers mailing list