mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r19452: Warn but don't die if registering against the rootdse is not possible
This commit is contained in:
parent
2406af1079
commit
4ad2eba2aa
@ -454,8 +454,7 @@ static int asq_init(struct ldb_module *module)
|
||||
|
||||
ret = ldb_request(module->ldb, req);
|
||||
if (ret != LDB_SUCCESS) {
|
||||
ldb_debug(module->ldb, LDB_DEBUG_ERROR, "asq: Unable to register control with rootdse!\n");
|
||||
return LDB_ERR_OTHER;
|
||||
ldb_debug(module->ldb, LDB_DEBUG_WARNING, "asq: Unable to register control with rootdse!\n");
|
||||
}
|
||||
|
||||
return ldb_next_init(module);
|
||||
|
@ -544,9 +544,7 @@ static int paged_request_init(struct ldb_module *module)
|
||||
|
||||
ret = ldb_request(module->ldb, req);
|
||||
if (ret != LDB_SUCCESS) {
|
||||
ldb_debug(module->ldb, LDB_DEBUG_ERROR, "paged_request: Unable to register control with rootdse!\n");
|
||||
talloc_free(req);
|
||||
return LDB_ERR_OTHER;
|
||||
ldb_debug(module->ldb, LDB_DEBUG_WARNING, "paged_request: Unable to register control with rootdse!\n");
|
||||
}
|
||||
|
||||
talloc_free(req);
|
||||
|
@ -423,9 +423,7 @@ static int server_sort_init(struct ldb_module *module)
|
||||
|
||||
ret = ldb_request(module->ldb, req);
|
||||
if (ret != LDB_SUCCESS) {
|
||||
ldb_debug(module->ldb, LDB_DEBUG_ERROR, "server_sort: Unable to register control with rootdse!\n");
|
||||
talloc_free(req);
|
||||
return LDB_ERR_OTHER;
|
||||
ldb_debug(module->ldb, LDB_DEBUG_WARNING, "server_sort: Unable to register control with rootdse!\n");
|
||||
}
|
||||
|
||||
talloc_free(req);
|
||||
|
Loading…
Reference in New Issue
Block a user