I setup my share right, followed all the instructions, set the /etc/pam.conf entry. Couldnâ€™t get into my share, and my password wouldnâ€™t work.
I found that you can test your PAM mapping like so:
smbutil login â€“c username
But that gave me:
Keychain entry not found.
Ok, had to do a little searchingâ€¦ found out that you can SET THE STORED PASSWORD FOR SMB! Duh! Why didnâ€™t I think of that in the first place? LOL!
All you need to do is this:
smbutil login username@server
It will ask you for a password and suddenly your login from windows will work! Nice!
Keep in mind, that is assuming your server is setup in workgroup mode, joined to your workgroup not the domain. I think you would just specify â€œusername@netbiosdomainâ€ in that case.