From ae94f2eaa5bf01e0f4b40883b0782ae3fa1086d9 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 18 Nov 2002 06:12:47 +0000 Subject: 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) --- source3/smbd/service.c | 3 +++ 1 file changed, 3 insertions(+) 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... */ -- cgit