GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing www.pgadmin.org — Enabling LDAP Authentication — pgAdmin 4 9.19 documentation
This page in other versions:
Latest
(9.19) | 9.18 | 9.17 | Development
Warning: this documentation is for a pre-release version of pgAdmin 4. Contents
Enabling LDAP Authentication¶To enable LDAP authentication for pgAdmin, you must configure the LDAP settings in the config_local.py or config_system.py file (see the config.py documentation) on the system where pgAdmin is installed in Server mode. You can copy these settings from config.py file and modify the values for the following parameters: There are 3 ways to configure LDAP:
Brute-force protection¶pgAdmin’s built-in account-lockout setting ( When LDAP authentication is enabled, brute-force protection for LDAP credentials is the responsibility of:
See Avoiding a bruteforce attack for the equivalent note on the login page. Internal accounts¶pgAdmin treats accounts from different authentication sources as separate
accounts, even when they share a username. An LDAP user is only ever logged
in to the LDAP account with that username, and never to an The administrator account created when pgAdmin is first set up always uses
the /path/to/python /path/to/setup.py add-external-user ldapuser --auth-source ldap --admin and then deactivate the initial /path/to/python /path/to/setup.py update-user [email protected] --inactive When both internal and ldap are listed in AUTHENTICATION_SOURCES, a username and password entered on the login page are tried against each source in turn, in the order they are listed, and the first source that accepts the password signs the user in; the sources listed after it are not tried. Every source listed before it is still tried, so the password is a failed attempt at each of those. If the same username exists as both an internal and an LDAP account, a wrong password sent to the directory is a failed LDAP bind that counts towards the directory’s lockout, even when a source listed later (such as the internal account) then accepts the sign-in. pgAdmin’s own lockout counter for the internal account increases only when the sign-in fails at every source. Avoid giving an internal and an LDAP account the same username. When LDAP_DN_CASE_SENSITIVE is off, names that differ only in case are the same login. Do not create two accounts whose usernames differ only in case; pgAdmin cannot tell which one a sign-in is for. See Accounts from different authentication sources and User Management for more
information on the | ||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |