Quoting Bob Tanner (tanner at real-time.com):
> Quoting Bob Tanner (tanner at real-time.com):
> > After compiling the latest version of sendmail against openldap, I get the
> > following error:
> > 
> > options.c:326: ldap_set_option: Assertion `( ( ld )->ld_options.ldo_valid == 0x2
> > )' failed.
> > 
> > Anyone else seen this before?
> > 
> 
> Have not solved this problem, but I have found out what caused it.
> 
> sendmail with tls turned on fails when you have this in the /etc/nsswitch.conf
>  
> passwd:     files ldap nis
> shadow:     files ldap nis
> group:      files ldap nis
>  
> Remove the ldap and all works well.
> 
> This look at why this fails.
> 
> 

Upgrade to nss_ldap-123 and all works fine.

-- 
Bob Tanner <tanner at real-time.com>       | Phone : (952)943-8700
http://www.mn-linux.org                 | Fax   : (952)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9