Annotation of src/usr.bin/sudo/schema.OpenLDAP, Revision 1.2
1.1 millert 1: #
2: # OpenLDAP schema file for Sudo
3: # Save as /etc/openldap/schema/sudo.schema
4: #
5:
6: attributetype ( 1.3.6.1.4.1.15953.9.1.1
7: NAME 'sudoUser'
8: DESC 'User(s) who may run sudo'
9: EQUALITY caseExactIA5Match
10: SUBSTR caseExactIA5SubstringsMatch
11: SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
12:
13: attributetype ( 1.3.6.1.4.1.15953.9.1.2
14: NAME 'sudoHost'
15: DESC 'Host(s) who may run sudo'
16: EQUALITY caseExactIA5Match
17: SUBSTR caseExactIA5SubstringsMatch
18: SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
19:
20: attributetype ( 1.3.6.1.4.1.15953.9.1.3
21: NAME 'sudoCommand'
22: DESC 'Command(s) to be executed by sudo'
23: EQUALITY caseExactIA5Match
24: SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
25:
26: attributetype ( 1.3.6.1.4.1.15953.9.1.4
27: NAME 'sudoRunAs'
1.2 ! millert 28: DESC 'User(s) impersonated by sudo (deprecated)'
1.1 millert 29: EQUALITY caseExactIA5Match
30: SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
31:
32: attributetype ( 1.3.6.1.4.1.15953.9.1.5
33: NAME 'sudoOption'
34: DESC 'Options(s) followed by sudo'
35: EQUALITY caseExactIA5Match
36: SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
37:
1.2 ! millert 38: attributetype ( 1.3.6.1.4.1.15953.9.1.6
! 39: NAME 'sudoRunAsUser'
! 40: DESC 'User(s) impersonated by sudo'
! 41: EQUALITY caseExactIA5Match
! 42: SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
! 43:
! 44: attributetype ( 1.3.6.1.4.1.15953.9.1.7
! 45: NAME 'sudoRunAsGroup'
! 46: DESC 'Group(s) impersonated by sudo'
! 47: EQUALITY caseExactIA5Match
! 48: SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
! 49:
1.1 millert 50: objectclass ( 1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top STRUCTURAL
51: DESC 'Sudoer Entries'
52: MUST ( cn )
1.2 ! millert 53: MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoRunAsUser $ sudoRunAsGroup $ sudoOption $
1.1 millert 54: description )
55: )