From 0a89940df5255a3921f81721a627610967fe2698 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 14 Feb 2008 18:06:16 -0800 Subject: Ensure invalidate_vuid() deletes any ntlmssp state. Jeremy. (This used to be commit b41799c351c72b268ef094047a51766747671280) --- source3/smbd/password.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/smbd/password.c') 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 -- cgit