Chris, thanks for your reply.


To put this another way, with Net::LDAP how do you do a simple 
bind with a DN and an empty password? 



I don't want a name only (noauth) or anonymous bind when I do:

bind('cn=Joe,ou=London,o=axomic',
     'password'=>'');

I would expect this to try a simple bind but with '' as the password. But 
it doesn't, and errors asking if I wanted noauth or anonymous. 



The following is not what I want, as it doesn't validate the password:

bind('cn=Joe,ou=London,o=axomic',
     'password'=>'',
     'noauth'  =>1);



In Active Directory you can have a user with a valid password, but it is 
'' / blank / empty. How do you go about authenticating this user (asking 
Active Directory if the password is correct) if Net::LDAP won't do a 
simple bind with an empty password?



My hack from the previous post works fine but means fiddling with 
Net/LDAP.pm on every install, which is not a good long term solution.





OpenAsset - Image Management for Architects, Designers & Engineers
Axomic Ltd
338 City Road
London EC1V 2PY
t: +44 (0)20 7239 8287
m: +44 (0)7812 122418
http://www.axomic.com




Reply via email to