summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_ldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-11-17 11:35:19 +0100
committerJeremy Allison <jra@samba.org>2017-11-18 00:09:16 +0100
commit7e83d1489406cd53d72097e40bf02295c88ea61e (patch)
tree7f610cce56c77fcf3594b8c0751b1d3ee9e904ce /source3/winbindd/idmap_ldap.c
parentd27f38d35bf111a5c0a898a5ef8b7dd0b320da0d (diff)
downloadsamba-7e83d1489406cd53d72097e40bf02295c88ea61e.tar.gz
winbind: Replace winbind_event_context with server_event_context
There's no point in having two global event contexts BUG: https://bugzilla.samba.org/show_bug.cgi?id=13150 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
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 39aa8330735..6765dfc217a 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -455,7 +455,7 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom)
/* get_credentials deals with setting up creds */
- ret = smbldap_init(ctx, winbind_event_context(), ctx->url,
+ ret = smbldap_init(ctx, server_event_context(), ctx->url,
false, NULL, NULL, &ctx->smbldap_state);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(1, ("ERROR: smbldap_init (%s) failed!\n", ctx->url));