Wietse Venema: > Evan Borgstrom: > > > > On 5/5/2010 10:18 PM, Wietse Venema wrote: > > > Evan Borgstrom: > > >> The hardest thing for me to understand about this problem is why nscd is > > >> causing the problem since postfix should be querying the LDAP server > > >> directly. > > > > > > It does, but glibc routines will invoke nscd for stuff in > > > /etc/nsswitch.conf. > > > > If I remove the ldap: entries from main.cf then the trivial-rewrite > > errors go away with nscd running, so what is the postfix ldap module > > doing with glibc routines that's causing the trivial-rewrite errors? > > Perhaps they are built for different LDAP implementations (or > LDAP and Postfix were built for different SASL implementations).
...or other infrastructure, such as different TLS implementations. You can verify this by applying the "ldd" command to Postfix, to libraries that Postfix uses, and to the nscd modules. Wietse > When you run a program with the wrong version of a library, then > program crashes are to be expected. It's the Linux version of > Windows DLL hell. > > Wietse > >