Hi Ken,

has anybody started writing something like a vpopmail+ldap howto?
I would like to contribute or to start something like that.
I had several problems compiling vpopmail with ldap support, but your last 
devel release compiles very smooth on my RH7.1 box.

Greetings

Christian

Am Sonntag,  3. Juni 2001 14:43 schrieb Ken Jones:
> Hi Philip,
>
> I just posted a new development release that compiles with the
> latest stable ldap release 2.0.11. I was able to get it to
> compile correctly but I did not test it running since I do
> not know how to setup the ldap server :)
>
> Here is the link to download it directly.
> http://www.inter7.com/vpopmail/vpopmail-4.10.11.tar.gz
>
> Please let me know if it works for you.
>
> What would really be handy is if you or some ldap folks
> could write a README.ldap that we could include in the
> release. With a step by step walk through of how to
> get an ldap server running correctly with vpopmail.
> Starting with compiling the ldap code to running the
> first vadddomain.
>
> Ken Jones
>
> Philip Wall writes:
> > 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. Is there a maintainer for the
> > LDAP code or someone
> > that knows enough about it and C to be able to help me make the thing
> > work?
> >
> > Philip Wall

Reply via email to