How to set Samba log file names.
Gerald Carter
jerry at samba.org
Mon Jan 21 12:44:06 GMT 2002
On Sun, 20 Jan 2002, Joel Hammer wrote:
> Edit the source files and recompile.
>
> OR
>
> You could edit the binary. There is only one occurrence of log.smbd
> in the binary smbd. Use vi -b or some other editor to fix that up.
> Ditto, nmbd. I have found this works well in other programs, like
> netscape. Just make sure you don't add or delete any bytes. This will
> be the easiest way, most likely.
>
> OR
>
> You could make log.smbd a symbolic link pointing to smbd.log. To get the
> offensive names out of sight, you could use the -l option (see smbd -h
> and nmbd -h) to change the base name for the log directory to some place
> where you will never have to see them.
smbd -l /var/log/samba/smbd.log
or fix the source and recompile... :-)
chau, jerry
---------------------------------------------------------------------
Hewlett-Packard http://www.hp.com
SAMBA Team http://www.samba.org
-- http://www.plainjoe.org
"Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--
More information about the samba
mailing list