summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-11-04 06:45:26 +0000
committerJeremy Allison <jra@samba.org>2000-11-04 06:45:26 +0000
commit5073d116431a03b2d6e00f529dd03c5c19264c33 (patch)
treee10f86eb8333d2e8d0ec6714e8a3acd2d19deb77
parentcbe839f35ccecb34ae7a0c0a732b9cd50e5aa34e (diff)
downloadsamba-5073d116431a03b2d6e00f529dd03c5c19264c33.tar.gz
samba-5073d116431a03b2d6e00f529dd03c5c19264c33.tar.bz2
samba-5073d116431a03b2d6e00f529dd03c5c19264c33.zip
Fix for admin user being ignored.
Jeremy. (This used to be commit f0dcc39d34202ed67d778ff40166856d4c2ad87b)
-rw-r--r--source3/smbd/uid.c1
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;