mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
Ensure invalidate_vuid() deletes any ntlmssp state.
Jeremy.
This commit is contained in:
parent
b7628f3a47
commit
b41799c351
@ -121,6 +121,10 @@ void invalidate_vuid(uint16 vuid)
|
|||||||
|
|
||||||
data_blob_free(&vuser->session_key);
|
data_blob_free(&vuser->session_key);
|
||||||
|
|
||||||
|
if (vuser->auth_ntlmssp_state) {
|
||||||
|
auth_ntlmssp_end(&vuser->auth_ntlmssp_state);
|
||||||
|
}
|
||||||
|
|
||||||
DLIST_REMOVE(validated_users, vuser);
|
DLIST_REMOVE(validated_users, vuser);
|
||||||
|
|
||||||
/* clear the vuid from the 'cache' on each connection, and
|
/* clear the vuid from the 'cache' on each connection, and
|
||||||
|
Loading…
Reference in New Issue
Block a user