mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added LDAP authentication support. Fixes #2186
This commit is contained in:
committed by
Akshay Joshi
parent
8ceeb39268
commit
f77aa3284f
@@ -11,6 +11,49 @@
|
||||
"login_password": "PASSWORD",
|
||||
"login_username": "USER@EXAMPLE.COM"
|
||||
},
|
||||
"pgAdmin4_ldap_credentials": {
|
||||
"login_password": "PASSWORD",
|
||||
"login_username": "USERNAME"
|
||||
},
|
||||
"ldap_config": [
|
||||
{
|
||||
"ldap": {
|
||||
"name": "Ldap scenario name"
|
||||
"uri": "ldap://IP-ADDRESS/HOSTNAME:389",
|
||||
"base_dn": "BASE-DN",
|
||||
"search_base_dn": "SEARCH-BASE-DN",
|
||||
"username_atr": "UID",
|
||||
"search_filter": "(objectclass=*)",
|
||||
"use_starttls": false,
|
||||
"ca_cert_file": "",
|
||||
"cert_file": "",
|
||||
"key_file": ""
|
||||
},
|
||||
"ldap_with_ssl": {
|
||||
"name": "Ldap scenario name"
|
||||
"uri": "ldaps://IP-ADDRESS/HOSTNAME:636",
|
||||
"base_dn": "BASE-DN",
|
||||
"search_base_dn": "SEARCH-BASE-DN",
|
||||
"username_atr": "UID",
|
||||
"search_filter": "(objectclass=*)",
|
||||
"use_starttls": false,
|
||||
"ca_cert_file": "",
|
||||
"cert_file": "",
|
||||
"key_file": ""
|
||||
},
|
||||
"ldap_with_tls": {
|
||||
"name": "Ldap scenario name"
|
||||
"uri": "ldap://IP-ADDRESS/HOSTNAME:389",
|
||||
"base_dn": "BASE-DN",
|
||||
"search_base_dn": "SEARCH-BASE-DN",
|
||||
"username_atr": "UID",
|
||||
"search_filter": "(objectclass=*)",
|
||||
"use_starttls": true,
|
||||
"ca_cert_file": "",
|
||||
"cert_file": "",
|
||||
"key_file": ""
|
||||
}
|
||||
}],
|
||||
"server_group": 1,
|
||||
"server_credentials": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user