[exim] multiple results for ldap lookups

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Kyle King
Ημερομηνία:  
Προς: exim mailing list
Αντικείμενο: [exim] multiple results for ldap lookups
I have the ldap look up "domains = ${lookup ldap
{user="cn=admin,dc=master,dc=ldap,dc=mail,dc=quentustech,dc=com"
pass=secret
ldap://localhost/dc=example,dc=com?registeredAddress?sub?(registeredAddress=${quote_ldap:$domain})}}"
,which results in
"
Start search
ldap_result loop
LDAP entry loop
LDAP attr loop registeredAddress:example.com
LDAP attr loop registeredAddress:mydomain.com
search ended by ldap_result yielding 101
ldap_parse_result: 0
ldap_parse_result yielded 0: Success
LDAP search: returning: example.com, mydomain.com
lookup yielded: example.com, mydomain.com
example.com in "example.com, mydomain.com"? no (end of list)
"
Is there a condition that i can use to see if the string contains $domain?

--
Kyle A. King
Quentus Technologies, INC
Cell: 703-635-9512
Work: 253-218-6030
Fax: 206-462-1861
Email: kyle.king@???