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:
parent
7511f080b4
commit
98854207fe
@ -450,16 +450,12 @@ 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) {
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user