php.net |  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
Votes:1
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
Description:
------------
---
From manual page: http://www.php.net/function.ldap-search
---
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?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-10 10:56 UTC] mcmic@php.net
«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] cmb@php.net
-Package: Documentation problem +Package: LDAP related
 [2018-11-01 08:10 UTC] heiglandreas@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: heiglandreas
 [2018-11-01 08:10 UTC] heiglandreas@php.net
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: Thu Apr 25 14:01:31 2024 UTC