summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-11-18 03:11:59 +0000
committerAndrew Tridgell <tridge@samba.org>2002-11-18 03:11:59 +0000
commit1000b717a8191eb7b58a91e631f902653e63e5ff (patch)
treef0ff75d281ff41b76ebffd6c9ea08dd0ce2b13d8 /source3/smbd
parent4cb48b91548571e1a40cda3043a55636a18aa978 (diff)
downloadsamba-1000b717a8191eb7b58a91e631f902653e63e5ff.tar.gz
samba-1000b717a8191eb7b58a91e631f902653e63e5ff.tar.bz2
samba-1000b717a8191eb7b58a91e631f902653e63e5ff.zip
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)
Diffstat (limited to 'source3/smbd')
-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... */