r22020: Make it more clear that both the vuser struct and it's contents are
commite3e0ec25e67308de314aa61852905ee42aa2c8fe
authorAndrew Bartlett <abartlet@samba.org>
Mon, 2 Apr 2007 03:46:13 +0000 (2 03:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:03 +0000 (10 12:19 -0500)
treea3ea29a79a047b33fc08d5d2a9479c0627526818
parent6138be7e4a5eb57af4a024d749cb68168b8589fb
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
source/auth/auth_sam.c
source/auth/auth_util.c
source/include/smb.h
source/lib/util_pw.c
source/smbd/password.c
source/smbd/session.c