From 5cd96ef0cfdc1b825e1834c6f22bd3ad8cfe8d2d Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 23 Nov 2004 14:52:56 +0000 Subject: r3923: BUG 2073: fall back to smb_name if current_user_info is not available in lp_file_list_changed() (This used to be commit b0e44b11b36dcd89a8c825911efadbeeac9faab5) --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index b8e5f88efc..d5069e6836 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2695,7 +2695,7 @@ BOOL lp_file_list_changed(void) time_t mod_time; pstrcpy(n2, f->name); - standard_sub_basic(current_user_info.smb_name, n2,sizeof(n2)); + standard_sub_basic( username, n2, sizeof(n2) ); DEBUGADD(6, ("file %s -> %s last mod_time: %s\n", f->name, n2, ctime(&f->modtime))); -- cgit