s3-auth Use *unix_token rather than utok in struct auth3_session_info
authorAndrew Bartlett <abartlet@samba.org>
Fri, 15 Jul 2011 04:59:14 +0000 (14:59 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 19 Jul 2011 23:17:10 +0000 (09:17 +1000)
commit6d741e918f145c6ec62c22358aabc8162db108fd
tree4d562524b2ff71892911331d707e23045984b0d3
parentf16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31
s3-auth Use *unix_token rather than utok in struct auth3_session_info

This brings this structure one step closer to the struct auth_session_info.

A few SMB_ASSERT calls are added in some key places to ensure that
this pointer is initialised, to make tracing any bugs here easier in
future.

NOTE: Many of the users of this structure should be reviewed, as unix
and NT access checks are mixed in a way that should just be done using
the NT ACL.  This patch has not changed this behaviour however.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
26 files changed:
source3/auth/auth_util.c
source3/auth/server_info.c
source3/include/auth.h
source3/lib/afs.c
source3/lib/substitute.c
source3/modules/vfs_expand_msdfs.c
source3/modules/vfs_fake_perms.c
source3/modules/vfs_full_audit.c
source3/modules/vfs_recycle.c
source3/printing/nt_printing.c
source3/printing/printing.c
source3/rpc_server/dfs/srv_dfs_nt.c
source3/rpc_server/epmapper/srv_epmapper.c
source3/rpc_server/lsa/srv_lsa_nt.c
source3/rpc_server/samr/srv_samr_nt.c
source3/rpc_server/spoolss/srv_spoolss_nt.c
source3/rpc_server/srvsvc/srv_srvsvc_nt.c
source3/smbd/connection.c
source3/smbd/lanman.c
source3/smbd/msg_idmap.c
source3/smbd/password.c
source3/smbd/reply.c
source3/smbd/service.c
source3/smbd/session.c
source3/smbd/trans2.c
source3/smbd/uid.c