Re: [Exim] Exim+LDAP,Can't contact LDAP server

Top Page
Delete this message
Reply to this message
Author: Edgar Lovecraft
Date:  
To: Exim User's Mailing List
Subject: Re: [Exim] Exim+LDAP,Can't contact LDAP server
Walt Reed wrote :
>
> On Fri, Feb 13, 2004 at 12:06:57PM -0500, Jonathan Vanasco said:
> On Feb 13, 2004, at 10:22 AM, Walt Reed wrote:
> > >On Fri, Feb 13, 2004 at 01:11:39PM +0200, Alexander G. Jerjomin said:
> > > > Hello.
> > > >I want to use Exim+LDAP to verify the valid address.
> > ><snip>
> > > >but I want to accept mail if LDAP is down.
> > >
> > >What many people are doing is taking periodic snapshots of the ldap
> > >DB (several times per day or whatever schedule is appropriate for
> > >your local environment) and saving in a local database. This can be
> > >good way to boost performance as well.
> >
> >I thought the caching features of LDAP make it the fastest solution
> >for a db style implementation.
>
> Well, it is fast, but I don't know if it's going to be faster than a
> simple mysql DB or berkeley style DB for quick go, no-go types of
> queries (I have not done any performance testing, but I do know that
> simple queries on mysql and berkeley DB's are VERY VERY fast...)
> Remember: the OP was concerned about the LDAP server being down in which
> case the performance of LDAP is going to be exactly zero.
>

--
Ahem, just for all of those that have forgotten, Any Exchange server that
is a part of a Windows 2000/2003 Active Driectory Domain, each and every
AD server (Domain Controler) has a copy of the Active Directory, ALL AD
servers can be queried for their information over ldap. Almost all
installations of any size have at least two AD servers, so therefor
you can set the "ldap_servers = ad.server.one : ad.server.two" and allways
have a failover ldap server to lookup information. I use ldap servers to
manage all of the user accounts I have; I would never have (and never have
had) less than two servers to query the information from. Exchange 5.5 is
a different story, but you should be able to make a 'backup' ldap server
for Exchange 5.5 (never tried though, so I could be wrong).
--EAL--