On our postfix servers , we use a remote ldapserver for system-auth for
some FM users. System users login via /etc/shadow .. FM users login via
ldap.
The MTA is not configured to use any ldap connection.
Yet whenever postfix is being restarted , If the remote ldapserver is
not available
Hi Ram
apparently, its not postfix itself, which connects to LDAP, but the nss
library, which brings up the following idea:
postfix, when starting up, wants to verify the user it shall run under,
which is done via the nss library. If this user is not a unix user, the
nss library will try to
Ram:
Jun 4 14:53:00 mmail postfix/smtpd[23565]: nss_ldap: reconnecting to
LDAP server (sleeping 4 seconds)...
To make Postfix work while LDAP is down, put the Postfix-related
users and groups in /etc/passwd, or remove LDAP from /etc/nsswitch.conf.
Wietse
-Original Message-
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org]
On Behalf Of Wietse Venema
Sent: Friday, June 04, 2010 5:44 AM
To: Postfix users
Subject: Re: DIsable connects to ldap
Ram:
Jun 4 14:53:00 mmail postfix/smtpd[23565]: nss_ldap
Ram:
Jun 4 14:53:00 mmail postfix/smtpd[23565]: nss_ldap: reconnecting to
LDAP server (sleeping 4 seconds)...
To make Postfix work while LDAP is down, put the Postfix-related
users and groups in /etc/passwd, or remove LDAP from /etc/nsswitch.conf.
(and in /etc/group and /etc/shadow).