]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Move libldap init to global_lib framework (#4546)
authorNick Porter <nick@portercomputing.co.uk>
Fri, 3 Jun 2022 16:42:30 +0000 (17:42 +0100)
committerGitHub <noreply@github.com>
Fri, 3 Jun 2022 16:42:30 +0000 (12:42 -0400)
commitbbcebc5bb969e44a3a95b9b7ec34650f57294308
tree5460aaaa361e8da3aa76698860123a82a18a5a8d
parent987f4a505a9e856fd6e18c4f1f749ddacf49576b
Move libldap init to global_lib framework (#4546)

* Define libldap global config options and init / free callbacks

* Move libldap global options to global {} section

* Switch rlm_ldap to use autoinit of ldap library

* Clear old instance tracking from libldap

* Ensure global.d directory is handled correctly by packages

* Allow per module test global library settings

* Move global ldap library settings to correct location for tests

* Include global.d in list of raddb files to install

* WS

* Newline

Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
14 files changed:
debian/freeradius.postinst
debian/freeradius.prerm
raddb/all.mk
raddb/global.d/ldap [new file with mode: 0644]
raddb/mods-available/ldap
raddb/radiusd.conf.in
redhat/freeradius.spec
src/lib/ldap/base.c
src/lib/ldap/base.h
src/modules/rlm_ldap/rlm_ldap.c
src/modules/rlm_ldap/rlm_ldap.h
src/tests/modules/ldap/global.conf [new file with mode: 0644]
src/tests/modules/ldap/module.conf
src/tests/modules/unit_test_module.conf