You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.0 KiB

  1. From 72f2c7559a1cd75b6d86e72358b4b78cdeefa5f4 Mon Sep 17 00:00:00 2001
  2. From: yangfl <yangfl@users.noreply.github.com>
  3. Date: Fri, 1 Feb 2019 15:05:32 +0800
  4. Subject: [PATCH] Disable auto loading mod_authn_file
  5. Which will cause openwrt/packages#7737
  6. ---
  7. src/configfile.c | 4 ++--
  8. 1 file changed, 2 insertions(+), 2 deletions(-)
  9. diff --git a/src/configfile.c b/src/configfile.c
  10. index 1b2651b9..29bb2aa4 100644
  11. --- a/src/configfile.c
  12. +++ b/src/configfile.c
  13. @@ -482,9 +482,9 @@ static int config_insert(server *srv) {
  14. * existing lighttpd 1.4.x configs */
  15. if (contains_mod_auth) {
  16. if (append_mod_authn_file) {
  17. - ds = data_string_init();
  18. + /* ds = data_string_init();
  19. buffer_copy_string_len(ds->value, CONST_STR_LEN("mod_authn_file"));
  20. - array_insert_unique(srv->srvconf.modules, (data_unset *)ds);
  21. + array_insert_unique(srv->srvconf.modules, (data_unset *)ds); */
  22. }
  23. if (append_mod_authn_ldap) {
  24. #if defined(HAVE_LDAP_H) && defined(HAVE_LBER_H) && defined(HAVE_LIBLDAP) && defined(HAVE_LIBLBER)
  25. --
  26. 2.20.1