arc2v
01-05-2005, 02:13 PM
Hello,
I have a small computer lab running Samba, OpenLDAP, and NFS on a mixed RH9 and W2K network.
I have one central server that does authentication, LDAP administration, and Samba shares. There is another server doing dedicated file shares, but it is not important right now.
I have everything configured to allow the Windows users to change their password and it updates both the windows and Linux password fields in the LDAP database. On the LDAP server itself, I have PAM configured to allow the passwd program to change both the samba and linux passwords together.
However, on my client Linux machines, I have not been able to get this working. It can change the Linux password properly, but not the Samba one. This is due to Winbind pam module not being able to interface properly with a Samba server (but it can with a Win2k server).
So, I'm left with forcing my users to change their passwords on the server.
What I would like to do, though, is have the passwd "program" on the client machines somehow log into the server as the user, then run the passwd program there. Hopefully, it would be transparent to the users.
I seem to remember ssh or stunnel being able to do something like that, but I am by no means an expert on this. Any help or direction is appreciated.
thanks,
ac
I have a small computer lab running Samba, OpenLDAP, and NFS on a mixed RH9 and W2K network.
I have one central server that does authentication, LDAP administration, and Samba shares. There is another server doing dedicated file shares, but it is not important right now.
I have everything configured to allow the Windows users to change their password and it updates both the windows and Linux password fields in the LDAP database. On the LDAP server itself, I have PAM configured to allow the passwd program to change both the samba and linux passwords together.
However, on my client Linux machines, I have not been able to get this working. It can change the Linux password properly, but not the Samba one. This is due to Winbind pam module not being able to interface properly with a Samba server (but it can with a Win2k server).
So, I'm left with forcing my users to change their passwords on the server.
What I would like to do, though, is have the passwd "program" on the client machines somehow log into the server as the user, then run the passwd program there. Hopefully, it would be transparent to the users.
I seem to remember ssh or stunnel being able to do something like that, but I am by no means an expert on this. Any help or direction is appreciated.
thanks,
ac