Bug 253487

Summary: mailq doesn't work on LDAP enabled systems if nscd is not running
Product: Red Hat Enterprise Linux 5 Reporter: Peter Bieringer <pb>
Component: postfixAssignee: Thomas Woerner <twoerner>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-15 15:09:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Bieringer 2007-08-20 07:37:12 UTC
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 15:09:12 UTC
I am sorry, but nscd is needed to be able to use nss_ldap.

This is no postfix problem, closing as NOTABUG.