From 853418653091a102be7201c455d7dcc6497187df Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 29 Nov 2006 20:03:19 +0000 Subject: r19954: allow more special dn's: this works now against w2k3: bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "" -s base bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "" -s base bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "" -s base and we should try to implement this in the server too... metze (This used to be commit 3c087c89707398d88799367240fe4e6f8b192bb4) --- source4/lib/ldb/common/ldb_dn.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source4/lib/ldb/common/ldb_dn.c') diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index bb314fbe40..ae178986f4 100644 --- a/source4/lib/ldb/common/ldb_dn.c +++ b/source4/lib/ldb/common/ldb_dn.c @@ -93,6 +93,16 @@ struct ldb_dn *ldb_dn_new(void *mem_ctx, struct ldb_context *ldb, const char *st * exploded_dn control is used */ dn->special = true; /* FIXME: add a GUID string to ldb_dn structure */ + } else if (strncasecmp(strdn, "special = true; + /* FIXME: add a SID string to ldb_dn structure */ + } else if (strncasecmp(strdn, "special = true; + /* FIXME: add a WKGUID string to ldb_dn structure */ } dn->linearized = talloc_strdup(dn, strdn); } else { -- cgit