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
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: postfix   
(Show other bugs)
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Thomas Woerner
QA Contact:
Depends On:
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:
Story Points: ---
Clone Of:
Last Closed: 2008-07-15 15:09:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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):

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:

Additional info:
Starting nscd and restarting postfix helps.

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.