1
0
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:
Jeremy Allison 2000-11-04 06:45:26 +00:00
parent cbe839f35c
commit 5073d11643

View File

@ -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;