[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: postfix 1.1.11 + openldap-2.1.x
Here's what I did for postfix-1.1.11-20020822 (a snapshot) and openldap
2.1.5 on solaris 8. I had some other bits in there, but you get the idea.
postfix-1.1.11-20020822 > make makefiles CCARGS="-DH_DB
-I/usr/local/BerkeleyDB.4.0/include -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH
-I/usr/local/include/sasl" AUXLIBS="-L/usr/local/BerkeleyDB.4.0/lib
-R/usr/local/BerkeleyDB.4.0/lib -ldb -L/usr/local/lib -R/usr/local/lib
-lldap -llber -lpcre -L/usr/lib/sasl2 -R/usr/lib/sasl2 -lsasl2"
The problem you may be having, though, is incompatible postfix and ldap
versions. I believe the snapshot only works with ldap v3, and the official
releases only work with ldap v2. Check the postfix mail archives to make
sure, though. Maybe specifically compiling 2.1.x with ldap v2 support will
help?
--
Andrew Diederich
> -----Original Message-----
> From: jan
>
>
> Dear list,
[snip]
> I saw that ldap_url_search_st is really not defined in ldap.h
>
> Openldap-2.0.27 has this function in ldap.h
>
> What's wrong ? What can I do ? Should I really use 2.0.27 ?
>
>
> best regards,
>
>
> Jan
>