[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim - saslauthd and ldap query for server_condition



Hallo Christoph,

Christoph Kaminski, 20.04.2007 (d.m.y):

> Hat jemand nen Tick mehr Ahnung ueber exim+ldap und kann mir sagen wieso 
> das nicht geht und wie ich es richtig machen kann?
> 
> plain_saslauthd_server:
>     driver = plaintext
>     public_name = PLAIN
>     server_condition = ${if and {${if saslauthd{{$auth2}{$auth3}}{1}{0}}\
>                                  ${lookup
> ldap{ldap://localhost/ou=gosa,dc=chaos??sub?(&(uid=$local_part)(objectClass=gosaMailAccount))}{1}{1}}}}
>     server_set_id = $auth2
>     server_prompts = :
>     .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
>     server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
>     .endif
> 
> Ich bekomme immer diesen error:
> 
> plain_saslauthd_server authenticator failed for lucypher.chaos
> [192.168.50.100]: 435 Unable to authenticate at present (set_id=perun):
> condition name expected, but found "${if saslauthd{{" inside "and{...}"
> condition

Du koenntest auch einen "einfachen" SASL-Authenticator definieren.
Google mal nach /usr/lib/sasl2/exim.conf, da sollte sich im Archiv von
exim-users etwas finden.
Du kannst dann definieren, dass SASL den saslauthd verwenden soll und
dieser wiederum bspw. Dein LDAP-Verzeichnis als "Backend" - so wuerde
ich es zumindest versuchen.

Gruss/Regards,
Christian Schmidt

-- 
A gift of a flower will soon be made to you.

Attachment: signature.asc
Description: Digital signature


Reply to: