1829106 Members
2188 Online
109986 Solutions
New Discussion

smbpasswd

 
PVR
Valued Contributor

smbpasswd

I want the samba password changes to be synchronised with unix passwd and viceversa

Pl help..

Thanks
Don't give up. Try till success...
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: smbpasswd

Set up a centralized LDAP server to handle authentication for your entire ogranization.

First you need to decide whether that will be a Unix server or a Windows Server. Linux and HP-UX both have LDAP clients and can authenticate all but root and admin users with a central server.

Here is a document on how to do it with a centralized Windows LDAP server.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/J4269-90033/J4269-90033_top.html&con=/hpux/onlinedocs/J4269-90033/00/00/10-con.html&toc=/hpux/onlinedocs/J4269-90033/00/00/10-toc.html&searchterms=Windows%7c2000%7cConfiguration%7cLDAP&queryid=20040215-223607

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/J4269-90030/J4269-90030_top.html&con=/hpux/onlinedocs/J4269-90030/00/00/19-con.html&toc=/hpux/onlinedocs/J4269-90030/00/00/19-toc.html&searchterms=Windows%7c2000%7cConfiguration%7cLDAP&queryid=20040215-223607

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/J4269-90018/J4269-90018_top.html&con=/hpux/onlinedocs/J4269-90018/00/00/7-con.html&toc=/hpux/onlinedocs/J4269-90018/00/00/7-toc.html&searchterms=Windows%7c2000%7cConfiguration%7cLDAP&queryid=20040215-223607

If you have further questions, please ask, we're moving toward such a setup now.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Olivier Drouin
Trusted Contributor

Re: smbpasswd

Anybody has the answer for /etc/passwd and/or NIS ?
Jared Middleton
Frequent Advisor

Re: smbpasswd

I did this without too much trouble. After configuring SAMBA (I use Webmin), install pam_smbpass (0.7.5 or latest version from ftp://ftp.netexpress.net/pub/pam/RPMS/). Any time a users Unix password is changed, the samba password also gets changed to match.

-Jared