Bug 253487 - mailq doesn't work on LDAP enabled systems if nscd is not running
mailq doesn't work on LDAP enabled systems if nscd is not running
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: postfix (Show other bugs)
5.0
All Linux
high Severity high
: ---
: ---
Assigned To: Thomas Woerner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-20 03:37 EDT by Peter Bieringer
Modified: 2008-07-15 11:09 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-15 11:09:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Bieringer 2007-08-20 03:37:12 EDT
Description of problem:
System used LDAP database for user authentication. If nscd is not running,
postfix claims about a failed bind and mailq won't work.

Version-Release number of selected component (if applicable):
postfix-2.3.3-2
nss_ldap-253-3


How reproducible:
Always in case nscd is not running after postfix restart

Steps to Reproduce:
1. configure use of LDAP with authconfig
2. do not start nscd
3. start postfix
  
Actual results:
mailq hangs, log tells all the time:

Aug 20 07:31:53 host postfix/showq[3120]: nss_ldap: failed to bind to LDAP
server ldap://ldapserver/: Can't contact LDAP server

Expected results:
Working

Additional info:
Starting nscd and restarting postfix helps.


/etc/ldap.conf:
uri ldap://ldapserver/
ssl no
tls_cacertdir /etc/openldap/cacerts
pam_password md5
Comment 1 Thomas Woerner 2008-07-15 11:09:12 EDT
I am sorry, but nscd is needed to be able to use nss_ldap.

This is no postfix problem, closing as NOTABUG.

Note You need to log in before you can comment on or make changes to this bug.