summaryrefslogtreecommitdiffstats
path: root/examples/LDAP/samba.schema
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-19 09:43:23 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-19 09:43:23 +0000
commit7679811afb35c047f00f2c3b04602ac01d2db041 (patch)
tree5305c26a878415f8c358d443b50b8d72ffa8d60b /examples/LDAP/samba.schema
parent686ef10355b54d7a4349a4356d21a3a1056805dd (diff)
downloadsamba-7679811afb35c047f00f2c3b04602ac01d2db041.tar.gz
samba-7679811afb35c047f00f2c3b04602ac01d2db041.tar.xz
samba-7679811afb35c047f00f2c3b04602ac01d2db041.zip
Put group mapping into LDAP.
Volker (This used to be commit da83d97eb50c3c3a67985e22410842100207431f)
Diffstat (limited to 'examples/LDAP/samba.schema')
-rw-r--r--examples/LDAP/samba.schema25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/LDAP/samba.schema b/examples/LDAP/samba.schema
index f71c344e06..71689237e8 100644
--- a/examples/LDAP/samba.schema
+++ b/examples/LDAP/samba.schema
@@ -111,6 +111,19 @@ attributetype ( 1.3.6.1.4.1.7165.2.1.15 NAME 'primaryGroupID'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
##
+## group mapping attributes
+##
+attributetype ( 1.3.6.1.4.1.7165.2.1.19 NAME 'ntGroupType'
+ DESC 'NT Group Type'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
+
+attributetype ( 1.3.6.1.4.1.7165.2.1.20 NAME 'ntSid'
+ DESC 'Security ID'
+ EQUALITY caseIgnoreIA5Match
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} SINGLE-VALUE )
+
+##
## The smbPasswordEntry objectclass has been depreciated in favor of the
## sambaAccount objectclass
##
@@ -139,6 +152,18 @@ objectclass ( 1.3.6.1.4.1.7165.2.2.3 NAME 'sambaAccount' SUP top AUXILIARY
displayName $ smbHome $ homeDrive $ scriptPath $ profilePath $
description $ userWorkstations $ primaryGroupID $ domain ))
+############################################################################
+##
+## Please note that this schema is really experimental and might
+## change before the 3.0 release.
+##
+############################################################################
+
+objectclass ( 1.3.6.1.4.1.7165.2.2.4 NAME 'sambaGroupMapping' SUP top AUXILIARY
+ DESC 'Samba Group Mapping'
+ MUST ( gidNumber $ ntSid $ ntGroupType )
+ MAY ( displayName $ description ))
+
##
## Used for Winbind experimentation
##