aboutsummaryrefslogtreecommitdiffstats
path: root/egyéb/nextcloud/mayor-ldap.php
diff options
context:
space:
mode:
authorM.Gergo2021-02-21 05:08:26 +0100
committerM.Gergo2021-02-21 05:08:26 +0100
commitbec6f8a76f979c403b0c358d3aa6fa4df5a947e6 (patch)
treee5674c4aa1f9b7580ae0adb8788ab9a611c3d1e5 /egyéb/nextcloud/mayor-ldap.php
parent31d9d7320a3bde2bb9da05c4a486ee0c336bde03 (diff)
downloadmayor-bec6f8a76f979c403b0c358d3aa6fa4df5a947e6.tar.gz
mayor-bec6f8a76f979c403b0c358d3aa6fa4df5a947e6.zip
M2N: Dátumtartás jó
Diffstat (limited to 'egyéb/nextcloud/mayor-ldap.php')
-rw-r--r--egyéb/nextcloud/mayor-ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/egyéb/nextcloud/mayor-ldap.php b/egyéb/nextcloud/mayor-ldap.php
index 96648202..c51e18bf 100644
--- a/egyéb/nextcloud/mayor-ldap.php
+++ b/egyéb/nextcloud/mayor-ldap.php
@@ -799,7 +799,7 @@ $basedn = "DC=ad,DC=bmrg,DC=lan";
ldap_set_option($ld, LDAP_OPT_MATCHED_DN, $basedn);
-$ldapbind = ldap_bind($ld, $dn, $pass); //this is the point we are authenticating
+$ldapbind = ldap_bind($ld, $cfg['rootBindDn'], $cfg['rootBindPass']); //this is the point we are authenticating