Re: [Samba] SMB LDAP tools

2002-12-16 Thread Markus Schabel
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



[Samba] SMB LDAP tools

2002-12-15 Thread Gregory Chagnon
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

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba