Aliases in LDAP

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Mar 15 08:08:16 GMT 2004


On Mon, Mar 15, 2004 at 06:54:14PM +1100, Tim Potter wrote:
> Should there be an update to the samba.schema as well?  I'm playing with ldap
> at the moment.  (-:

Yes, certainly. Sorry.

Find it attached.

Volker
-------------- next part --------------
Index: samba.schema
===================================================================
RCS file: /data/vl/cvstree/samba/examples/LDAP/samba.schema,v
retrieving revision 1.23
diff -u -r1.23 samba.schema
--- samba.schema	22 Feb 2004 20:25:39 -0000	1.23
+++ samba.schema	14 Mar 2004 16:57:12 -0000
@@ -270,6 +270,11 @@
 	EQUALITY caseIgnoreIA5Match
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} SINGLE-VALUE )
 
+attributetype ( 1.3.6.1.4.1.7165.2.1.50 NAME 'sambaMemberSID'
+	DESC 'Security ID of an alias member'
+	EQUALITY caseIgnoreIA5Match
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} )
+
 ##
 ## group mapping attributes
 ##
@@ -306,7 +311,7 @@
 
 attributetype ( 1.3.6.1.4.1.7165.2.1.41 NAME 'sambaShareName'
 	DESC 'Share Name'
-	EQUALITY caseIgnoreMatch
+	EQUALITY caseIgnoreIA5Match
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
 
 attributetype ( 1.3.6.1.4.1.7165.2.1.42 NAME 'sambaOptionName'
@@ -332,7 +337,7 @@
 
 attributetype ( 1.3.6.1.4.1.7165.2.1.46 NAME 'sambaStringListOption'
 	DESC 'A string list option'
-	EQUALITY caseIgnoreMatch
+	EQUALITY caseIgnoreIA5Match
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
 
 #######################################################################
@@ -364,7 +369,7 @@
 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 ))
+	MAY  ( displayName $ description $ sambaMemberSID ))
 
 ##
 ## Whole-of-domain info


More information about the samba-technical mailing list