[Date Prev][Date Next] [Chronological] [Thread] [Top]

Applications can not find LDAP entries



Hello,

my apllicatons (i.e. postfix oder amavis-new) does not find any LDAP entry, when I use ldapsearch it is no Problem. I'm search for a few day's all about the web, docs, maillists and have no more Idear how to debug it.

I'm OpenLDAP 2.1.22

can anybody give me a hint how to solve this problem?

regards
Martin


example for Postfix # ldapsearch -h hostname -x -LLL "mail=sysadmin@sample.de" maildrop dn: uid=sysadmin@sample.net,ou=user,ou=mailsystem,dc=sample,dc=de maildrop: sysadmin@sample.net

# postmap -q "sysadmin@sample.de" ldap:/etc/postfix/ldap-test.cf
postmap: warning: dict_ldap_lookup: Search error 32: No such object

/etc/postfix/ldap-test.cf
server_host = hostname
server_port = 389
server_base = dc=sample,dc=de
scope = sub
timeout = 10
query_filter = (&(|(mail=%s)(mailAlternateAddress=%s)(mailacceptinggeneralid=%s))(!(|(maildrop="*|*")(maildrop="*:*")(maildrop="*/*"))))
result_attribute = maildrop
bind = no