1
0
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:
Simo Sorce 2006-10-22 21:15:30 +00:00 committed by Gerald (Jerry) Carter
parent 2406af1079
commit 4ad2eba2aa
3 changed files with 3 additions and 8 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);