Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1768
change-for-invalid-tls
Active
Public
Actions
Authored by
eadler
on May 1 2015, 2:09 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F389930: change-for-invalid-tls
May 1 2015, 2:09 AM
2015-05-01 02:09:45 (UTC+0)
Subscribers
None
```
diff --git a/src/auth/PhutilLDAPAuthAdapter.php b/src/auth/PhutilLDAPAuthAdapter.php
index 16847fd..ec58cea 100644
--- a/src/auth/PhutilLDAPAuthAdapter.php
+++ b/src/auth/PhutilLDAPAuthAdapter.php
@@ -305,6 +305,7 @@ final class PhutilLDAPAuthAdapter extends PhutilAuthAdapter {
'port' => $this->port,
));
+ putenv('LDAPTLS_REQCERT=never');
$conn = @ldap_connect($host, $this->port);
$profiler->endServiceCall(
```
Event Timeline
eadler
edited the content of this paste.
(Show Details)
May 1 2015, 2:09 AM
2015-05-01 02:09:45 (UTC+0)
eadler
changed the title of this paste from untitled to
change-for-invalid-tls
.
eadler
updated the paste's language from
autodetect
to
diff
.
eadler
mentioned this in
T8014: Add configuration option to ignore invalid TLS certificates for LDAP start_tls
.
Log In to Comment