diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-07-23 02:56:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:16 -0500 |
commit | dc25ec5ce736b21cdcccddff12e6c9d9c0706df8 (patch) | |
tree | 4d2cad905540139f8575c7cfb3de34a54dc076e5 /source4/winbind/wb_sam_logon.c | |
parent | ae0115d8dbf05c52c631ea915f036a2129cd033e (diff) | |
download | samba-dc25ec5ce736b21cdcccddff12e6c9d9c0706df8.tar.gz samba-dc25ec5ce736b21cdcccddff12e6c9d9c0706df8.tar.bz2 samba-dc25ec5ce736b21cdcccddff12e6c9d9c0706df8.zip |
r23995: Work to allow mimir's libnet code to be called from winbind.
We now setup a libnet_ctx for each domain. We should then be able to
replace/merge some more of the winbind code with libnet calls,
referencing domain->libnet_ctx.
Andrew Bartlett
(This used to be commit bad2dc14d704be59300f619c84694c11620559e0)
Diffstat (limited to 'source4/winbind/wb_sam_logon.c')
-rw-r--r-- | source4/winbind/wb_sam_logon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/winbind/wb_sam_logon.c b/source4/winbind/wb_sam_logon.c index 669d63f791..c9203c8bec 100644 --- a/source4/winbind/wb_sam_logon.c +++ b/source4/winbind/wb_sam_logon.c @@ -85,14 +85,14 @@ static void wb_sam_logon_recv_domain(struct composite_context *creq) s->ctx->status = wb_sid2domain_recv(creq, &domain); if (!composite_is_ok(s->ctx)) return; - s->creds_state = cli_credentials_get_netlogon_creds(domain->schannel_creds); + s->creds_state = cli_credentials_get_netlogon_creds(domain->libnet_ctx->cred); creds_client_authenticator(s->creds_state, &s->auth1); s->r.in.server_name = talloc_asprintf(s, "\\\\%s", dcerpc_server_name(domain->netlogon_pipe)); if (composite_nomem(s->r.in.server_name, s->ctx)) return; - s->r.in.computer_name = cli_credentials_get_workstation(domain->schannel_creds); + s->r.in.computer_name = cli_credentials_get_workstation(domain->libnet_ctx->cred); s->r.in.credential = &s->auth1; s->r.in.return_authenticator = &s->auth2; s->r.in.logon_level = s->req->in.logon_level; |