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 ...
|
|
|
|