summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-02-14 18:06:16 -0800
committerJeremy Allison <jra@samba.org>2008-02-14 18:06:16 -0800
commitb41799c351c72b268ef094047a51766747671280 (patch)
treeccd73c3fd26fa5318237a6e606b561f0652f1354 /source/smbd
parentb7628f3a47166791db4cd6451d52ea3881a45bed (diff)
downloadsamba-b41799c351c72b268ef094047a51766747671280.tar.gz
samba-b41799c351c72b268ef094047a51766747671280.tar.xz
samba-b41799c351c72b268ef094047a51766747671280.zip
Ensure invalidate_vuid() deletes any ntlmssp state.
Jeremy.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/password.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/smbd/password.c b/source/smbd/password.c
index 687b67950aa..80eba562c54 100644
--- a/source/smbd/password.c
+++ b/source/smbd/password.c
@@ -121,6 +121,10 @@ void invalidate_vuid(uint16 vuid)
data_blob_free(&vuser->session_key);
+ if (vuser->auth_ntlmssp_state) {
+ auth_ntlmssp_end(&vuser->auth_ntlmssp_state);
+ }
+
DLIST_REMOVE(validated_users, vuser);
/* clear the vuid from the 'cache' on each connection, and