----- Forwarded message from "Bergstrom, Dennis" <den...@cg...> -----
Date: Fri, 21 Mar 2003 10:53:43 +0100
To: "'gb...@po...'" <gb...@po...>
From: "Bergstrom, Dennis" <den...@cg...>
Subject: Bug in Perl LDAP?
Hi Graham,
My name is Dennis Bergström and I work for Cap Gemini Ernst & Young in
Stockholm, Sweden.
I have recently written a Perl script W2kdad.pl
(http://www.geocities.com/real_wiseman/) that enumerates users and passwords
in a Windows 2000 AD
that utilizes your LDAP modules and I have - I think anyway! - stumbled on a
bug.
I try to bind as a user with a dot in the username (test.user) and the bind
returns error every time. (When I bind as a user *without* a dot in the name
everything works as intended.)
$mesg = $ldap->bind( $base_dn, password => $password, version => 3 );
$foundflag = ($mesg->code);
I have tried the same with LDP.exe and it works OK. (I have checked the FAQ
and the examples and I as far as I can see I do everything correct...)
Do you have any idea what the error might be?
Thank you in advance!
Best Regards,
Dennis Bergström
Cap Gemini Ernst & Young
Stockholm
Sweden
This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
----- End forwarded message -----
|