diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-06-27 13:38:38 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-06-29 13:40:45 +1000 |
commit | 4aa335be113eb89d46fd560745136ed444691f6e (patch) | |
tree | 40388e27bcc996832e9da3134141a134ffe98a4d /source4/dsdb/samdb | |
parent | 077898b15819b28320bd049ad0fdfff34733a04f (diff) | |
download | samba-4aa335be113eb89d46fd560745136ed444691f6e.tar.gz samba-4aa335be113eb89d46fd560745136ed444691f6e.tar.bz2 samba-4aa335be113eb89d46fd560745136ed444691f6e.zip |
SAMDB: Don't check for "sAMAccountName" twice
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r-- | source4/dsdb/samdb/samdb.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |