Where can I find instructions for setting up LDAP support?
I have looked through all available documents and the mail archives, but I
cannot find any instructions. A couple people post "I was finally able to
get vpopmail to compile using --enable-ldap=y" but nobody has posted how
they were able to do it.
Here are the steps I took (which do not work!):
1) extract the files: tar -zxpvf vpopmail-4.9.10.tar.gz
2) cd vpopmail-4.9.10
3) ./configure --enable-roaming-users=y --enable-ldap=y
...blah-blah-blah...
Current settings
---------------------------------------
vpopmail directory = /home/vpopmail
uid = 501
gid = 507
roaming users = ON
user quota = OFF
tcpserver file = /home/vpopmail/etc/tcp.smtp
open_smtp file = /home/vpopmail/etc/open-smtp
auth logging = OFF
pop syslog = show only failure attempts
default domain =
4) modify vldap.h to use my localhost ldap information
5) run "make" FAILS!!!
...blah-blah-blah...
gcc -I. -I/usr/local/include -g -O2 -Wall -c safestring.c
gcc -I. -I/usr/local/include -g -O2 -Wall -c vpopmail.c
gcc -I. -I/usr/local/include -g -O2 -Wall -c md5.c
gcc -I. -I/usr/local/include -g -O2 -Wall -c bigdir.c
gcc -I. -I/usr/local/include -g -O2 -Wall -c vauth.c
vauth.c:28: lber.h: No such file or directory
vauth.c:29: ldap.h: No such file or directory
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/home/sbelt/vpopmail-4.9.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sbelt/vpopmail-4.9.10'
make: *** [all-recursive-am] Error 2
I see these files exist in my extracted OpenLDAP directory - so how do I
tell 'make' where they are? If I copy these files to the local folder, I
just get a new set of "No such file or folder"-errors.
What other steps will I need to follow if I ever get past this hurdle?
Again, I am happy to follow any instructions rather than bother this group -
I just can't seem to find any.
Steve B.