Other

Unable to access the management interface due to LDAP misconfiguration

2021年3月26日

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

You Might Also Like

No Comments

Leave a Reply

%d 博主赞过: