ldap-aliases.cf:
bind = yes bind_dn = cn=xxxxxxx,ou=Hosts,dc=uni-magdeburg,dc=de bind-pw = yyyyyy version = 3 timeout = 20 size_limit = 1 expansion_limit = 0 server_host = ldaps://ldap.uni-magdeburg.de:636 search_base = dc=uni-magdeburg,dc=de query_filter = (mailLocalAddress=%s) result_attribute = mailForwardingAddress
klappt nicht...
postmap -q margrit.lottmann@urz.uni-magdeburg.de ldap:/opt/pmx/postfix/etc/ldap-aliases.cf postmap: warning: dict_ldap_set_tls_options: Unable to set tls_require_cert to 0: -1: Can't contact LDAP server
???
aber ausserhalb klappt ldapsearch:
ldapsearch -H ldaps://ldap.uni-magdeburg.de -b "dc=uni-magdeburg,dc=de" -x -D "cn=xxxxxxx,ou=Hosts,dc=uni-magdeburg,dc=de" -w yyyyyy mailLocalAddress=margrit.lottmann@urz.uni-magdeburg.de mailForwardingAddress
???
-- MfG Margrit Lottmann
Otto-von-Guericke-Universitaet Magdeburg Abt. Kommunikation und Netze
Tel.: 0391 67 58572 Fax: 0391 67 11134