Bug#399849: ldap-nss.c:1368: do_init: Assertion `cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.

Adrian Bridgett adrian at smop.co.uk
Wed Jan 17 11:59:18 CET 2007


I've just spent a little while looking at this since I hit it myself
the other day, unfortunately I no longer have the config (I was
testing stuff).

I believe the problem lies in do_add_uris in util.c.  In particular I
think it needs to be more careful - ATM it expects:
URI uri1 uri2

whilst another function takes care of removing spaces and tabs betwen
"URI" and "uri1", do_add_uris isn't so forgiving - it expects one
space and only one space between uris, and no trailing spaces.

I've not written a patch since I'm too busy to test one ATM, but
hopefully this will help out someone else with this problem. 

Thanks,

Adrian 
-- 
Adrian Bridgett - adrian at smop.co.uk
GPG key available on public key servers





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list