Re: ldap change password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Fabio,

On 03-07, Fabio Silva wrote:
> Hi all, i would like to know if anybody has a script in php that
> change the password of the users in ldap???
> That the user can do it by yourself....

http://logout.sh/computers/ldap/ looks like a starting point.
In that example, however the connection from the web server to 
the ldap server is not encrypted (which might be an issue if the 
webserver is different from the ldap server and you are not 
using ssh tunnelling for the connection), googling ldap_connect and 663 
(the port of LDAP with TLS) gives you other recipes. (For the TLS 
exchange you would also have to generate an X.509 cert, see eg
http://www.guug.de/veranstaltungen/ffg2003/papers/ffg2003-blasum-en.pdf
for essentially the same where python was used in place of php.)

Regards,

-- 
Holger Blasum +49-174-7313590 (cell) GnuPG 1024D/ACDFC3B769DC1ED66B47

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux