ldaps aaaaaaaaaaaaaaaaaaaaaaa

This commit is contained in:
2025-03-26 23:06:14 +01:00
parent 45b9cc7dfa
commit 4ebfd046de

View File

@@ -4,7 +4,7 @@ require_once "database.php";
$ldap_domain_name = "woodywood";
$handle = ldap_connect("ldap://$ldap_domain_name.local");
$handle = ldap_connect("ldaps://$ldap_domain_name.local");
ldap_set_option($handle, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($handle, LDAP_OPT_REFERRALS, 0);