diff options
author | Simo Sorce <idra@samba.org> | 2004-04-06 09:52:25 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2004-04-06 09:52:25 +0000 |
commit | b3a0ab348344db0aa20426dd9e38442f755c7a7e (patch) | |
tree | e7a1d0fe90a98a3d649f71944b32fdde60e77a3d /examples | |
parent | 81c96a20cd043b98952728321bf8db9a8fb6781b (diff) | |
download | samba-b3a0ab348344db0aa20426dd9e38442f755c7a7e.tar.gz samba-b3a0ab348344db0aa20426dd9e38442f755c7a7e.tar.xz samba-b3a0ab348344db0aa20426dd9e38442f755c7a7e.zip |
r74: Heads up.
With the new privilege layout I had to change our schema wrt privileges stuff.
So
- if you were testing privileges with ldapsam you should remove all the privileges from your database before you load this schema (usa ldapdelete on the privileges dn).
- if you were testing privileges with tdbsam, please remove the privileges from the tdb, probably doing an import export with pdbedit is the easiest thing as pdbedit still does not move privileges over.
Simo.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/LDAP/samba.schema | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/examples/LDAP/samba.schema b/examples/LDAP/samba.schema index 7d7fe346b2b..cefc3b7509a 100644 --- a/examples/LDAP/samba.schema +++ b/examples/LDAP/samba.schema @@ -307,7 +307,7 @@ attributetype ( 1.3.6.1.4.1.7165.2.1.40 NAME 'sambaAlgorithmicRidBase' attributetype ( 1.3.6.1.4.1.7165.2.1.41 NAME 'sambaShareName' DESC 'Share Name' EQUALITY caseIgnoreMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.7165.2.1.42 NAME 'sambaOptionName' DESC 'Option Name' @@ -333,7 +333,7 @@ attributetype ( 1.3.6.1.4.1.7165.2.1.45 NAME 'sambaStringOption' attributetype ( 1.3.6.1.4.1.7165.2.1.46 NAME 'sambaStringListOption' DESC 'A string list option' EQUALITY caseIgnoreMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) attributetype ( 1.3.6.1.4.1.7165.2.1.50 NAME ( 'sambaPrivName' ) SUP name ) @@ -343,6 +343,11 @@ attributetype ( 1.3.6.1.4.1.7165.2.1.51 NAME 'sambaSIDList' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} ) +attributetype ( 1.3.6.1.4.1.7165.2.1.52 NAME 'sambaPrivilegeList' + DESC 'Privileges List' + EQUALITY caseIgnoreIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} ) + ####################################################################### ## objectClasses used by Samba 3.0 schema ## ####################################################################### @@ -372,7 +377,7 @@ objectclass ( 1.3.6.1.4.1.7165.2.2.6 NAME 'sambaSamAccount' SUP top AUXILIARY objectclass ( 1.3.6.1.4.1.7165.2.2.4 NAME 'sambaGroupMapping' SUP top AUXILIARY DESC 'Samba Group Mapping' MUST ( gidNumber $ sambaSID $ sambaGroupType ) - MAY ( displayName $ description $ sambaSIDList )) + MAY ( displayName $ description )) ## ## Whole-of-domain info @@ -417,8 +422,8 @@ objectclass ( 1.3.6.1.4.1.7165.1.2.2.12 NAME 'sambaConfigOption' SUP top STRUCTU MAY ( sambaBoolOption $ sambaIntegerOption $ sambaStringOption $ sambaStringListoption $ description ) ) -objectclass ( 1.3.6.1.4.1.7165.1.2.2.13 NAME 'sambaPrivilege' SUP top STRUCTURAL +objectclass ( 1.3.6.1.4.1.7165.1.2.2.13 NAME 'sambaPrivilege' SUP top AUXILIARY DESC 'Samba Privilege' - MUST ( sambaPrivName ) - MAY ( sambaSIDList $ description ) ) + MUST ( sambaSID ) + MAY ( sambaPrivilegeList ) ) |