Re: [Samba] Password woes...

2002-11-24 Thread Steve Morley
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Password woes...

2002-11-23 Thread Steve Morley
Hi All,

Moving up from 2.0.7 to 2.2.6 is taking it's toll, but I'm getting there...

Right now I'm stuck on the smbpasswd stuff.  With 2.0.7 I don't maintain
one (AFAIK).  All users have UNIX accounts on the old machine, and I'm porting
over the passwd file to this new one.  I have no idea what their passwords
are, and up till now, they simply change their UNIX passwd and SAMBA happily
uses it.

Why can't I, or how do I do this with 2.2.6?

TIA
Steve
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Password woes...

2002-11-23 Thread Bradley W. Langhorst
On Sat, 2002-11-23 at 22:54, Steve Morley wrote:
 Hi All,
 
 Moving up from 2.0.7 to 2.2.6 is taking it's toll, but I'm getting there...
 
 Right now I'm stuck on the smbpasswd stuff.  With 2.0.7 I don't maintain
 one (AFAIK).  All users have UNIX accounts on the old machine, and I'm porting
 over the passwd file to this new one.  I have no idea what their passwords
 are, and up till now, they simply change their UNIX passwd and SAMBA happily
 uses it.
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

use pam_smbpass to make pam update the samba password when the unix
password is updated.

you can script add the users with smbpasswd -a but they'll all have to
set their own passwords.

If you REALLY don't want users to have to do anything you could probably
crack the whole unix passwd database (if you're using cryped passwords)
in a week or two.
 
 Why can't I, or how do I do this with 2.2.6?
 
you must have been using unencrypted passwords...

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.

brad
-- 
Bradley W. Langhorst [EMAIL PROTECTED]

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba