recently I have been trying to use nextcloud-oidc-login in proxy mode with already working LDAP backend.
After setting up, I am stuck on "Error getting DN for LDAP user" when trying to authenticate. I have modified LoginService.php to get if it tries to get DN for the correct ldapUid:
$dns = $access->fetchUsersByLoginName($ldapUid);
echo $ldapUid;
if (empty($dns)) {
throw new LoginException($this->l->t('Error getting DN for LDAP user'));
and the $ldapUid variable contains correct LDAP entryUUID value.
What can I do to debug this even more and find out why the LDAP query is failing?
Hello,
recently I have been trying to use nextcloud-oidc-login in proxy mode with already working LDAP backend.
After setting up, I am stuck on "Error getting DN for LDAP user" when trying to authenticate. I have modified LoginService.php to get if it tries to get DN for the correct ldapUid:
and the $ldapUid variable contains correct LDAP entryUUID value.
What can I do to debug this even more and find out why the LDAP query is failing?
Thank you very much.