Kill off another ugly wart from the side of the passdb subsystem.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 20 Jan 2002 13:26:31 +0000 (13:26 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 20 Jan 2002 13:26:31 +0000 (13:26 +0000)
commit32101155d4a0c80faf392f56a6baa7b91847dd99
treef5aea9ed9913002f0a0932f7b7e7e8e0dda25684
parent3871e970b58b917381f9bd68a7cee2c5c64332a9
Kill off another ugly wart from the side of the passdb subsystem.

This time its the pdb_getsampwuid() function - which was only being used by the
SAMR rpc subsystem to gain a 'user session key'.  This 'user session key' is
actually generated at login time, and the other changes here simply move that
data around.

This also means that (when I check some details) we will be able to use the
user session key, even when we are not actually the DC, becouse its one of the
components of the info3 struct returned on logon.

Andrew Bartlett
(This used to be commit 799ac01fe08a338e4e94289f5d6767ebf905c1fa)
source3/include/auth.h
source3/include/ntdomain.h
source3/include/smb.h
source3/passdb/passdb.c
source3/rpc_server/srv_pipe.c
source3/rpc_server/srv_pipe_hnd.c
source3/rpc_server/srv_samr_nt.c
source3/smbd/password.c