diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-10-10 15:58:24 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-10 23:23:07 +0200 |
commit | b787b6e1bd70f90702568fa4503c1d2e6ca0a59e (patch) | |
tree | 2cc43290e8d0e138d960591ac96c36268a724f17 /source3 | |
parent | af24591a20c7412862c74f7e088e9d59bf667309 (diff) | |
download | samba-b787b6e1bd70f90702568fa4503c1d2e6ca0a59e.tar.gz samba-b787b6e1bd70f90702568fa4503c1d2e6ca0a59e.tar.bz2 samba-b787b6e1bd70f90702568fa4503c1d2e6ca0a59e.zip |
libcli/cldap: don't pass tevent_context to cldap_socket_init()
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/cldap.c | 2 | ||||
-rw-r--r-- | source3/nmbd/nmbd_processlogon.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/libads/cldap.c b/source3/libads/cldap.c index 03fa17c26f..4f725a093e 100644 --- a/source3/libads/cldap.c +++ b/source3/libads/cldap.c @@ -59,7 +59,7 @@ bool ads_cldap_netlogon(TALLOC_CTX *mem_ctx, /* * as we use a connected udp socket */ - status = cldap_socket_init(mem_ctx, NULL, NULL, dest_addr, &cldap); + status = cldap_socket_init(mem_ctx, NULL, dest_addr, &cldap); TALLOC_FREE(dest_addr); if (!NT_STATUS_IS_OK(status)) { DEBUG(2,("Failed to create cldap socket to %s: %s\n", diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c index f00a8d8e16..43ffd726c6 100644 --- a/source3/nmbd/nmbd_processlogon.c +++ b/source3/nmbd/nmbd_processlogon.c @@ -120,8 +120,7 @@ bool initialize_nmbd_proxy_logon(void) } /* we create a connected udp socket */ - status = cldap_socket_init(ctx, nmbd_event_context(), NULL, - server_addr, &ctx->cldap_sock); + status = cldap_socket_init(ctx, NULL, server_addr, &ctx->cldap_sock); TALLOC_FREE(server_addr); if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(ctx); |