This section provides the procedure to verify the configuration of Samba software.
Perform this procedure from one node of the cluster.
phys-schost-1# samba-bin-directory/testparm > samba-configuration-directory/lib/smb.conf
phys-schost-1# samba-sbin-directory/winbindd \ -s samba-configuration-directory/lib/smb.conf phys-schost-1# getent passwd phys-schost-1# getent group
phys-schost-1# getent passwd samba-fault-monitor-user
This test must succeed. If you encounter problems, restart winbindd with debug information by using the -d 3 option. Then retest and observe the winbindd log file, which is located at samba-configuration-directory/logs/log.winbindd.
phys-schost-1# samba-sbin-directory/smbd \ -s samba-configuration-directory/lib/smb.conf -D
phys-schost-1# samba-sbin-directory/nmbd \ -s samba-configuration-directory/lib/smb.conf -D
phys-schost-1# samba-bin-directory/smbclient -N -L NetBIOS-name phys-schost-1# samba-bin-directory/smbclient '\\NetBIOS-name\scmondir' \ -U samba-fault-monitor-user -c 'pwd;exit'
This test must succeed. If you encounter problems, restart smbclient with debug information by using the -d 3 option.
Perform this step in the global zone only.
phys-schost-1# pkill -TERM -z zonename 'smbd|nmbd|winbindd'
Next Steps