2008-06-05 15:21:18 +02:00
|
|
|
# LdapSaisie - LDAP Schema - Example
|
2021-04-13 18:04:19 +02:00
|
|
|
# Web Site : https://ldapsaisie.org
|
2008-06-05 15:21:18 +02:00
|
|
|
objectIdentifier EeRoot 1.3.6.1.4.1.10650
|
|
|
|
objectIdentifier LeRoot EeRoot:4
|
|
|
|
objectIdentifier LsRoot LeRoot:10000
|
|
|
|
objectIdentifier LsLDAP LsRoot:2
|
|
|
|
objectIdentifier LsLDAPAttribute LsLDAP:1
|
|
|
|
objectIdentifier LsLDAPObjectClass LsLDAP:2
|
|
|
|
|
|
|
|
# <Ls attributes>
|
|
|
|
attributetype (LsLDAPAttribute:1
|
|
|
|
NAME 'lsAllowedServices'
|
2008-02-12 18:59:44 +01:00
|
|
|
DESC 'List of allowed services'
|
|
|
|
EQUALITY caseIgnoreMatch
|
|
|
|
SUBSTR caseIgnoreSubstringsMatch
|
|
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
|
|
|
|
|
2008-06-05 15:21:18 +02:00
|
|
|
attributetype ( LsLDAPAttribute:2 NAME 'lsRecoveryHash'
|
|
|
|
DESC 'Password Recover Hash'
|
|
|
|
EQUALITY caseIgnoreMatch
|
|
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
2008-11-12 17:57:40 +01:00
|
|
|
|
2021-04-13 18:04:19 +02:00
|
|
|
attributetype ( LsLDAPAttribute:3 NAME 'lsGodfatherDn'
|
2008-11-12 17:57:40 +01:00
|
|
|
SUP distinguishedName
|
|
|
|
DESC 'Godfather dn of this entry' )
|
2008-06-05 15:21:18 +02:00
|
|
|
# </Ls attributes>
|
2021-04-13 18:04:19 +02:00
|
|
|
|
2008-06-05 15:21:18 +02:00
|
|
|
# <Ls Objectclass>
|
|
|
|
objectclass (LsLDAPObjectClass:1
|
2008-02-12 18:59:44 +01:00
|
|
|
NAME 'lspeople'
|
|
|
|
DESC 'LS people Objectclass'
|
|
|
|
STRUCTURAL
|
|
|
|
MUST ( uid $ cn )
|
2008-06-05 15:21:18 +02:00
|
|
|
MAY ( jpegPhoto $ sn $ givenName $ postalAddress $ postalCode $ l $ st $ c $
|
|
|
|
telephoneNumber $ mobile $ fax $ mail $ personalTitle $ description $
|
2008-11-12 17:57:40 +01:00
|
|
|
userPassword $ lsallowedservices $ lsRecoveryHash $ lsGodfatherDn ))
|
2008-02-12 18:59:44 +01:00
|
|
|
|
2008-06-05 15:21:18 +02:00
|
|
|
objectclass (LsLDAPObjectClass:3
|
2008-02-12 18:59:44 +01:00
|
|
|
NAME 'lsgroup'
|
|
|
|
DESC 'LS group Objectclass'
|
2013-06-16 09:01:44 +02:00
|
|
|
AUXILIARY
|
2008-02-12 18:59:44 +01:00
|
|
|
MUST ( cn )
|
2008-11-12 17:57:40 +01:00
|
|
|
MAY ( uniquemember $ description $ lsGodfatherDn ))
|
2008-02-12 18:59:44 +01:00
|
|
|
|
2008-06-05 15:21:18 +02:00
|
|
|
objectclass (LsLDAPObjectClass:4
|
2008-02-12 18:59:44 +01:00
|
|
|
NAME 'lssysaccount'
|
|
|
|
DESC 'LS system account Objectclass'
|
|
|
|
STRUCTURAL
|
|
|
|
MUST ( uid )
|
2008-08-06 19:04:03 +02:00
|
|
|
MAY (userpassword $ description))
|
|
|
|
|
|
|
|
objectclass ( LsLDAPObjectClass:5
|
2013-06-16 09:01:44 +02:00
|
|
|
NAME 'lscompany'
|
|
|
|
SUP organizationalUnit
|
|
|
|
STRUCTURAL
|
|
|
|
MUST ( ou )
|
|
|
|
MAY ( description $ lsGodfatherDn ))
|
2008-08-06 19:04:03 +02:00
|
|
|
|
2008-06-05 15:21:18 +02:00
|
|
|
# </Ls Objectclass>
|