openldap-ldaprc-currentdir.patch 526 B

123456789101112131415161718192021
  1. Disables opening of ldaprc file in current directory.
  2. Resolves: #38402
  3. Upstream: ITS #1131
  4. Author: Henning Schmiedehausen <hps@intermeta.de>
  5. diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c
  6. index 8617527..e6b17b4 100644
  7. --- a/libraries/libldap/init.c
  8. +++ b/libraries/libldap/init.c
  9. @@ -352,9 +352,6 @@ static void openldap_ldap_init_w_userconf(const char *file)
  10. if(path != NULL) {
  11. LDAP_FREE(path);
  12. }
  13. -
  14. - /* try file */
  15. - openldap_ldap_init_w_conf(file, 1);
  16. }
  17. static void openldap_ldap_init_w_env(