s3-smbd: Added a become_user_by_session() function.
authorAndreas Schneider <asn@samba.org>
Fri, 1 Apr 2011 09:54:49 +0000 (11:54 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 11 Apr 2011 20:10:22 +0000 (22:10 +0200)
commitb137156acbf7c39c86f306100cccc65b441a3209
tree2140b16b5ed46b3e56eb0d4edd64b0069f5a7472
parent27cb378283f2cf072151f1c624837741f40c298a
s3-smbd: Added a become_user_by_session() function.

This uses the provided session_info instead of searching the user via
the vuid. This is useful to work with fake connnection you need to
create if someone connects directly to a rpc service.

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/smbd/proto.h
source3/smbd/uid.c