I need help!
I installed nextcloud and integrated with AD, worked well, I was a problem with the AD users folder name. I changed the Expert → Username attribute to sAMAccountName. The user folder name has been changed to the account name, but the access of AD users to the cloud has disappeared. Now we have error - wrong username or password. In menu LDAP / AD integration - configuration is ok
The problem was solved. It was in users and login attributes.