summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-20 21:53:18 +0000
committerGerald Carter <jerry@samba.org>2003-08-20 21:53:18 +0000
commit873f925a51d30fbfd351467999fae850f7e61110 (patch)
tree47241d17af4dddd40beb4aaa278d3f16f79a77af
parenta750624f4d005e2bc415e86a38947a7fa10d0cb9 (diff)
downloadsamba-873f925a51d30fbfd351467999fae850f7e61110.tar.gz
samba-873f925a51d30fbfd351467999fae850f7e61110.tar.bz2
samba-873f925a51d30fbfd351467999fae850f7e61110.zip
adding old NDS schema so I can update it
(This used to be commit 25753e2a336a72dc2275a0046003c3a659a0f880)
-rw-r--r--examples/LDAP/samba-nds.schema201
1 files changed, 201 insertions, 0 deletions
diff --git a/examples/LDAP/samba-nds.schema b/examples/LDAP/samba-nds.schema
new file mode 100644
index 0000000000..99e56d75dc
--- /dev/null
+++ b/examples/LDAP/samba-nds.schema
@@ -0,0 +1,201 @@
+--
+-- Submitted by Bruno Gimenes Pereti <pereti@ut mp dot edu dot br>
+--
+-- schema file for Novell's eDirectory 8.6
+--
+
+SambaAccountSchemaExtensions DEFINITIONS ::=
+BEGIN
+
+-- Password hashes
+"lmPassword" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_CI_STRING,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 1 }
+}
+
+"ntPassword" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_CI_STRING,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 2 }
+}
+
+-- Account flags in string format ([UWDX ])
+"acctFlags" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_CI_STRING,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 4 }
+}
+
+-- Password timestamps & policies
+"pwdLastSet" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_INTEGER,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 3 }
+}
+
+"logonTime" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_INTEGER,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 5 }
+}
+
+"logoffTime" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_INTEGER,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 6 }
+}
+
+"kickoffTime" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_INTEGER,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 7 }
+}
+
+"pwdCanChange" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_INTEGER,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 8 }
+}
+
+"pwdMustChange" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_INTEGER,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 9 }
+}
+
+-- string settings
+"homeDrive" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_CI_STRING,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 10 }
+}
+
+"scriptPath" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_CI_STRING,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 5 1 4 1 7165 2 1 11 }
+}
+
+"profilePath" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_CI_STRING,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 12 }
+}
+
+"userWorkstations" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_CI_STRING,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 13 }
+}
+
+"smbHome" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_CI_STRING,
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 17 }
+}
+
+"domain" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_CI_STRING,
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 18 }
+}
+
+-- user and group RID
+"rid" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_INTEGER,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 14 }
+}
+
+"primaryGroupID" ATTRIBUTE ::=
+{
+ Operation ADD,
+ SyntaxID SYN_INTEGER,
+ Flags { DS_SINGLE_VALUED_ATTR },
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 1 15 }
+}
+
+"sambaAccount" OBJECT-CLASS ::=
+{
+ Operation ADD,
+ Flags {DS_AUXILIARY_CLASS},
+ SubClassOf {"TOP"},
+ MustContain { "uid"},
+ MustContain { "rid"},
+ MayContain { "CN"},
+ MayContain { "lmPassword"},
+ MayContain { "ntPassword"},
+ MayContain { "pwdLastSet"},
+ MayContain { "logonTime"},
+ MayContain { "logoffTime"},
+ MayContain { "kickoffTime"},
+ MayContain { "pwdCanChange"},
+ MayContain { "pwdMustChange"},
+ MayContain { "acctFlags"},
+ MayContain { "displayName"},
+ MayContain { "smbHome"},
+ MayContain { "homeDrive"},
+ MayContain { "scriptPath"},
+ MayContain { "profilePath"},
+ MayContain { "description"},
+ MayContain { "userWorkstations"},
+ MayContain { "primaryGroupID"},
+ MayContain { "domain"},
+ ASN1ObjID { 1 3 6 1 4 1 7165 2 2 3 }
+}
+
+-- Used for Winbind experimentation
+"uidPool" OBJECT-CLASS ::=
+{
+ Operation ADD,
+ Flags {DS_AUXILIARY_CLASS},
+ SubClassOf {"TOP"},
+ MustContain { "uidNumber"},
+ MustContain { "CN"},
+ ASN1ObjID { 1 3 6 1 4 1 7165 1 2 2 3 }
+}
+
+"gidPool" OBJECT-CLASS ::=
+{
+ Operation ADD,
+ Flags {DS_AUXILIARY_CLASS},
+ SubClassOf {"TOP"},
+ MustContain { "gidNumber"},
+ MustContain { "CN"},
+ ASN1ObjID { 1 3 6 1 4 1 7165 1 2 2 4 }
+}
+
+END
+
+