Quanah Gibson-Mount pushed to branch master at openldap / OpenLDAP
Commits: e006994d by Ryan Tandy at 2020-04-28T11:21:17-07:00 Fix slaptest in test077
The libtool wrapper scripts lose argv[0] when exec'ing the real binary.
In the CI Docker container, where the build runs as root, this was actually starting a real slapd on the default port.
Outside Docker, running as a non-root user, this slapd would just fail to start, and wouldn't convert the config either.
Using "slapd -Tt" fixes the issue but also prints a warning from slaptest since the database hasn't been initialized yet.
Dynamic config isn't actually used in this test script, so let's just run slapd off the config file directly.
- - - - - 59bdc815 by Ryan Tandy at 2020-04-28T11:24:48-07:00 Convert test077 to LDIF config
- - - - - 7dfbcfa1 by Ryan Tandy at 2020-04-28T11:24:48-07:00 Fix typos
- - - - - 78cfaa3c by Ryan Tandy at 2020-04-28T11:27:49-07:00 Fix minor issues in test077 script
- - - - -
4 changed files:
- doc/man/man3/ldap_get_option.3 - − tests/data/slapd-sasl-gssapi.conf - tests/scripts/defines.sh - tests/scripts/test077-sasl-gssapi
View it on GitLab: https://git.openldap.org/openldap/openldap/-/compare/fd23680a447b9efe1a481dd...