winbind: Replace winbind_event_context with server_event_context
[amitay/samba.git] / source3 / winbindd / idmap_ldap.c
index 39aa8330735d23648aeea69aa5b676f0bb4590cd..6765dfc217a030b75620131490c1824035e655e6 100644 (file)
@@ -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));