summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-19 09:38:47 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-19 09:38:47 +0000
commit6fe08f60ca3ee70deb4769025860267cff4f6f4d (patch)
tree3ebaf6ab85266b88823bc8c813e3df749a071383 /examples
parentb8ba9f909f2be46b9ed5f59efce6233ce0a672af (diff)
downloadsamba-6fe08f60ca3ee70deb4769025860267cff4f6f4d.tar.gz
samba-6fe08f60ca3ee70deb4769025860267cff4f6f4d.tar.bz2
samba-6fe08f60ca3ee70deb4769025860267cff4f6f4d.zip
Put group mapping into LDAP.
Volker (This used to be commit f0f1518fc450834725902e9cdf33fb8d35f99360)
Diffstat (limited to 'examples')
-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
##