summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-11-18 06:12:47 +0000
committerJeremy Allison <jra@samba.org>2002-11-18 06:12:47 +0000
commitae94f2eaa5bf01e0f4b40883b0782ae3fa1086d9 (patch)
tree8b44e3c8de15b8ff8e86208c4a3485783da54754 /source3
parent9b3ad2d5536e135ed9e15f914315235250b42f9e (diff)
downloadsamba-ae94f2eaa5bf01e0f4b40883b0782ae3fa1086d9.tar.gz
samba-ae94f2eaa5bf01e0f4b40883b0782ae3fa1086d9.tar.bz2
samba-ae94f2eaa5bf01e0f4b40883b0782ae3fa1086d9.zip
Samba janitor... Merging tridge's change to 3.0. Original commit
message : the change in the way %U is handled to use current_user has broken some basic usages like 'include = smb.conf.%U' This changes fixes things again, by checking for reload after we setup current_user in tconx. (This used to be commit 64b2243ccd984e0d69d8bb7421d43f1f1f84b017)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 16e0ad4160..fe55345938 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -611,6 +611,9 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser,
*status = NT_STATUS_LOGON_FAILURE;
return NULL;
}
+
+ /* the %U substitution may have changed */
+ reload_services(True);
/* Remember that a different vuid can connect later without these checks... */