Based orginally by work by Kai, this patch moves our NT_TOKEN generation into
authorAndrew Bartlett <abartlet@samba.org>
Tue, 20 Aug 2002 01:54:28 +0000 (01:54 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 20 Aug 2002 01:54:28 +0000 (01:54 +0000)
commit8674440d81f703cb59979426c92ed54de8e5f2ed
tree033da6bfa721b02c1a087ee478d3593997f30e2a
parent03615599919f94c5ed56e9824343b02f4f3e0b71
Based orginally by work by Kai, this patch moves our NT_TOKEN generation into
our authenticaion code - removing some of the duplication from the current
code.

This also gets us *much* closer to supporting a real SAM backend, becouse the
SAM can give us the right info then.

This also changes our service.c code, so that we do a VUID (rather than uid)
cache on the connection struct, and do full NT ACL/NT_TOKEN checks (or cached
equivilant) on every packet, for the same r or rw mode the whole share was open
for.

Andrew Bartlett
(This used to be commit d8122cee059fc7098bfa7e42e638a9958b3ac902)
14 files changed:
source3/auth/auth_builtin.c
source3/auth/auth_sam.c
source3/auth/auth_server.c
source3/auth/auth_util.c
source3/auth/auth_winbind.c
source3/include/local.h
source3/include/smb.h
source3/rpc_server/srv_pipe.c
source3/rpc_server/srv_srvsvc_nt.c
source3/smbd/conn.c
source3/smbd/password.c
source3/smbd/service.c
source3/smbd/sesssetup.c
source3/smbd/uid.c