summaryrefslogtreecommitdiffstats
path: root/examples/LDAP
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-17 14:15:33 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-17 14:15:33 +0000
commit19ab776bf9c91cf4e56887fd7a63d3253b7e36ef (patch)
tree16bbbe65d4a897da210b1d27d133b5c94f7f706b /examples/LDAP
parent6938b5b98abd9ba055a46583a05c4fc07e32f529 (diff)
downloadsamba-19ab776bf9c91cf4e56887fd7a63d3253b7e36ef.tar.gz
samba-19ab776bf9c91cf4e56887fd7a63d3253b7e36ef.tar.xz
samba-19ab776bf9c91cf4e56887fd7a63d3253b7e36ef.zip
sync 3_0 branch with HEAD
Diffstat (limited to 'examples/LDAP')
-rw-r--r--examples/LDAP/samba.schema16
1 files changed, 14 insertions, 2 deletions
diff --git a/examples/LDAP/samba.schema b/examples/LDAP/samba.schema
index be088c74033..61dface0a20 100644
--- a/examples/LDAP/samba.schema
+++ b/examples/LDAP/samba.schema
@@ -119,8 +119,20 @@ attributetype ( 1.3.6.1.4.1.7165.2.1.15 NAME 'primaryGroupID'
# MUST ( uid $ uidNumber )
# MAY ( lmPassword $ ntPassword $ pwdLastSet $ acctFlags ))
-objectclass ( 1.3.6.1.4.1.7165.2.2.2 NAME 'sambaAccount' SUP top STRUCTURAL
- DESC 'Samba Account'
+#objectclass ( 1.3.6.1.4.1.7165.2.2.2 NAME 'sambaAccount' SUP top STRUCTURAL
+# DESC 'Samba Account'
+# MUST ( uid $ rid )
+# MAY ( cn $ lmPassword $ ntPassword $ pwdLastSet $ logonTime $
+# logoffTime $ kickoffTime $ pwdCanChange $ pwdMustChange $ acctFlags $
+# displayName $ smbHome $ homeDrive $ scriptPath $ profilePath $
+# description $ userWorkstations $ primaryGroupID $ domain ))
+
+## The X.500 data model (and therefore LDAPv3) says that each entry can
+## only have one structural objectclass. OpenLDAP 2.0 does not enforce
+## this currently but will in v2.1
+
+objectclass ( 1.3.6.1.4.1.7165.2.2.3 NAME 'sambaAccount' SUP top AUXILIARY
+ DESC 'Samba Auxilary Account'
MUST ( uid $ rid )
MAY ( cn $ lmPassword $ ntPassword $ pwdLastSet $ logonTime $
logoffTime $ kickoffTime $ pwdCanChange $ pwdMustChange $ acctFlags $