[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap delete and modifying by delete problems



I’m trying to write a php script in order to manage my LDAP Directory easier. Everything works fine when I’m adding new entries and when I’m modifying an attribute.

When it comes to delete an entry from my directory or to remove an attribute, I get error no. 8 which means

“PHP Warning:  ldap_delete() [<a href=''>function.ldap-delete</a>]: Delete: Strong(er) authentication required in /var/www/html/admin.mydomain.tld/responsabil/sterge.php on line 34, referer: http://admin.mydomain.tld/responsabil/index.php?nav=del

[Tue Mar 10 07:15:03 2009] [error] [client] PHP Warning:  ldap_mod_del() [<a href=''>function.ldap-mod-del</a>]: Modify: Strong(er) authentication required in /var/www/html/admin. mydomain.tld /responsabil/sterge.php on line 37, referer: http://admin. mydomain.tld /responsabil/index.php?nav=del”


Here is how I’m trying to do these:


$ldap = ldap_connect("localhost");

 ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3);

 $r = @ldap_bind($ldap, "root","password");












I think it has something to do with LDAP settings.

I’m using default settings for LDAP , I’ve only included a supplemental schema to fit it for my needs.

I’ve generated a {SSHA} password for root.

If needed, I can send all these files.

Can anyone help?

Any suggestion would be greatly appreciated.


Thanks in advance!

Best regards!




__________ Information from ESET NOD32 Antivirus, version of virus signature database 3922 (20090309) __________

The message was checked by ESET NOD32 Antivirus.