svn commit: samba r20023 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
metze at samba.org
metze at samba.org
Sun Dec 3 20:45:14 GMT 2006
Author: metze
Date: 2006-12-03 20:45:13 +0000 (Sun, 03 Dec 2006)
New Revision: 20023
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20023
Log:
handle <SID=...> <WKGUID=...> dn's also in ldb_dn_new_fmt()
metze
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c 2006-12-03 20:37:44 UTC (rev 20022)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c 2006-12-03 20:45:13 UTC (rev 20023)
@@ -143,6 +143,16 @@
* exploded_dn control is used */
dn->special = true;
/* FIXME: add a GUID string to ldb_dn structure */
+ } else if (strncasecmp(strdn, "<SID=", 8) == 0) {
+ /* this is special DN returned when the
+ * exploded_dn control is used */
+ dn->special = true;
+ /* FIXME: add a SID string to ldb_dn structure */
+ } else if (strncasecmp(strdn, "<WKGUID=", 8) == 0) {
+ /* this is special DN returned when the
+ * exploded_dn control is used */
+ dn->special = true;
+ /* FIXME: add a WKGUID string to ldb_dn structure */
}
dn->linearized = strdn;
More information about the samba-cvs
mailing list