summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-04-20 17:04:33 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-04-20 17:04:33 +0200
commitc185e7a29c9d973a3916928903acc078c43b0d4f (patch)
tree7e1a49febb1a8ba77c1a6c43ef8f2337f45cdc3c /source3/winbindd
parent6c9caed48187a0d18becf59ab636af44cbe521b0 (diff)
downloadsamba-c185e7a29c9d973a3916928903acc078c43b0d4f.tar.gz
samba-c185e7a29c9d973a3916928903acc078c43b0d4f.tar.bz2
samba-c185e7a29c9d973a3916928903acc078c43b0d4f.zip
Fix to use modified cli_rpc_pipe_open_schannel_with_key API
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index e9cf05e90b..9cf4597595 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -2227,7 +2227,7 @@ NTSTATUS cm_connect_lsa(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx,
result = cli_rpc_pipe_open_schannel_with_key
(conn->cli, &ndr_table_lsarpc.syntax_id,
PIPE_AUTH_LEVEL_PRIVACY,
- domain->name, p_creds, &conn->lsa_pipe);
+ domain->name, &p_creds, &conn->lsa_pipe);
if (!NT_STATUS_IS_OK(result)) {
DEBUG(10,("cm_connect_lsa: failed to connect to LSA pipe for "
@@ -2373,7 +2373,7 @@ NTSTATUS cm_connect_netlogon(struct winbindd_domain *domain,
result = cli_rpc_pipe_open_schannel_with_key(
conn->cli, &ndr_table_netlogon.syntax_id,
- PIPE_AUTH_LEVEL_PRIVACY, domain->name, netlogon_pipe->dc,
+ PIPE_AUTH_LEVEL_PRIVACY, domain->name, &netlogon_pipe->dc,
&conn->netlogon_pipe);
/* We can now close the initial netlogon pipe. */