Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117752547
D4292.1775190002.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
802 B
Referenced Files
None
Subscribers
None
D4292.1775190002.diff
View Options
diff --git a/lib/Net/LDAP3.php b/lib/Net/LDAP3.php
--- a/lib/Net/LDAP3.php
+++ b/lib/Net/LDAP3.php
@@ -635,7 +635,7 @@
ldap_set_option($lc, LDAP_OPT_REFERRALS, (bool) $referrals);
}
- $this->_current_host = $host;
+ $this->_current_host = $host . (strpos($host, ':') ? '' : ":$port");
$this->conn = $lc;
break;
@@ -789,9 +789,7 @@
$moz_ldapsearch,
'-x',
'-h',
- preg_replace('|^[a-z]+://|i', '', $this->_current_host),
- '-p',
- $this->config_get('port', 389),
+ $this->_current_host,
'-b',
escapeshellarg($entry_dn),
'-s',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 4:20 AM (10 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18822554
Default Alt Text
D4292.1775190002.diff (802 B)
Attached To
Mode
D4292: Always include the port in the host.
Attached
Detach File
Event Timeline