Samba-tng PDC -- OpenLDAP -- UNIX password sync problem
I'm running samba-tng 2.6 on Linux 6.2 with OpenLDAP 1.2.11. I have a samba
PDC storing its password information
in LDAP. I'm also using the following pam modules: pam_ldap and nss_ldap.
The problem is that I really don't know a way to use the password sync
parameter and have it sync the UNIX
passwords in LDAP.
Everything works great if I keep the UNIX passwords in the password/shadow files
but when I migrate
them into LDAP the password sync is broken.
I tried using the password program parameter with a script but that did not
work:
password program = <path to program>/<program name> %u %o %n
I did not use the passwd chat parameter along with it.
Does anyone have any suggestions on how to sync my UNIX password along with the
samba passwords in LDAP?
Thanks,
--
Jody Haynes
----------------------------------------
iSun Networks, Inc.
Email: Jody.Haynes@isunnetworks.com
Website: www.isunnetworks.com
----------------------------------------
Gottfried Scheckenbach
2000-Sep-15 06:38 UTC
Samba-tng PDC -- OpenLDAP -- UNIX password sync problem
Jody,
I think, the easiest way is to register a shell script as passwd program
in Samba, which executes a ldapadd or ldappasswd to change the password
in OpenLDAP.
Hope this helps, regards
Gottfried
http://www.xtelligent.de/team/t_gosc.htm
--
_____________________________________________________
\ / Gottfried.Scheckenbach@xtelligent.de
\ / Consultant Open Systems <> Mobil 0172-6710891
\/
/\ Xtelligent IT Consulting GmbH
/ \ Am Kalkofen 8 <> D-61206 W?llstadt
/ \ Tel./Fax. 0-700-98355443 <> http://www.xtelligent.de