summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-04-05 13:54:31 +0200
committerJeremy Allison <jra@samba.org>2011-04-11 22:10:21 +0200
commit27cb378283f2cf072151f1c624837741f40c298a (patch)
treec14027c2019d115b275b39854bf3fbeb56c44163 /source3/smbd/proto.h
parentd1ded271b6e8f8ff7f09c4830411e389d26b1b10 (diff)
downloadsamba-27cb378283f2cf072151f1c624837741f40c298a.tar.gz
samba-27cb378283f2cf072151f1c624837741f40c298a.tar.bz2
samba-27cb378283f2cf072151f1c624837741f40c298a.zip
s3-smbd: Added a change_to_user_by_session() function.
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index f4b2e5ef59..75fc5f8341 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -1050,6 +1050,8 @@ void reply_transs2(struct smb_request *req);
bool change_to_guest(void);
void conn_clear_vuid_cache(connection_struct *conn, uint16_t vuid);
bool change_to_user(connection_struct *conn, uint16 vuid);
+bool change_to_user_by_session(connection_struct *conn,
+ const struct auth_serversupplied_info *session_info);
bool change_to_root_user(void);
bool become_authenticated_pipe_user(struct pipes_struct *p);
bool unbecome_authenticated_pipe_user(void);