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)
commit799ac01fe08a338e4e94289f5d6767ebf905c1fa
treeb74353554607f980c23fdebb6ee4d205a0a3081b
parent6d0b3d051f8f74ea6235173a89e96f5934aff4f3
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
source/include/auth.h
source/include/ntdomain.h
source/include/smb.h
source/passdb/passdb.c
source/rpc_server/srv_pipe.c
source/rpc_server/srv_pipe_hnd.c
source/rpc_server/srv_samr_nt.c
source/smbd/password.c