Code

First import preparing work on sudo-ldap plugin
[gosa.git] / sudo-ldap / schema / sudo.schema
1   #
2   #  schema file for sudo
3   #
5   attributetype ( 1.3.6.1.4.1.15953.9.1.1
6         NAME 'sudoUser'
7         DESC 'User(s) who may  run sudo'
8         EQUALITY caseExactIA5Match
9         SUBSTR caseExactIA5SubstringsMatch
10         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
12   attributetype ( 1.3.6.1.4.1.15953.9.1.2
13         NAME 'sudoHost'
14         DESC 'Host(s) who may run sudo'
15         EQUALITY caseExactIA5Match
16         SUBSTR caseExactIA5SubstringsMatch
17         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
19   attributetype ( 1.3.6.1.4.1.15953.9.1.3
20         NAME 'sudoCommand'
21         DESC 'Command(s) to be executed by sudo'
22         EQUALITY caseExactIA5Match
23         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
25   attributetype ( 1.3.6.1.4.1.15953.9.1.4
26         NAME 'sudoRunAs'
27         DESC 'User(s) impersonated by sudo'
28         EQUALITY caseExactIA5Match
29         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
31   attributetype ( 1.3.6.1.4.1.15953.9.1.5
32         NAME 'sudoOption'
33         DESC 'Options(s) followed by sudo'
34         EQUALITY caseExactIA5Match
35         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
37   objectclass ( 1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top STRUCTURAL
38         DESC 'Sudoer Entries'
39         MUST ( cn )
40         MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoOption $
41               description )
42         )