37 lines
603 B
Markdown
37 lines
603 B
Markdown
|
# DEBUG
|
||
|
|
||
|
## Mode debug
|
||
|
|
||
|
sed -i "s/'debug' => false,/'debug' => true,/g" /etc/nextcloud/config.php
|
||
|
|
||
|
## LDAP
|
||
|
|
||
|
Test configuration:
|
||
|
|
||
|
```
|
||
|
php /usr/share/nextcloud/occ ldap:test-config s01
|
||
|
```
|
||
|
|
||
|
Show LDAP configuration:
|
||
|
|
||
|
```
|
||
|
php /usr/share/nextcloud/occ ldap:show-config s01
|
||
|
```
|
||
|
|
||
|
Check a user:
|
||
|
|
||
|
```
|
||
|
php /usr/share/nextcloud/occ ldap:search Emmanuel
|
||
|
```
|
||
|
|
||
|
Check a login name:
|
||
|
|
||
|
```
|
||
|
php /usr/share/nextcloud/occ ldap:check-user gnunux@gnunux.info
|
||
|
```
|
||
|
|
||
|
## admin
|
||
|
|
||
|
su - apache -s /bin/bash -c "php /usr/share/nextcloud/occ app:disable oidc_login"
|
||
|
Password : password/nextcloud.in.gnunux.info/nextcloud/admin_password
|