mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Fix for admin user being ignored.
Jeremy. (This used to be commit f0dcc39d34202ed67d778ff40166856d4c2ad87b)
This commit is contained in:
parent
cbe839f35c
commit
5073d11643
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user