Gregory Chagnon wrote:
Hi-
I'm using the SMB ldap tools to add entries to my ldap database for use
with Samba. Does anyone know how I can create the userPassword field
with PHP? I've tried a few things, but none of them worked. Thanks!!
-Greg
Depends on what you want to use as algorithm. But it works simply:
just do
$userPassword = {crypt}.crypt( $clearPassword );
Markus Schabel
++
| TGM - Die Schule der Technik |
| IT-Service |
| A-1200 Wien, Wexstrasse 19-23 |
| Tel.: +43(1)33126/316 Fax: +43(1)33126/154 |
| eMail: [EMAIL PROTECTED]|
++
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba