Hi,
I've found that
[Global]
encrypt passwords = YES|NO
setting is a good starting point for debug.
WIN95/98 Usually has encryption Turned Off
WIN2000 Has encryption turned on. If you can't get authenticated, try toggling on and off password encryption.
I suggest creating a plain vanilla smb.conf
to debug with rather than the verbose example script provided.
Try This smb.conf
[global]
encrypt passwords = No
workgroup = workgroup
[homes]
Make sure the same username and password exists identically in WIN, Linux, AND SMB Password File! Make sure the workgroup names are the same, WIN goes burserk handling multi workgroups.
Browsing the Windows Network (getting a browse list from the Master) does not require authentication! In fact supplying a password may make it fail.
# smbclient -L <IP> or localhost
use the IP address in case there's something wrong with the WINS Name Service.
make sure there's a Master Browser Listed. If not, there's something screwy with the WIN box. If the network is WIN98 or older (No NT or WIN2000) you can safely make the samba server the master browser by setting the directives in the [global] section.
[global]
local master=yes
os level=65
domain master=yes
preferred master=yes
wins server=<IP>
MAKE SURE YOU RESTART THE SMB SERVICE AFTER ANY CHANGES TO smb.conf !
Then try your local samba server
$ smbclient //localhost/homes
You should be put in your home directory.
Then try your Windows box using one of it's resource names
$ smbclient //localhost/resource-name or
$ smbclient //IP-ADDRESS/resource-name
Good Luck
acamp@linuxonsite.com