[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Applications can not find LDAP entries
- To: openldap-software@OpenLDAP.org
- Subject: Applications can not find LDAP entries
- From: Martin <maillmgr@my01.net>
- Date: Fri, 23 Jul 2004 12:03:50 +0200
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7) Gecko/20040616
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