svn commit: samba r3923 - in branches/SAMBA_3_0/source/param: .

jerry at samba.org jerry at samba.org
Tue Nov 23 14:52:57 GMT 2004


Author: jerry
Date: 2004-11-23 14:52:56 +0000 (Tue, 23 Nov 2004)
New Revision: 3923

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3923

Log:
BUG 2073: fall back to smb_name if current_user_info is not available in lp_file_list_changed()
Modified:
   branches/SAMBA_3_0/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_3_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0/source/param/loadparm.c	2004-11-23 12:34:11 UTC (rev 3922)
+++ branches/SAMBA_3_0/source/param/loadparm.c	2004-11-23 14:52:56 UTC (rev 3923)
@@ -2695,7 +2695,7 @@
 		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)));



More information about the samba-cvs mailing list