Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
848e3837aa
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,11 @@ class Ldap extends Model
|
||||||
putenv('LDAPTLS_REQCERT=never');
|
putenv('LDAPTLS_REQCERT=never');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the user specifies where CA Certs are, make sure to use them
|
||||||
|
if(env("LDAPTLS_CACERT")) {
|
||||||
|
putenv("LDAPTLS_CACERT=".env("LDAPTLS_CACERT"));
|
||||||
|
}
|
||||||
|
|
||||||
$connection = @ldap_connect($ldap_host);
|
$connection = @ldap_connect($ldap_host);
|
||||||
|
|
||||||
if (!$connection) {
|
if (!$connection) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue