Beefy Boxes and Bandwidth Generously Provided by pair Networks
"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??


in reply to Using Net::LDAP (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.

Replies are listed 'Best First'.
Re^2: Using Net::LDAP (Need help)
by Anonymous Monk on Aug 22, 2014 at 12:35 UTC

    ldap connection is working perfectly. example.com and other fields was replaced. Search works perfectly on all things. I found place of error in change_user_rdn.

     LDAP_INVALID_DN_SYNTAX :The request contained an invalid DN
Re^2: Using Net::LDAP (Need help)
by Anonymous Monk on Aug 22, 2014 at 13:30 UTC
    Fixed. Everything is working fine for now.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1098312]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found