I am running RedHat 9 and samba. I need to be able to set one password for each user and sync them with ssh, web, unix password. i.e. When I change samba pass, it changes unix, ftp, etc. Is this possible with samba? I saw that it is if you are running windows and then you can change the unix pass via samba. Is this possible when running linux. I just want to easily administer my users. I have a web cgi script to change the unix password which can be modifed to change samba pass. This would allow users to change all their passwords in one place. Any help is much appreciated. Merle
On Tue, 2004-02-17 at 20:00, Merle Reine wrote:> I am running RedHat 9 and samba. I need to be able to set one password > for each user and sync them with ssh, web, unix password. > > i.e. When I change samba pass, it changes unix, ftp, etc. Is this > possible with samba? I saw that it is if you are running windows and > then you can change the unix pass via samba. Is this possible when > running linux. I just want to easily administer my users. I have a web > cgi script to change the unix password which can be modifed to change > samba pass. This would allow users to change all their passwords in one > place.---- since it's under script control, why don't you 'cache' the password and then submit it to /usr/bin/passwd & /usr/bin/smbpasswd via your program? Craig
Hi, depending on your setup ( Ldap or tdbsam....smbpasswd ) there are different ways, the idea of the webfrontend is one way but sync passwords with pam modules the other so the users can change there passwords with cntrl - alt delete like it is usual in windows, i got it to work with ldap too. ( windows gives failure messages but the password got really changed ) Best Regards ----- Original Message ----- From: "Merle Reine" <merle.reine@lindows.com> To: <samba@lists.samba.org> Sent: Wednesday, February 18, 2004 4:00 AM Subject: [Samba] changing unix password with samba> I am running RedHat 9 and samba. I need to be able to set one password > for each user and sync them with ssh, web, unix password. > > i.e. When I change samba pass, it changes unix, ftp, etc. Is this > possible with samba? I saw that it is if you are running windows and > then you can change the unix pass via samba. Is this possible when > running linux. I just want to easily administer my users. I have a web > cgi script to change the unix password which can be modifed to change > samba pass. This would allow users to change all their passwords in one > place. > > Any help is much appreciated. > > Merle > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Thanks for all your suggestions. I finally figured it out by running smbpasswd as a non root user. It then syncs the unix password. We are a linux only shop and not a windows machine to be found anywhere. The web script I found to change the smbpasswd via the web can be downloaded here: http://www.unicom.com/sw/web-chpass/ Worked like a charm and requires oldpasswd and new passwd. By the way, why are any of you still using windows? Linux is free, faster, more secure, more stable, blah, blah, blah. Just my 2 cents. Thanks again. -----Original Message----- From: rruegner [mailto:robowarp@gmx.de] Sent: Wednesday, February 18, 2004 11:59 AM To: Merle Reine; samba@lists.samba.org Subject: Re: [Samba] changing unix password with samba Hi, depending on your setup ( Ldap or tdbsam....smbpasswd ) there are different ways, the idea of the webfrontend is one way but sync passwords with pam modules the other so the users can change there passwords with cntrl - alt delete like it is usual in windows, i got it to work with ldap too. ( windows gives failure messages but the password got really changed ) Best Regards ----- Original Message ----- From: "Merle Reine" <merle.reine@lindows.com> To: <samba@lists.samba.org> Sent: Wednesday, February 18, 2004 4:00 AM Subject: [Samba] changing unix password with samba> I am running RedHat 9 and samba. I need to be able to set onepassword> for each user and sync them with ssh, web, unix password. > > i.e. When I change samba pass, it changes unix, ftp, etc. Is this > possible with samba? I saw that it is if you are running windows and > then you can change the unix pass via samba. Is this possible when > running linux. I just want to easily administer my users. I have aweb> cgi script to change the unix password which can be modifed to change > samba pass. This would allow users to change all their passwords inone> place. > > Any help is much appreciated. > > Merle > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >