diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-30 12:27:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:35:02 -0500 |
commit | 6cf1b0c07c819e9e2afdcb87b2e4fd31ed680b72 (patch) | |
tree | 3bd8443bcd179871e6a887f1aafeb6de064816f5 /source4/dsdb/samdb/ldb_modules/samldb.c | |
parent | b674411eb46c9e45f2740a1f9bac365e9a347e9c (diff) | |
download | samba-6cf1b0c07c819e9e2afdcb87b2e4fd31ed680b72.tar.gz samba-6cf1b0c07c819e9e2afdcb87b2e4fd31ed680b72.tar.bz2 samba-6cf1b0c07c819e9e2afdcb87b2e4fd31ed680b72.zip |
r9793: Be more verbose, check for errors in upgrade script.
(This used to be commit b7c09df9e506f8048f69c4bdd1c3351e3b554e18)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/samldb.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 6b6c8bd55d..3266c89e2d 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -541,7 +541,8 @@ static int samldb_add_record(struct ldb_module *module, const struct ldb_message ldb_debug(module->ldb, LDB_DEBUG_TRACE, "samldb_add_record\n"); - if (strcmp(msg->dn->components[0].name, "@SPECIAL") == 0) { /* do not manipulate our control entries */ + + if (ldb_dn_is_special(msg->dn)) { /* do not manipulate our control entries */ return ldb_next_add_record(module, msg); } |