LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sync ldap and samba password with ldappasswd (http://www.linuxquestions.org/questions/linux-networking-3/sync-ldap-and-samba-password-with-ldappasswd-385364/)

paul_mat 11-21-2005 10:33 PM

sync ldap and samba password with ldappasswd
 
hi there,

i really want to be able to set the ldap passwords for my samba and OpenLDAP PDC via the command line.

at the moment i've found the ldappasswd command.

ldappasswd uid=root,ou=people,dc=fedora,dc=directory,dc=server -S -x -D cn=Manager,dc=fedora,dc=directory,dc=server -W

but that seams to only set the posix account password and not the samba password, can anyone tell me how to do this?

matarodi 11-21-2005 10:50 PM

I set it correctly.if you know more please see the following url:

www.nomis52.net

paul_mat 11-21-2005 10:55 PM

hi there, i looked at your website and i didn't see what i'm looking for.

i'm not looking for the smbpasswd -w password option if thats what you mean.

i'm making a ldap-add-user-script and i want to be able to set the sambaLMPassword, sambaNTPassword attributes.

but running the command listed above i can only change the, userPassword attribute.


All times are GMT -5. The time now is 02:15 AM.