From 1000b717a8191eb7b58a91e631f902653e63e5ff Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 18 Nov 2002 03:11:59 +0000 Subject: 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 d664e6b4d20d545b31910666d9cea7384fd40a73) --- source3/smbd/service.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/smbd') 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