summaryrefslogtreecommitdiff
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
commit0a89940df5255a3921f81721a627610967fe2698 (patch)
tree8fc7b4b6ce40fc1d4cfb45124ae0df952310f7a3
parent4f1cc7b4958f06a54da92c82f19fba61e76d25b8 (diff)
downloadsamba-0a89940df5255a3921f81721a627610967fe2698.tar.gz
samba-0a89940df5255a3921f81721a627610967fe2698.tar.bz2
samba-0a89940df5255a3921f81721a627610967fe2698.zip
Ensure invalidate_vuid() deletes any ntlmssp state.
Jeremy. (This used to be commit b41799c351c72b268ef094047a51766747671280)
-rw-r--r--source3/smbd/password.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 687b67950a..80eba562c5 100644
--- a/source3/smbd/password.c
+++ b/source3/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