[Samba] Request for Feature: Debug IP List

Jeremy Allison jra at samba.org
Thu Nov 2 13:04:18 GMT 2006


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 IP
> addresses, for which verbose debugging takes place.  This would be
> extremely helpful for tracking odd cases that do not occur consistently,
> and for troubleshooting machine-specific issues.
> 
> example smb.conf entries:
> 
> debug ip list level = 10
> debug ip list = 192.168.0.151 192.168.0.136
> 
> Ideally this would be available at a share definition level, but global
> 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 ?

Jeremy.


More information about the samba mailing list