Page MenuHomePhabricator

How can I disable LDAP?
Closed, ResolvedPublic

Asked by jpchristie on Dec 7 2015, 10:04 AM.

Details

Due to a bad configuration of LDAP server, I can't connect anymore to Phabricator using normal login after activating LDAP.
Thanks

Answers

tycho.tatitscheff
Updated 3,068 Days Ago

You can connect to your webserver and excetute ./bin/auth recover an_admin_username from your Phabricator directory (/path/to/phabricator).
That would create a one time connection token url in form https://phabricator.example.com/login/once/recover/1/ojxldvgdb5frtf6yyadab44psh5ntjou/
Normally you can log with this token by pasting it to a normal browser then clicking allow.

Once that down, you can go to the auth application (http://phabricator.example.com/auth) and either disable ldap or modify the configuration.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.