r9768: Arrrgh.. Right this time.
[kai/samba.git] / source / dsdb / samdb / ldb_modules / samldb.c
index 9ab683016161596ac658fa02fd2be12e5f3731a4..6b6c8bd55daf42b410934e8bae458914645294e9 100644 (file)
@@ -541,7 +541,7 @@ 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, LDB_SPECIAL) == 0) { /* do not manipulate our control entries */
+       if (strcmp(msg->dn->components[0].name, "@SPECIAL") == 0) { /* do not manipulate our control entries */
                return ldb_next_add_record(module, msg);
        }