diff options
author | Amitay Isaacs <amitay@gmail.com> | 2012-03-14 15:59:27 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2012-03-14 11:59:02 +0100 |
commit | ab375526e8ec8f34a79195a62adb33548599c87d (patch) | |
tree | cc25ab6d45adf75efa6261f937e75c87e20fccef /source4/dsdb/kcc | |
parent | 3272ba0d2d63e6a7d00972bc2c052aee84f073fd (diff) | |
download | samba-ab375526e8ec8f34a79195a62adb33548599c87d.tar.gz samba-ab375526e8ec8f34a79195a62adb33548599c87d.tar.bz2 samba-ab375526e8ec8f34a79195a62adb33548599c87d.zip |
s4-dsdb: Fix the case for attribute name msDS-hasMasterNCs
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Mar 14 11:59:02 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/dsdb/kcc')
-rw-r--r-- | source4/dsdb/kcc/kcc_drs_replica_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/kcc/kcc_drs_replica_info.c b/source4/dsdb/kcc/kcc_drs_replica_info.c index 8eb72662b7..8075242eb0 100644 --- a/source4/dsdb/kcc/kcc_drs_replica_info.c +++ b/source4/dsdb/kcc/kcc_drs_replica_info.c @@ -386,7 +386,7 @@ struct ncList { static WERROR get_master_ncs(TALLOC_CTX *mem_ctx, struct ldb_context *samdb, const char *ntds_guid_str, struct ncList **master_nc_list) { - const char *post_2003_attrs[] = { "msDs-hasMasterNCs", "hasPartialReplicaNCs", NULL }; + const char *post_2003_attrs[] = { "msDS-hasMasterNCs", "hasPartialReplicaNCs", NULL }; const char *pre_2003_attrs[] = { "hasMasterNCs", "hasPartialReplicaNCs", NULL }; const char **attrs = post_2003_attrs; struct ldb_result *res; @@ -397,7 +397,7 @@ static WERROR get_master_ncs(TALLOC_CTX *mem_ctx, struct ldb_context *samdb, char *nc_str; int is_level_post_2003; - /* In W2003 and greater, msDs-hasMasterNCs attribute lists the writable NC replicas */ + /* In W2003 and greater, msDS-hasMasterNCs attribute lists the writable NC replicas */ is_level_post_2003 = 1; ret = ldb_search(samdb, mem_ctx, &res, ldb_get_config_basedn(samdb), LDB_SCOPE_DEFAULT, post_2003_attrs, "(objectguid=%s)", ntds_guid_str); |