[Samba] Password woes...
Steve Morley
steve at morleys.org
Sun Nov 24 20:31:01 GMT 2002
Hi Again,
> it's fairly easy to keep the passwords in sync...
> just set up samba to change the unix passwords with the "unix password
> chat" stuff in smb.conf
Okay, I see that this stuff is defaulted to being configured when I testparm
so that's cool...
> use pam_smbpass to make pam update the samba password when the unix
> password is updated.
Ahhh.. How do I do this part? The docs seems to refer to a pam configuration
file that I can't find in the same location. I'm using FreeBSD 4.7, but all
the docs seems to assume Linux :(
> you can script add the users with smbpasswd -a but they'll all have to
> set their own passwords.
Based on what you said above though, shouldn't I be able to port over the
BSD master.passwd file (this works for the UNIX side of things) and then
using pam_smbpass sync things up? There's a few hundred users...
> you must have been using unencrypted passwords...
yeah, back then we were using mostly 95 machines, so I went with plain text.
> I strongly suggest using encrypted passwords but i think it is still
> possible to use unencrypted passwords (and no smbpasswd) with 2.2.7
> I'm not sure about that, and I don't know how to do it.
Yes, I'm using encrypted ones with the current configuration, and it works,
except that I need to manually add users with the smbpasswd command right now.
So, all I need is the details on syncing the UNIX passwd with SAMBA via
pam_smbpass. I was really hoping to get the box installed today so that the
students were using it tomorrow, but if I can't get this figured out, I'll be
eating crow until I can.
Any further help would be most appreciated.
Steve
More information about the samba
mailing list