1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r12554: get rid of the pesky NTLMSSP warnings about being called after processing is finished

This commit is contained in:
Andrew Tridgell 2005-12-28 22:47:22 +00:00 committed by Gerald (Jerry) Carter
parent b1c8adcfe1
commit ca6ae1afa0
2 changed files with 6 additions and 5 deletions

View File

@ -644,7 +644,7 @@ static NTSTATUS dcesrv_alter_new_context(struct dcesrv_call_state *call, uint32_
/*
handle a bind request
handle a alter context request
*/
static NTSTATUS dcesrv_alter(struct dcesrv_call_state *call)
{

View File

@ -230,7 +230,8 @@ BOOL dcesrv_auth_alter_ack(struct dcesrv_call_state *call, struct ncacn_packet *
/* on a pure interface change there is no auth_info structure
setup */
if (!call->conn->auth_state.auth_info) {
if (!call->conn->auth_state.auth_info ||
dce_conn->auth_state.auth_info->credentials.length == 0) {
return True;
}
@ -258,10 +259,10 @@ BOOL dcesrv_auth_alter_ack(struct dcesrv_call_state *call, struct ncacn_packet *
dce_conn->auth_state.auth_info->auth_pad_length = 0;
dce_conn->auth_state.auth_info->auth_reserved = 0;
return True;
} else {
DEBUG(2, ("Failed to finish dcesrv auth alter_ack: %s\n", nt_errstr(status)));
return True;
}
DEBUG(2, ("Failed to finish dcesrv auth alter_ack: %s\n", nt_errstr(status)));
return False;
}
/*