From 4aa335be113eb89d46fd560745136ed444691f6e Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sat, 27 Jun 2009 13:38:38 +0200 Subject: SAMDB: Don't check for "sAMAccountName" twice --- source4/dsdb/samdb/samdb.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source4') diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c index 98ca6d03a1..851187380b 100644 --- a/source4/dsdb/samdb/samdb.c +++ b/source4/dsdb/samdb/samdb.c @@ -197,7 +197,6 @@ int samdb_copy_template(struct ldb_context *ldb, ldb_attr_cmp(el->name, "name") == 0 || ldb_attr_cmp(el->name, "objectClass") == 0 || ldb_attr_cmp(el->name, "sAMAccountName") == 0 || - ldb_attr_cmp(el->name, "sAMAccountName") == 0 || ldb_attr_cmp(el->name, "distinguishedName") == 0 || ldb_attr_cmp(el->name, "objectGUID") == 0) { continue; -- cgit