diff options
-rw-r--r-- | source3/smbd/proto.h | 2 | ||||
-rw-r--r-- | source3/smbd/uid.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 7321ca698f..e97a85d589 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -1092,8 +1092,6 @@ void reply_transs2(struct smb_request *req); bool change_to_guest(void); bool change_to_user(connection_struct *conn, uint16 vuid); -bool change_to_user_by_session(connection_struct *conn, - const struct auth_session_info *session_info); bool change_to_root_user(void); bool smbd_change_to_root_user(void); bool become_authenticated_pipe_user(struct auth_session_info *session_info); diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index 84cb61cd14..abafd36912 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -314,8 +314,8 @@ bool change_to_user(connection_struct *conn, uint16_t vuid) return change_to_user_internal(conn, session_info, vuid); } -bool change_to_user_by_session(connection_struct *conn, - const struct auth_session_info *session_info) +static bool change_to_user_by_session(connection_struct *conn, + const struct auth_session_info *session_info) { SMB_ASSERT(conn != NULL); SMB_ASSERT(session_info != NULL); |