So I am trying to set a random password and email it to ldap users. I have
tried to use the pre_entry_create hook but by that time the password has been
hashed already.
So now I am attempting to call the add function in the ldap_pla class so that I
can pass my own password to it and then basically die() to stop phpldapadmin
from processing the entry a second time. I believe this is the best option
aside from editing core files.
I am having troubles with the add function in ldap_pla. If someone could
explain how to properly call this method that would be great.
I am trying to do something like this but it doesn't work.
$args = func_get_args();
$server = new ldap_pla($args[0]);
$server->add($args[2],$args[3]);
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users