diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/uid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index fb83e724b8..c181b9a00f 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -121,6 +121,7 @@ BOOL become_user(connection_struct *conn, uint16 vuid) return False; if (conn->force_user || + conn->admin_user || lp_security() == SEC_SHARE || !(vuser) || (vuser->guest)) { uid = conn->uid; |