1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-04 08:23:50 +03:00

r20772: fix segfault caused by ldb_set_default_dns() from init_context hook of the root dse module

metze
This commit is contained in:
Stefan Metzmacher
2007-01-14 17:45:55 +00:00
committed by Gerald (Jerry) Carter
parent d78de0fb68
commit a201d3fc4d

View File

@@ -1173,6 +1173,9 @@ int map_search(struct ldb_module *module, struct ldb_request *req)
const char *wildcard[] = { "*", NULL };
const char * const *attrs;
if (!module->private_data) /* if we're not yet initialized, go to the next module */
return ldb_next_request(module, req);
/* Do not manipulate our control entries */
if (ldb_dn_is_special(req->op.search.base))
return ldb_next_request(module, req);