mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:idmap_ldap: call idmap_ldap_alloc_init from idmap_ldap_init.
The alloc subsystem is now subordinate to the idmap system.
This commit is contained in:
parent
c854261867
commit
523b94f180
@ -593,6 +593,13 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom,
|
|||||||
|
|
||||||
dom->private_data = ctx;
|
dom->private_data = ctx;
|
||||||
|
|
||||||
|
ret = idmap_ldap_alloc_init(dom, params);
|
||||||
|
if (!NT_STATUS_IS_OK(ret)) {
|
||||||
|
DEBUG(1, ("idmap_ldap_db_init: Failed to initialize alloc "
|
||||||
|
"subsystem: %s\n", nt_errstr(ret)));
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
talloc_free(config_option);
|
talloc_free(config_option);
|
||||||
return NT_STATUS_OK;
|
return NT_STATUS_OK;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user