git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76a1bcd
)
r3923: BUG 2073: fall back to smb_name if current_user_info is not available in lp_fi...
author
Gerald Carter
<jerry@samba.org>
Tue, 23 Nov 2004 14:52:56 +0000
(14:52 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:53:24 +0000
(10:53 -0500)
(This used to be commit
b0e44b11b36dcd89a8c825911efadbeeac9faab5
)
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index b8e5f88efc52af256271ead17a60152ca04e588c..d5069e68363fda0474dd8dd1c76918074b92a06f 100644
(file)
--- 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)));