Cannot login to local admin after connecting ldap connection

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2): 17
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.29
PHP version (eg, 7.1):7.2.24

The issue you are facing:
Cannot login to local admin after connecting to LDAP/Active directory

Hi, I’m a new user of next cloud and just trying the installaion on my test server.
All setup has been ok. but I have a problem after i connect to my Active Directory/LDAP for my user authentication.
I cannot login to my local nextcloud admin anymore.
I have tried the /index.php/login?direct=1 method but it does not work.
Any tips or procedure to login to local admin/users?
Thank you in advanced