[Samba] Request for Feature: Debug IP List

Roland Hordos rolandhordos at tundraeng.com
Thu Nov 2 17:18:45 GMT 2006

It works!  Thank you Jeremy, extremely helpful!  I can see so many other
ways now to use the variable substitution for troubleshooting.

Not only that, but all changes to make this work were made entirely
"live" (no restart), not even a manual reload.  My logging was already
to individual IP, so I can tail the logs for only the systems I'm
concerned about and turn off the chatter for everyone else, getting an
unexpected performance gain from this setup as well!


-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org]
Sent: Thursday, November 02, 2006 6:04 AM
To: Roland Hordos
Cc: Samba List (E-mail)
Subject: Re: [Samba] Request for Feature: Debug IP List

On Wed, Nov 01, 2006 at 03:41:20PM -0700, Roland Hordos wrote:
> Hi,
> It would be very useful to have a parameter(s) that allows a list of
> addresses, for which verbose debugging takes place.  This would be
> extremely helpful for tracking odd cases that do not occur
> and for troubleshooting machine-specific issues.
> example smb.conf entries:
> debug ip list level = 10
> debug ip list =
> Ideally this would be available at a share definition level, but
> would be good too.
> Unless there's something I'm missing in the doc and google, current
> logging occurs at the indicated "log level" for all shares, all IPs.
> An example of another product where this has worked well for me is the
> CommuniGate groupware server and I crave this type of debugging for my
> current Samba issues.

Can't you do this with an include in your smb.conf ?

For exampple, in the global section :

include = /usr/local/samba/lib/ip_debug_%I.conf

and the create the file containing the line :

log level = 10

associated with the IP addresses you want more
debugging on ?


More information about the samba mailing list