Perform this procedure on each node in the cluster.
phys-schost-N# grep daemon /etc/syslog.conf *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator
The following example output shows that daemon.debug is set.
phys-schost-N# grep daemon /etc/syslog.conf *.err;kern.debug;daemon.debug;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator
phys-schost-N# svcadm restart system-log
Edit the /opt/SUNWscsmb/instance/config file and set DEBUG= to either DEBUG=ALL or DEBUG=resource.
The samba or winbind subdirectory.
Enables debugging for all resources of the Samba or winbind component.
Enables debugging only for the specified resource.
The following example output shows a Samba configuration file with DEBUG set to ALL, to enable debugging on all Samba resources.
phys-schost-N# cat /opt/SUNWscsmb/samba/etc/config # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # #ident "@(#)config 1.1 06/03/21 SMI" # # Usage: # DEBUG=<RESOURCE_NAME> or ALL # DEBUG=ALL
Next Steps
To turn off debugging, reverse the steps in the previous procedure.