Bug 253487 - mailq doesn't work on LDAP enabled systems if nscd is not running
Summary: mailq doesn't work on LDAP enabled systems if nscd is not running
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: postfix
Version: 5.0
Hardware: All
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Thomas Woerner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-20 07:37 UTC by Peter Bieringer
Modified: 2008-07-15 15:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-15 15:09:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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