r22020: Make it more clear that both the vuser struct and it's contents are
authorAndrew Bartlett <abartlet@samba.org>
Mon, 2 Apr 2007 03:46:13 +0000 (03:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:03 +0000 (12:19 -0500)
commitfb3835846ef89a632230ff808259dad1cddc05c0
tree4e06c7b8a1b1d106a7c4e6e40a5d16b817c148cb
parent074c1eb0ea84ec5d9ebb95f5604d8b0acee7d4ec
r22020: Make it more clear that both the vuser struct and it's contents are
talloc_free()'ed at the end of a session.

Rework the passwd cache code to use talloc_unlink and
talloc_reference, to more carefully manage the cache.

Andrew Bartlett
(This used to be commit e3e0ec25e67308de314aa61852905ee42aa2c8fe)
source3/auth/auth_sam.c
source3/auth/auth_util.c
source3/include/smb.h
source3/lib/util_pw.c
source3/smbd/password.c
source3/smbd/session.c