[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE : how to generate passwords?
Thanks a lot that worked. Now I just need to find a way to create the
Samba lmPassword and ntPassword...
Jean-Rene Cormier
-----Message d'origine-----
De : owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] De la part de Umesha
Balasubramaniam
Envoyé : 19 mars, 2002 16:11
À : Jean-Rene Cormier
Cc : openldap-software@OpenLDAP.org
Objet : Re: how to generate passwords?
Jean-Rene Cormier wrote:
I?ve set up OpenLDAP to do user authentication for a server and now I?m
trying to make a script so user could change their password from the web
in PHP but I can generate the password using the crypt function in PHP
and putting {crypt}whateverpassword in the userPassword attribute and I
can log in using SSH but I can?t bind using the script I made anymore?
Anybody could help me with a way to generate passwords in PHP? And also
how do you generate password for the lmPassword and ntPassword? Thanks
Jean-Rene Cormier
$crypt_userpassword = shell_exec("/usr/sbin/slappasswd -h {crypt} -s
$userpassword");
-umesh