Changeset 134 for branches/samba-3.0/source/rpc_client
- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- Location:
- branches/samba-3.0/source/rpc_client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/rpc_client/cli_netlogon.c
r44 r134 265 265 DOM_CHAL srv_chal_recv; 266 266 struct dcinfo *dc; 267 bool retried = false; 267 268 268 269 SMB_ASSERT(cli->pipe_idx == PI_NETLOGON); … … 286 287 fstr_sprintf( dc->mach_acct, "%s$", machine_account); 287 288 289 again: 288 290 /* Create the client challenge. */ 289 291 generate_random_buffer(clnt_chal_send.data, 8); … … 322 324 &clnt_chal_send, /* input. */ 323 325 &srv_chal_recv); /* output */ 326 327 /* we might be talking to NT4, so let's downgrade in that case and retry 328 * with the returned neg_flags - gd */ 329 330 if (NT_STATUS_EQUAL(result, NT_STATUS_ACCESS_DENIED) && !retried) { 331 retried = true; 332 goto again; 333 } 324 334 325 335 if (!NT_STATUS_IS_OK(result)) { -
branches/samba-3.0/source/rpc_client/cli_pipe.c
r124 r134 2597 2597 NTSTATUS *perr) 2598 2598 { 2599 uint32 neg_flags = NETLOGON_NEG_SELECT_AUTH2_FLAGS|NETLOGON_NEG_SCHANNEL;2599 uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS; 2600 2600 struct rpc_pipe_client *netlogon_pipe = NULL; 2601 2601 struct rpc_pipe_client *result = NULL; … … 2631 2631 NTSTATUS *perr) 2632 2632 { 2633 uint32 neg_flags = NETLOGON_NEG_SELECT_AUTH2_FLAGS|NETLOGON_NEG_SCHANNEL;2633 uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS; 2634 2634 struct rpc_pipe_client *netlogon_pipe = NULL; 2635 2635 struct rpc_pipe_client *result = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.