Proposal: set default debug filename to something useful
Florian Laws
florian at void.s.bawue.de
Sun Apr 4 14:01:09 GMT 1999
On Sun, Apr 04, 1999 at 05:03:21PM +1000, Tim Potter wrote:
>
> --- debug.c 1998/12/16 18:50:54 1.18
> +++ debug.c 1999/04/04 06:58:30
> @@ -81,7 +81,7 @@
> */
>
> FILE *dbf = NULL;
> -pstring debugf = "";
> +pstring debugf = "/var/adm/samba/log.smb";
> BOOL append_log = False;
[...]
>
> After thinking for a bit I realised that I put this change in to catch
> DEBUG() statements that occur before a connection has been made. This
> is pretty useful when you are mucking around with pre-connection
> stuff.
>
> Is there any particular reason why this is set to nothing? Perhaps it
> could be set to some default value or from the command line?
>
I think I at least it shouldn't be hard coded this way.
I shouln't it be set by a smb.conf or at least by a ./configure option?
Florian
More information about the samba-technical
mailing list