Debugging-Specific Operations
Samba-3.x permits debugging (logging) of specific functional components without unnecessarily
cluttering the log files with detailed logs for all operations. An example configuration to
achieve this is shown in:
log level = 0 tdb:3 passdb:5 auth:4 vfs:2
|
max log size = 0
|
log file = /var/log/samba/%U.%m.log
|
This will cause the level of detail to be expanded to the debug class (log level) passed to
each functional area per the value shown above. The first value passed to the
log level
of 0 means turn off all unnecessary debugging except the debug classes set for
the functional areas as specified. The table shown in
Debuggable Functions
may be used to attain very precise analysis of each SMB operation Samba is conducting.
Table39.1.Debuggable Functions
Function Name |
Function Name |
all |
passdb |
tdb |
sam |
printdrivers |
auth |
lanman |
winbind |
smb |
vfs |
rpc_parse |
idmap |
rpc_srv |
quota |
rpc_cli |
acls |
|