From 873f925a51d30fbfd351467999fae850f7e61110 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 20 Aug 2003 21:53:18 +0000 Subject: adding old NDS schema so I can update it (This used to be commit 25753e2a336a72dc2275a0046003c3a659a0f880) --- examples/LDAP/samba-nds.schema | 201 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 examples/LDAP/samba-nds.schema 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 +-- +-- 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 + + -- cgit