Red Hat Bugzilla – Bug 191586
Postfix LDAP lookup results in a segmentation fault on x86_64
Last modified: 2007-11-30 17:11:32 EST
Description of problem:
When I configure postfix to use a LDAP directory to lookup information
(relay_recipient_maps in this case) it doesn't work. Postfix makes a connection
to the openldap server, the query is performed and a segmentation fault occurs
when there is a matching object in LDAP. When there is no matching object from
LDAP, the postmap command finishes without a segmentation fault.
When I copy the configuration file to a i386 machine (also with FC5) there's no
segmentation fault and it returns the data from the LDAP directory.
Thanks in advance for looking into this problem. Please let me know if more
information is needed. or if I can do anything to help solve this issue.
Version-Release number of selected component (if applicable):
Always, when there is object in LDAP matching the search filter
Steps to Reproduce:
1. Configure postfix for ldap lookups on i386
2. Test with postmap (postmap -q 'firstname.lastname@example.org'
3. Bang! :)
[root@x86_64 postfix]# postmap -q 'email@example.com'
[root@i386 postfix]# postmap -q 'firstname.lastname@example.org'
Some gdb output (with postfix-debuginfo) is attached
Relevant part of main.cf:
relay_recipient_maps = ldap:/etc/postfix/relay_recipient_maps_ldap.cf
server_host = ldap://ldap
search_base = dc=example,dc=com
query_filter = (mail=%s)
result_attribute = mail
bind = yes
bind_dn = cn=postfix,ou=services,dc=example,dc=com
bind_pw = password
Created attachment 128975 [details]
Some gdb output from the postmap command
Rebuilding the postfix-2.2.10-2.src.rpm from Rawhide seems to resolve this
issue. Could this build be backported to FC5?
I am sorry, but FC-5 is EOL.
Closing as "WONTFIX"