diff options
Diffstat (limited to 'source/param/loadparm.c')
-rw-r--r-- | source/param/loadparm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index f88361f7abe..335995b0dd2 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -3881,4 +3881,13 @@ BOOL is_netbios_alias_or_name(char *name) return False; } +/*********************************************************** + Allow daemons such as winbindd to fix their logfile name. +************************************************************/ +void lp_set_logfile(const char *name) +{ + extern pstring debugf; + pstrcpy(Globals.szLogFile, name); + pstrcpy(debugf, name); +} |