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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: j dot mason at mizzisoft dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Tue Oct 15 00:01:27 2024 UTC