diff options
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/wb_async_helpers.c | 3 | ||||
-rw-r--r-- | source4/winbind/wb_connect_lsa.c | 6 | ||||
-rw-r--r-- | source4/winbind/wb_connect_sam.c | 6 | ||||
-rw-r--r-- | source4/winbind/wb_init_domain.c | 3 |
4 files changed, 6 insertions, 12 deletions
diff --git a/source4/winbind/wb_async_helpers.c b/source4/winbind/wb_async_helpers.c index f6c61c8c36..330a6b4534 100644 --- a/source4/winbind/wb_async_helpers.c +++ b/source4/winbind/wb_async_helpers.c @@ -247,8 +247,7 @@ static void get_schannel_creds_recv_pipe(struct composite_context *creq) if (!composite_is_ok(c)) return; creq = dcerpc_bind_auth_none_send(state, state->p, - DCERPC_NETLOGON_UUID, - DCERPC_NETLOGON_VERSION); + &dcerpc_table_netlogon); composite_continue(c, creq, get_schannel_creds_recv_anonbind, c); } diff --git a/source4/winbind/wb_connect_lsa.c b/source4/winbind/wb_connect_lsa.c index 9443ef0dc7..76f75eb0a4 100644 --- a/source4/winbind/wb_connect_lsa.c +++ b/source4/winbind/wb_connect_lsa.c @@ -95,8 +95,7 @@ static void init_lsa_recv_pipe(struct composite_context *ctx) switch (state->auth_type) { case DCERPC_AUTH_TYPE_NONE: ctx = dcerpc_bind_auth_none_send(state, state->lsa_pipe, - DCERPC_LSARPC_UUID, - DCERPC_LSARPC_VERSION); + &dcerpc_table_lsarpc); composite_continue(state->ctx, ctx, init_lsa_recv_anon_bind, state); break; @@ -108,8 +107,7 @@ static void init_lsa_recv_pipe(struct composite_context *ctx) } state->lsa_pipe->conn->flags |= (DCERPC_SIGN | DCERPC_SEAL); ctx = dcerpc_bind_auth_send(state, state->lsa_pipe, - DCERPC_LSARPC_UUID, - DCERPC_LSARPC_VERSION, + &dcerpc_table_lsarpc, state->creds, state->auth_type, NULL); composite_continue(state->ctx, ctx, init_lsa_recv_auth_bind, diff --git a/source4/winbind/wb_connect_sam.c b/source4/winbind/wb_connect_sam.c index b5511a1a12..e3b9c82310 100644 --- a/source4/winbind/wb_connect_sam.c +++ b/source4/winbind/wb_connect_sam.c @@ -102,8 +102,7 @@ static void connect_samr_recv_pipe(struct composite_context *ctx) switch (state->auth_type) { case DCERPC_AUTH_TYPE_NONE: ctx = dcerpc_bind_auth_none_send(state, state->samr_pipe, - DCERPC_SAMR_UUID, - DCERPC_SAMR_VERSION); + &dcerpc_table_samr); composite_continue(state->ctx, ctx, connect_samr_recv_anon_bind, state); break; @@ -115,8 +114,7 @@ static void connect_samr_recv_pipe(struct composite_context *ctx) } state->samr_pipe->conn->flags |= (DCERPC_SIGN | DCERPC_SEAL); ctx = dcerpc_bind_auth_send(state, state->samr_pipe, - DCERPC_SAMR_UUID, - DCERPC_SAMR_VERSION, + &dcerpc_table_samr, state->creds, state->auth_type, NULL); composite_continue(state->ctx, ctx, diff --git a/source4/winbind/wb_init_domain.c b/source4/winbind/wb_init_domain.c index 07126dd04f..8b49ed7397 100644 --- a/source4/winbind/wb_init_domain.c +++ b/source4/winbind/wb_init_domain.c @@ -216,8 +216,7 @@ static void init_domain_recv_netlogonpipe(struct composite_context *ctx) state->domain->netlogon_pipe->conn->flags |= (DCERPC_SIGN | DCERPC_SEAL); ctx = dcerpc_bind_auth_send(state, state->domain->netlogon_pipe, - DCERPC_NETLOGON_UUID, - DCERPC_NETLOGON_VERSION, + &dcerpc_table_netlogon, state->domain->schannel_creds, DCERPC_AUTH_TYPE_SCHANNEL, NULL); |