Hello,

I tried hard but I can't manage to get back-meta to work as a module with OpenLDAP 2.3.34 to 2.3.35.
(I'm actually trying to backport the Debian last  "slapd-2.3.35"  to  "Etch" )

However, compiling back-meta and back-ldap --enable-ldap  --enable-meta seems to solve my problem ... but why ?

Here's the error message I get :

@(#) $OpenLDAP: slapd 2.3.35 (Jun 15 2007 09:41:15) $
        root@Lena:/root/openldap/sources/openldap-2.3.35/servers/slapd
/usr/local/2.3.35/slapd-meta.conf: line 61: "pseudorootdn", "pseudorootpw" are no longer supported; use "idassert-bind" and "idassert-authzFrom" instead.
/usr/local/2.3.35/libexec/slapd: symbol lookup error: /usr/local/2.3.35/libexec/ldap/back_meta-2.3.so.0: undefined symbol: slap_idassert_parse_cf


The build options :

./configure  --prefix=/usr/local/2.3.35 --exec-prefix=/usr/local/2.3.35 --enable-debug --enable-dynamic --enable-syslog --enable-proctitle --enable-ipv6 --enable-local --enable-slapd --enable-aci --enable-cleartext --enable-crypt --enable-spasswd --enable-modules --enable-rewrite --enable-rlookups --enable-slapi --enable-slp --enable-wrappers --enable-backends=mod --enable-ldbm=no --enable-overlays=mod --enable-slurpd --with-subdir=ldap --with-cyrus-sasl --with-threads --with-tls

The config file :

include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/inetorgperson.schema
include         /etc/ldap/schema/openldap.schema
include         /etc/ldap/schema/nis.schema

pidfile /var/run/slapd/slapd2.3.35.pid
argsfile /var/run/slapd/slapd2.3.35.args

loglevel stats

# Where the dynamically loaded modules are stored
modulepath      /usr/local/2.3.35/libexec/ldap
moduleload      back_ldap.la
moduleload      back_meta.la

database meta

suffix   "o=test,c=fr"
rootdn          "cn=proxy,o=test,c=fr"
rootpw          secretlies

uri             "ldap://10.56.20.30:389/ou=toto,o=test,c=fr"

pseudorootdn    cn=proxy,ou=applications,ou=tata,o=test,c=fr
pseudorootpw   secret2


uri             "ldap://10.65.23.19:389/ou=tata,o=test,c=fr"
pseudorootdn    cn=proxy,ou=applications,ou=toto,o=test,c=fr
pseudorootpw   secret3
map attribute   affe sage


Thanks for your advices ...

Alexandre DVL








Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.