I’m having issues with my NC server due to the LDAP connection user password expiring. All users on the server can’t log it, showing a nondescript ‘internal server connection error’. Reviewing the nextcloud logs, the password for the LDAP connection user has expired on the domain controller. Not a big issue, I can reset that user password on the DC…but now the LDAP credentials location is different than it used to be in OwnCloud =/
I’ve hunted around for an answer to my question - where is the LDAP connection data stored. Can’t find an answer to that.
My next thought was to simply log in as a non-ldap user, my management account for the NC server. Over the holidays, I clearly forgot that password too. Ouch! So - I found the string to reset the password while logged in as root on the server:
sudo -u www-data php occ user:resetpassword username
However, I think my config choices leave this string with the wrong syntax.
error: unknown user www-data
Centos 7, php 7.1, mySQL, LDAP to server Windows 2012r2/2016
All advice welcome. I’m quick, but not a master of *nix. Given the data to find the ldap connection file or how to reset the admin account that isn’t an ldap user so I can get to the web portal to adjust the LDAP settings and I’ll be ready to rock and roll. Next time I’ll make sure I read emails over the holidays to not let an important user password expire while I’m not looking