[exim] saslauthd and ldap query for server_condition

Etusivu
Poista viesti
Vastaa
Lähettäjä: Christoph Kaminski
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] saslauthd and ldap query for server_condition
Hi!

why it doesnt work:

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


I get this 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

CU