logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: getting this error while ninding: msg#00044

Subject: Re: getting this error while ninding
        Hello,

Nikhil wrote:
[snip]
$mesg = $ldap->bind("cn=Users,Dc=example,dc=com");
print "$mesg\n";
die "Bind failed: ", $mesg->error_name,"\n", if $mesg->code;
foreach $entry ($mesg->entries) { $entry->dump; }
^D

        You only bind to the server, which means authentication. I think you
want to $ldap->search instead. If you don't bind you're binded as anonymous.

        A+
--
   \^/
 -/ O \----------------------------------------
| |/ \|       Alexandre (Midnite) Jousset      |
 -|___|----------------------------------------





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>