summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-10-12 20:34:17 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-10-27 18:52:29 +0200
commit82d9c9e5a0640fbe6871785a1672895d35630996 (patch)
treede1851ba9d6cc7914019b9821a994bc0c0305f40 /source4/dsdb/samdb/ldb_modules
parent3756508fece741183cfacbd22f25f9e6c55f4fd2 (diff)
downloadsamba-82d9c9e5a0640fbe6871785a1672895d35630996.tar.gz
samba-82d9c9e5a0640fbe6871785a1672895d35630996.tar.bz2
samba-82d9c9e5a0640fbe6871785a1672895d35630996.zip
s4:objectclass LDB module - "check_rodc_ntdsdsa_add"
For convention use "ldb_attr_cmp()". Reviewed-by: abartlet
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c
index 601341c5c5..5c89371216 100644
--- a/source4/dsdb/samdb/ldb_modules/objectclass.c
+++ b/source4/dsdb/samdb/ldb_modules/objectclass.c
@@ -449,7 +449,7 @@ static bool check_rodc_ntdsdsa_add(struct oc_context *ac,
{
struct ldb_control *rodc_control;
- if (strcasecmp(objectclass->lDAPDisplayName, "nTDSDSA") != 0) {
+ if (ldb_attr_cmp(objectclass->lDAPDisplayName, "nTDSDSA") != 0) {
return false;
}
rodc_control = ldb_request_get_control(ac->req, LDB_CONTROL_RODC_DCPROMO_OID);