mrc0mmand / rpms / openldap

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