Today I want to change the permission of a user that are defined in the local usermanagement database of ownlcoud. If i click on “Administrator - Users” then came up a error:
`
Interner Serverfehler
Der Server hat einen internen Fehler und konnte Ihre Anfrage nicht vervollständigen.
Bitte wende dich an den Serveradministrator, sollte dieser Fehler mehrfach auftreten und füge deiner Anfrage die unten stehenden technischen Details bei.
And where can I configure to use the internal database for user authentication? In the Option “Userauthentication” i only found a entry for LDAP - i user owncloud 10.0.9
Hm, unfortunately I cannot even login to my Nextcloud to change any LDAP config, because my system is domain joined and the administrator is also a windows AD user.
In the logfile of nextcloud I found this:
“Lost connection to LDAP server.”
As I can list all the users in my AD inside UCS user config, I was already guessing that nextcloud is not able to reach the LDAP Server (not the DomainController but the LDAP server on the UCS system itself)
As this should be “localhost” I am not sure why it wouldn’t be able to reach it
But maybe it is using DNS… I will check that later!
I found out that the dns record for my UCS system didn’t update when I changed from DHCP to a (different) static IP address.
After I changed that manually in my DNS server I was able to log in!
Unfortunatelay only as a user not with my admin accound (wrong password)
This was solved after adding a first and last name to my administrator accound in my Windows AD.
I saw this issue some years ago with a crappy citrix product that did an LDAP request and failed when accounts didn’t have First, Last and Display names. The built in admin accound in windows AD does not have those by default…