summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_ldap.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-06-01 00:30:11 +0200
committerMichael Adam <obnox@samba.org>2011-06-01 01:43:23 +0200
commit74cd06b3dff42bda4dd0a0f3fd250a975d0258ed (patch)
tree31c70d7bd21fcd2155191a95c805a157e6b6b2c8 /source3/winbindd/idmap_ldap.c
parentdea3ef1ab689a3d01846147d2a83377b09335f8f (diff)
downloadsamba-74cd06b3dff42bda4dd0a0f3fd250a975d0258ed.tar.gz
samba-74cd06b3dff42bda4dd0a0f3fd250a975d0258ed.tar.bz2
samba-74cd06b3dff42bda4dd0a0f3fd250a975d0258ed.zip
s3:idmap_ldap: allow creation of ldap stored mappings for explicitly configured domains.
After the preparations, this is achieved by using idmap_ldap_allocate_id_internal() as get_new_id rw method instead of idmap_ldap_allocate_id().
Diffstat (limited to 'source3/winbindd/idmap_ldap.c')
-rw-r--r--source3/winbindd/idmap_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index 3148f64e5d..a9cb4fc3c2 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -484,7 +484,7 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom)
ctx->rw_ops = talloc_zero(ctx, struct idmap_rw_ops);
CHECK_ALLOC_DONE(ctx->rw_ops);
- ctx->rw_ops->get_new_id = idmap_ldap_allocate_id;
+ ctx->rw_ops->get_new_id = idmap_ldap_allocate_id_internal;
ctx->rw_ops->set_mapping = idmap_ldap_set_mapping;
ret = smbldap_init(ctx, winbind_event_context(), ctx->url,