|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66823 Warning messages not documented for ldap_search()
Submitted: 2014-03-05 06:02 UTC Modified: 2018-11-01 08:10 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: j dot mason at mizzisoft dot com Assigned: heiglandreas (profile)
Status: Closed Package: LDAP related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2014-03-05 06:02 UTC] j dot mason at mizzisoft dot com
From manual page:
ldap_search() emits warning:
[Warning] ldap_search(): Search: No such object in libraries/Ldap.php on line 229

Documentation doesn't mention or explain this.

Expected result:
It would be nice to know what causes this warning. Invalid parameters?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-10 10:56 UTC]
«No such object» means the LDAP tried to work on a dn that does not exists.
In the case of ldap_search, it means that the search base does not exists.
 [2017-01-28 12:30 UTC]
-Package: Documentation problem +Package: LDAP related
 [2018-11-01 08:10 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: heiglandreas
 [2018-11-01 08:10 UTC]
This is some years old by now and the OP never came back and clarified whether the response helped or not, so I'm closing this. 

Feel free to reopen when the issue still exists.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 11:01:29 2024 UTC