I JUST got this to work on my samba server, logging in from win98 clients! It's not hard, but required lot's of research...
In your smb.conf:
[global]
workgroup = HOME
netbios name = LINUX
server string = Samba Server
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
domain logons = yes
logon script=logon.bat
printing = lprng
[netlogon]
comment = Initialization Scripts
path=/home/netlogon
read only =yes
public = no
writeable = no
guest ok = no
browseable = yes
locking = no
force create mode = 0644
force directory mode = 0755
[homes]
comment = Home Directories
path = /home/%u
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[public]
comment = Public Directory
path = /home/public
browseable = yes
writable = yes
guest ok = yes
create mask = 0777
force create mode = 0777
Create a \public folder & a \netlogon folder under your \home folder. Chmod of the netlogon folder to 0755. \public (0777) will be for all users on your network. Create a logon.bat file with a dos editor that has this:
net use p: \\linux\public -y
net use h: /home -y
I created a group called users, added my users to it & chown the logon.bat to root/users with chmod = 0740 (not sure if this was nessecery).
Restart samba.
On the windows side:
Open properties of network neighborhood, properties of client for microsoft network. Be sure you have logon to windows network domain selected. In the windows domain box: home (this corresponds with what you have in the 'workgroup = ' in the smb.conf above.
That should do it. Have fun. Let me know if this works for you.
Keith