LDAP bind failure 82
[email protected] (Glenn Tanner) Mon, 17 Mar 2014 20:34:32 +0000
| Newsgroups | perl.ldap |
|---|---|
| Message-ID | <1BE885DA0334AE4F8D933CBF6120DB5DA2C3A294@atlms1.us.megatrends.com> |
Hi all,
So I am using this to authenticate against an AD environment; however when the libraries "Socket6" and "IO-Socket_INET6" are installed I get a problem when the bind command executes in our IPv4 only environment. I poked though the source a little and even tried setting 'inet6=>0' but to no avail. Below is a simple version of what I'm doing; this works when the two named libs are not installed. I'm running ActiveState 5v16s3 (v5.16.3) for windows x64-multi-thread. Happy to test any patches.
Use Net::LDAP;
my $user = 'megatrends.com\user';
my $password = "";
my $ldap = Net::LDAP->new("us.megatrends.com", port=>386) or print "$@";
my $mesg = $ldap->bind($user, password=>$password);
if ($mesg->code) {
print "Bind code: ". $mesg->code ." error: ".$mesg->error_name." ".$mesg->error_text."\n";
}
Thank you,
Glenn Tanner
StorTrends Junior Test Engineer
x7064
404-368-6079
StorTrends StorAID
Toll Free phone: 1-800-892-6625
Local/International: 770-246-8761
Email: [email protected]<mailto:[email protected]>
Web: http://www.stortrends.com/
American Megatrends Inc.
5555 Oakbrook Parkway, Suite 200
Norcross, GA 30093
The information contained in this message may be confidential and proprietary to American Megatrends, Inc. This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.
domain_test.zip
(application/x-zip-compressed, 1.3 KB) - not displayed