Samba : Testing

Testing and Troubleshooting

See Chapter 15 section: Sharing with Windows: Samba, in Linux System Administration

The smbclient command used to connect to the local host:

smbclient -L localhost

Make sure basic networking is running:

ifconfig

Check that your firewall allows this traffic: see the System Settings > Security Level utility.

If necessary, flush your firewall rules:

iptables -F

Check that user names and passwords are set up correctly:

smbclient //localhost/tmp -U glenn

Test your share parameters:

testparm