Blame SOURCES/openldap-ldaprc-currentdir.patch

767ab2
Disables opening of ldaprc file in current directory.
767ab2
767ab2
Resolves: #38402
767ab2
Upstream: ITS #1131
767ab2
Author: Henning Schmiedehausen <hps@intermeta.de>
767ab2
767ab2
diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c
767ab2
index 8617527..e6b17b4 100644
767ab2
--- a/libraries/libldap/init.c
767ab2
+++ b/libraries/libldap/init.c
767ab2
@@ -352,9 +352,6 @@ static void openldap_ldap_init_w_userconf(const char *file)
767ab2
 	if(path != NULL) {
767ab2
 		LDAP_FREE(path);
767ab2
 	}
767ab2
-
767ab2
-	/* try file */
767ab2
-	openldap_ldap_init_w_conf(file, 1);
767ab2
 }
767ab2
 
767ab2
 static void openldap_ldap_init_w_env(