Hiroyuki Sato: > I set up NSS(nslcd) and PAM config for LDAP on CentOS6. > And I got the following error when the postfix server can't connect to > LDAP server. > During this message, a user(in LDAP) lookup fail.
Postfix gets the information from THE SYSTEM LIBRARY FUNCTION getpwnam_r(). * If getpwnam_r() reports DOESNOTEXIST then Postfix MUST report that the user does not exist. * If getpwnam_r() reports an ERROR, then Postfix will reply with 4xx. If getpwnam_r() reports DOESNOTEXIST when LDAP is down, either the PAM LDAP client, or code between getpwnam_r() and the PAM LDAP client, are mis-reporting the error condition. Please file a bug with your system provider, so that people are not losing email because of a mis-reported error with LDAP. Wietse