Re: LDAP server

2014-12-06 Thread Jitendra Barik
Hi David, I am trying to get active user in ldap. Regards, Jitendra On Fri, Dec 5, 2014 at 4:12 PM, David Precious dav...@preshweb.co.uk wrote: On Fri, 5 Dec 2014 10:05:20 +0530 Jitendra Barik jbarik...@gmail.com wrote: Could you please let me know please, why this code is not working as

Re: LDAP server

2014-12-06 Thread Natxo Asenjo
On Fri, Dec 5, 2014 at 5:35 AM, Jitendra Barik jbarik...@gmail.com wrote: Hi All, Could you please let me know please, why this code is not working as I am trying to validate my email id to my mail server? my $ldap_server = google.com; # or some local mail server my $ldap = Net::LDAP -

Re: LDAP server

2014-12-05 Thread David Precious
On Fri, 5 Dec 2014 10:05:20 +0530 Jitendra Barik jbarik...@gmail.com wrote: Could you please let me know please, why this code is not working as I am trying to validate my email id to my mail server? What happens when you try it? Not working is incredibly unhelpful. Also, LDAP to validate an

RE: LDAP query giving no results

2006-03-17 Thread Gavin Henry
quote who=Wagner, David --- Senior Programmer Analyst --- WGO Have you tried the search with ldapsearch on the commandline first? Always best to do it that way. Gavin. Sorry, but I attempted just ldapsearch ( very new to the ldap arena and no real knowledge ( to say the least ) ) from

Re: LDAP query giving no results

2006-03-16 Thread Gavin Henry
quote who=Wagner, David --- Senior Programmer Analyst --- WGO I attempting to pull some data, but get no errors and NO data. I am following Graham Barr's examples with minor mods since it did seem to be just right. Here is what I have leaving out the display of the data: #!perl use

RE: LDAP query giving no results

2006-03-16 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Gavin Henry wrote: quote who=Wagner, David --- Senior Programmer Analyst --- WGO I attempting to pull some data, but get no errors and NO data. I am following Graham Barr's examples with minor mods since it did seem to be just right. Here is what I have leaving out the display of the

RE: LDAP query giving no results

2006-03-16 Thread Timothy Johnson
, March 16, 2006 3:34 PM To: Gavin Henry; beginners@perl.org Subject: RE: LDAP query giving no results snip Sorry, but I attempted just ldapsearch ( very new to the ldap arena and no real knowledge ( to say the least ) ) from a kornshell and cmd, but no such exe found ( under windows xp

RE: :LDAP

2003-03-11 Thread Dan Muey
Hello, Howdy! Can anyone tell me why I am receiving an error can't locate Net/LDAP.pm in @ INC (@INC includes /usr/lib/perl5/5.6.1 etc, etc etc, etc. You don't have LDAP perl module installed or you misspelled LDAP in your script. IE : use LDAP; Instead of use Ldap; DMuey Thanks

Re: LDAP Search Result Problem

2002-01-30 Thread Vinicius Jose Latorre
sub ldapsearch { $ldap_con = new Net::LDAPapi($ldap_host); if ($ldap_con == -1) { Unable to Open LDAP Connection to $ldap_host; } Shouldn't the line above be: warn Unable to Open LDAP Connection to $ldap_host if ($ldap_con == -1); or die Unable to Open LDAP Connection to