Clear questions and runnable code
get the best and fastest answer
Need help on Net::LDAPby srinivas_rocks (Sexton)
|on Apr 30, 2008 at 13:16 UTC||Need Help??|
srinivas_rocks has asked for the
wisdom of the Perl Monks concerning the following question:
Hi Perl Monks,
I have been working with LDAP server configurations from some time and now I want to integrate the LDAP in my project.
I want to use LDAP to authenticate the users when they login to my portal.
I found Net::LDAP as a good perl module that can be used to serve my purpose.
I was successful in executing search statements and here is the code
for the above code I got the following correct output:
now when I am trying to execute compare function whose code is
I am getting following error when I execute the above script
Can any one suggest whether there are any additional attributed that are to be added or any other why that I can compare my username and password for authentication. Any suggestion will be helpful.
Thanks in Advance.