Quoting "Ramasamy, Sudhakar" <[EMAIL PROTECTED]>:

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 <mailto:[EMAIL PROTECTED]>  address> <password>
Authentication FAILED: Operation not permitted
For me it works with:

# authtest [EMAIL PROTECTED] TopSecretPassword
Authentication succeeded.

    Authenticated: [EMAIL PROTECTED]  (uid 80, gid 80)
....... And other general information.

I'm not sure where email, mailto, address come in.

good luck

ed

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>' <mailto:'[EMAIL PROTECTED]'>

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







------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to