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:
parent
b1c8adcfe1
commit
ca6ae1afa0
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user