mrc0mmand / rpms / openldap

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