note 105836 added to function.ldap-search

From: Date: Mon, 19 Sep 2011 10:07:30 +0000
Subject: note 105836 added to function.ldap-search
Groups: php.notes 
Request: Send a blank email to php-notes+get-183270@lists.php.net to get a copy of this message
I'm a newbie, so I hope this helps some other newbie with a head scratcher... This code returned an error of 'No Such Object': <?php $search = ldap_search ($ldapcon, "cn=admin,dc=acpower,dc=biz", "(filters)"); ?> I took out the cn, and magic! it works: <?php $search = ldap_search ($ldapcon, "dc=acpower,dc=biz", "(filters)"); ?> ---- Server IP: 87.124.126.138 Probable Submitter: 87.112.3.142 (proxied: 87.112.3.142) ---- Manual Page -- http://www.php.net/manual/en/function.ldap-search.php Edit -- https://master.php.net/note/edit/105836 Del: integrated -- https://master.php.net/note/delete/105836/integrated Del: useless -- https://master.php.net/note/delete/105836/useless Del: bad code -- https://master.php.net/note/delete/105836/bad+code Del: spam -- https://master.php.net/note/delete/105836/spam Del: non-english -- https://master.php.net/note/delete/105836/non-english Del: in docs -- https://master.php.net/note/delete/105836/in+docs Del: other reasons-- https://master.php.net/note/delete/105836 Reject -- https://master.php.net/note/reject/105836 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#183270) next »