Home » Php » directory – LDAP_add with PHP: Inconsistent return value

directory – LDAP_add with PHP: Inconsistent return value

Posted by: admin February 25, 2020 Leave a comment

Questions:

I am using PHP to add a list of books in an OpenLDAP Directory.
Sometimes it happens that the boolean returned returned from PHP functon ldap_add does not match the state of the entry in the directory.
Often I get true value, but the entry is not in the directory.
I tried to send over 1000 simulated entries, it is random the amount of involved entries after every cycle.
How can I perform an analysis?

Thanks

How to&Answers: