I am using the authldap module to authenticate against an Openldap directory. When I supply the password attribute to authtest I get the following error
 
# /usr/sbin/authtest <email address> <password>
Authentication FAILED: Operation not permitted
Whereas a direct query to the ldap and supplying the password as below returns the correct record:
# ldapsearch -h 127.0.0.1 -D '<Users DN>' -W 'mail=<email address>'
 
An authtest without the password returns the correct result as well:
 
# /usr/sbin/authtest <email address>
Authentication succeeded.
     Authenticated: <email address>
    Home Directory: /var/vmail/<uid>
           Maildir: (none)
             Quota: 2147483648
Encrypted Password: (none)
Cleartext Password: (none)
           Options: (none)
I can't seem to figure why it wouldn't work when the password is supplied. Hopefully some one can point me in the right direction.
 
-sud

Reply via email to