aboutsummaryrefslogtreecommitdiffstats
path: root/egyéb/nextcloud/mayor-ldap.php
diff options
context:
space:
mode:
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