From acd66674b4b7106d01e3ce8dbe29137e9779c633 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 20 Aug 2006 23:30:54 +0000 Subject: r17639: Martin Kuhl noticed that we loaded an incorrect value for distinguisedName on templated objects. In looking how to handle distinguishedName correctly on LDAP, I was very glad to find it supported entryDN, and this adds another mapping. Andrew Bartlett (This used to be commit 3b5c973988648a2b2a5e1885ee894607e4d9679b) --- source4/dsdb/samdb/samdb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/dsdb/samdb/samdb.c') diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c index 8351ad5baf..51f4c91569 100644 --- a/source4/dsdb/samdb/samdb.c +++ b/source4/dsdb/samdb/samdb.c @@ -705,6 +705,8 @@ int samdb_copy_template(struct ldb_context *ldb, if (strcasecmp(el->name, "cn") == 0 || strcasecmp(el->name, "name") == 0 || strcasecmp(el->name, "sAMAccountName") == 0 || + strcasecmp(el->name, "sAMAccountName") == 0 || + strcasecmp(el->name, "distinguishedName") == 0 || strcasecmp(el->name, "objectGUID") == 0) { continue; } -- cgit