s4:samldb module - Remove duplicate line
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Mon, 10 Aug 2009 11:19:18 +0000 (13:19 +0200)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Tue, 11 Aug 2009 10:59:16 +0000 (12:59 +0200)
source4/dsdb/samdb/ldb_modules/samldb.c

index 037d5c9e678ec9637aa3a864f196294df044fd17..e0229842accc9da7cdf8b651faa424266c664bbb 100644 (file)
@@ -296,7 +296,6 @@ static int samldb_apply_template(struct samldb_ctx *ac)
                    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, "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;
                    ldb_attr_cmp(el->name, "distinguishedName") == 0 ||
                    ldb_attr_cmp(el->name, "objectGUID") == 0) {
                        continue;