1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

s3:idmap: remove special treatment of domain "*" from idmap_ldap_init.

The default config via domain "*" is now treated just as the explicit
domain configs.
This commit is contained in:
Michael Adam 2011-03-02 17:08:01 +01:00
parent 7511f080b4
commit 98854207fe

View File

@ -450,15 +450,11 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom,
return NT_STATUS_NO_MEMORY;
}
if (strequal(dom->name, "*")) {
/* more specific configuration can go here */
} else {
config_option = talloc_asprintf(ctx, "idmap config %s", dom->name);
if ( ! config_option) {
DEBUG(0, ("Out of memory!\n"));
ret = NT_STATUS_NO_MEMORY;
goto done;
}
config_option = talloc_asprintf(ctx, "idmap config %s", dom->name);
if (!config_option) {
DEBUG(0, ("Out of memory!\n"));
ret = NT_STATUS_NO_MEMORY;
goto done;
}
tmp = lp_parm_const_string(-1, config_option, "ldap_url", NULL);