[exim] saslauthd and ldap query for server_condition

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Christoph Kaminski
Date:  
À: exim-users
Sujet: [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