mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s4:ldb_modules/util.c - "dsHeuristics" -> "dSHeuristics"
This commit is contained in:
parent
79548f0da2
commit
ed704c28b2
@ -1058,7 +1058,7 @@ const struct ldb_val *dsdb_module_find_dsheuristics(struct ldb_module *module,
|
|||||||
int ret;
|
int ret;
|
||||||
struct ldb_dn *new_dn;
|
struct ldb_dn *new_dn;
|
||||||
struct ldb_context *ldb = ldb_module_get_ctx(module);
|
struct ldb_context *ldb = ldb_module_get_ctx(module);
|
||||||
static const char *attrs[] = { "dsHeuristics", NULL };
|
static const char *attrs[] = { "dSHeuristics", NULL };
|
||||||
struct ldb_result *res;
|
struct ldb_result *res;
|
||||||
|
|
||||||
new_dn = ldb_dn_copy(mem_ctx, ldb_get_config_basedn(ldb));
|
new_dn = ldb_dn_copy(mem_ctx, ldb_get_config_basedn(ldb));
|
||||||
@ -1074,7 +1074,7 @@ const struct ldb_val *dsdb_module_find_dsheuristics(struct ldb_module *module,
|
|||||||
if (ret == LDB_SUCCESS && res->count == 1) {
|
if (ret == LDB_SUCCESS && res->count == 1) {
|
||||||
talloc_free(new_dn);
|
talloc_free(new_dn);
|
||||||
return ldb_msg_find_ldb_val(res->msgs[0],
|
return ldb_msg_find_ldb_val(res->msgs[0],
|
||||||
"dsHeuristics");
|
"dSHeuristics");
|
||||||
}
|
}
|
||||||
talloc_free(new_dn);
|
talloc_free(new_dn);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user