diff options
author | Gerald Carter <jerry@samba.org> | 2004-11-23 14:52:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:24 -0500 |
commit | 5cd96ef0cfdc1b825e1834c6f22bd3ad8cfe8d2d (patch) | |
tree | b5019c3576513bcb8279175e7b151cc236e88687 | |
parent | 76a1bcd6557c8c4f95f7fe3a87a3561806ca54a0 (diff) | |
download | samba-5cd96ef0cfdc1b825e1834c6f22bd3ad8cfe8d2d.tar.gz samba-5cd96ef0cfdc1b825e1834c6f22bd3ad8cfe8d2d.tar.bz2 samba-5cd96ef0cfdc1b825e1834c6f22bd3ad8cfe8d2d.zip |
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)
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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))); |