Unable to access the management interface due to LDAP misconfiguration

Solution:

Nextcloud’s occ command (origins from “ownCloud Console”) is Nextcloud’s command-line interface. You can perform many common server operations with occ, such as installing and upgrading Nextcloud, manage users, encryption, passwords, LDAP setting, and more.

occ is in the nextcloud/ directory; for example /var/www/nextcloud on Ubuntu Linux. occ is a PHP script. You must run it as your HTTP user to ensure that the correct permissions are maintained on your Nextcloud files and directories.

sudo -u www php occ ldap:delete s01
Deleted configuration with configID 's01'

Official description:

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#ldap-commands

Comments

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注