On a server running Debian 8, how can I set up phabricator so that users are authenticated using a local LDAP server?
(Choosing LDAP because the same accounts should also be used by other web applications on the same server later)
On a server running Debian 8, how can I set up phabricator so that users are authenticated using a local LDAP server?
(Choosing LDAP because the same accounts should also be used by other web applications on the same server later)
Replace all occurrences of ***** with secure passwords and store them safely.
Replace all occurrences of example.com with something sensible.
Use ssh X11 tunneling for the jxplorer application if you have no local X.
New password for the mysql root user: *****
Admin password for LDAP: *****
Enter
start jxplorer, connect, enter
save connection settings if you like
Add new users below "users" with objectClass account,simpleSecurityObject:
Exit jxplorer
Download debian binary packages from testing distribution: phabricator, arcanist, libphutil. Use https://packages.debian.org/testing/phabricator to find the download links
phabricator domain: phabricator.example.com web server: nginx MySQL administrator account username: phabricator
Setup DNS: Either have phabricator.example.com point to your server in DNS. Or add the ip address of the server to the client's /etc/hosts file as phabricator.example.com
if this fails, then issue
to get the error message.
if the error message is
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32 then edit /etc/nginx/nginx.conf to include something like
Open http://phabricator.example.com/ in a web browser. It displays:
Authentication Failure. Your login session is invalid. Try reloading the page and logging in again. If that does not work, clear your browser cookies.
So I reload.
On the web page:
Open the Auth application,
Go to phabricator startpage, Open the people application, choose webadmin Edit settings, Authentication External Accounts, Add External Account LDAP
Check if login via LDAP works:
The user/password Auth Provider can now be disabled. Log out and log in again to check
Check if user registration over LDAP works:
Account needs Approval
Log out and log in again as webadmin
Go to Phabricator start page
Log out
Check login as developer
Check registration as reviewer