diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-10-12 20:34:17 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-10-27 18:52:29 +0200 |
commit | 82d9c9e5a0640fbe6871785a1672895d35630996 (patch) | |
tree | de1851ba9d6cc7914019b9821a994bc0c0305f40 | |
parent | 3756508fece741183cfacbd22f25f9e6c55f4fd2 (diff) | |
download | samba-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
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectclass.c | 2 |
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); |