libyaml-cpp-dev \
libmaxminddb-dev"
- # ldap-backend
- run "sudo apt-get -qq --no-install-recommends install \
- libldap-dev"
-
# lmdb-backend
run "sudo apt-get -qq --no-install-recommends install \
liblmdb-dev"
run 'echo ${HOME}/.odbc.ini'
run 'cat ${HOME}/.odbc.ini'
- # ldap-backend test setup
- run "sudo apt-get -qq --no-install-recommends install \
- slapd \
- ldap-utils"
- run "mkdir /tmp/ldap-dns"
- run "pushd /tmp/ldap-dns"
- run 'for schema in /etc/ldap/schema/{core,cosine}.schema ${TRAVIS_BUILD_DIR}/modules/ldapbackend/{dnsdomain2,pdns-domaininfo}.schema ; do echo include $schema ; done > ldap.conf'
- run "mkdir slapd.d"
- run "slaptest -f ldap.conf -F slapd.d"
- run "sudo cp slapd.d/cn=config/cn=schema/cn={*dns*.ldif /etc/ldap/slapd.d/cn=config/cn=schema/"
- run "sudo chown -R openldap:openldap /etc/ldap/slapd.d/"
- run "sudo service slapd restart"
- run "popd"
- run "sudo -u openldap mkdir -p /var/lib/ldap/powerdns"
- run "sudo ldapadd -Y EXTERNAL -H ldapi:/// -f ./modules/ldapbackend/testfiles/add.ldif"
-
# remote-backend tests requirements
run "sudo apt-get -qq --no-install-recommends install \
ruby-json \
run "autoreconf -vi"
run "./configure \
${sanitizerflags} \
- --with-dynmodules='bind gmysql geoip gpgsql gsqlite3 ldap lmdb lua mydns opendbx pipe random remote tinydns godbc lua2' \
+ --with-dynmodules='bind gmysql geoip gpgsql gsqlite3 lmdb lua mydns opendbx pipe random remote tinydns godbc lua2' \
--with-modules='' \
--with-sqlite3 \
--with-libsodium \
#travis unbound is too old for this test (unbound 1.6.0 required)
run "touch tests/ent-asterisk/fail.nsec"
- run "./timestamp ./start-test-stop 5300 ldap-tree"
- run "./timestamp ./start-test-stop 5300 ldap-simple"
- run "./timestamp ./start-test-stop 5300 ldap-strict"
-
run "./timestamp ./start-test-stop 5300 bind-both"
run "./timestamp ./start-test-stop 5300 bind-dnssec-both"
run "./timestamp ./start-test-stop 5300 bind-dnssec-nsec3-both"