I have been trying to get Vpopmail to work with LDAP. I've tried
OpenLDAP 2.0.9 and I get several errors when compiling Vpopmail.
I then switched back to OpenLDAP 1.2.11. Vpopmail then compiles with the
following warnings.

gcc -I. -I/usr/local/include      -g -O2 -Wall -c vauth.c
vauth.c: In function `vauth_getpw':
vauth.c:79: warning: too many arguments for format
vauth.c: In function `vauth_getall':
vauth.c:306: warning: too many arguments for format
vauth.c: In function `vauth_adddomain':
vauth.c:557: warning: too many arguments for format
vauth.c: In function `vauth_deldomain':
vauth.c:604: warning: too many arguments for format

I get the same warnings with Vpopmail 4.9.10 and Vpopmail 4.10.7.
This is using a basic configure line of ./configure --enable-ldap=y

Once I compile with the above warnings I install it and run vadddomain
test.com, it produces the following error after I enter the password for
postmaster,
vadddomain: sockbuf.c:383: ber_int_sb_write: Assertion `sb->sb_iod !=
((void *)0
)' failed.
Aborted

It does create the test.com directory in the domains directory but
authencation fails.
vdeldomain fails with the above error as well.
So to me it appears LDAP auth is broke. Can we expect it to be fixed
anytime soon?

Philip Wall

Reply via email to