Page MenuHomePhabricator
Paste P1768

change-for-invalid-tls
ActivePublic

Authored by eadler on May 1 2015, 2:09 AM.
Tags
None
Referenced Files
F389930: change-for-invalid-tls
May 1 2015, 2:09 AM
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 changed the title of this paste from untitled to change-for-invalid-tls.
eadler updated the paste's language from autodetect to diff.