Title: Re: [courier-users] authtest with password not working thoughldapserach works
I decided to go with dovecot. So I don't have this issue now. Thanks for your help.
 
-sud


From: [EMAIL PROTECTED] on behalf of Edwin L. Culp
Sent: Sun 5/15/2005 7:25 PM
To: [email protected]
Subject: Re: [courier-users] authtest with password not working thoughldapserach works

Quoting "Edwin L. Culp" <[EMAIL PROTECTED]>:

> 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.

I just set html_aware = 1.  I just went back to the message to find the
html and take a look at it and found:

Encrypted Password: (none)
Cleartext Password: (none)

If your ldap is using encrypted passwords the encrypted should be shown
here something like

# authtest [EMAIL PROTECTED]
Authentication succeeded.

     Authenticated: [EMAIL PROTECTED]  (uid 80, gid 80)
    Home Directory: /home/virtual/eculp
           Maildir: (none)
             Quota: 20000000S
Encrypted Password: {crypt}c7beceUPaTi7A
Cleartext Password: (none)

What differences do you see in slapd.log or other log files when using
authtest and ldapsearch?

ed
>
> 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
>





-------------------------------------------------------
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