"be consistent" | |
PerlMonks |
Re: Using Net::LDAP (Need help)by roboticus (Chancellor) |
on Aug 22, 2014 at 12:17 UTC ( [id://1098312]=note: print w/replies, xml ) | Need Help?? |
Your code doesn't do proper error checking (you'll want to read the Net::LDAP documentation). You should probably also put in some print statements to show what's being returned at various places in your code. Since the example program is trying to connect to example.com, I'd guess that you're not properly connecting to your LDAP server. ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|