You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some values such as ldapsuffix, ldapurl, and ldapbasedn that could be contained in the GFlag --ysql_hba_conf that cause an erroneous ysql_hba.conf file to be produced. If there are erroneous entries in that file the postgres front-end "postmaster" will fail to start.
Summary:
Include support in all default builds for:
- LDAP Authentication (by including ldap lib in the build)
- UUID (by including uuid-ossp extension with e2fs implementation)
Additional change:
Add `ysql_pg_conf_csv`/`ysql_hba_conf_csv` flags as substitutions for deprecated `ysql_pg_conf` and `ysql_hba_conf`.
Example how to start the cluster with LDAP authentication
```
./bin/yb-ctl start --ysql_hba_conf_csv='host all yugabyte 127.0.0.1/0 password,"host all all 0.0.0.0/0 ldap ldapserver=ldap.forumsys.com ldapprefix=""uid="" ldapsuffix="", dc=example, dc=com"" ldapport=389"'
```
Test Plan:
Jenkins:
Existing tests, additional tests in:
TestPgRegressExtension (yb_extensions),
Reviewers: sanketh, mihnea
Reviewed By: mihnea
Subscribers: mikhail, rskannan, yql
Differential Revision: https://phabricator.dev.yugabyte.com/D9692
…in default builds
Summary:
Include support in all default builds for:
- LDAP Authentication (by including ldap lib in the build)
- UUID (by including uuid-ossp extension with e2fs implementation)
Additional change:
Add `ysql_pg_conf_csv`/`ysql_hba_conf_csv` flags as substitutions for deprecated `ysql_pg_conf` and `ysql_hba_conf`.
Example how to start the cluster with LDAP authentication
```
./bin/yb-ctl start --ysql_hba_conf_csv='host all yugabyte 127.0.0.1/0 password,"host all all 0.0.0.0/0 ldap ldapserver=ldap.forumsys.com ldapprefix=""uid="" ldapsuffix="", dc=example, dc=com"" ldapport=389"'
```
Test Plan:
Jenkins: rebase: 2.3
Existing tests, additional tests in:
TestPgRegressExtension (yb_extensions),
Reviewers: sanketh, dmitry, rskannan
Reviewed By: rskannan
Subscribers: yql, rskannan, mikhail
Differential Revision: https://phabricator.dev.yugabyte.com/D9787
There are some values such as
ldapsuffix
,ldapurl
, andldapbasedn
that could be contained in the GFlag--ysql_hba_conf
that cause an erroneous ysql_hba.conf file to be produced. If there are erroneous entries in that file the postgres front-end "postmaster" will fail to start.Here are some examples from the PG documentation:
Simple bind config:
Search+bind written as url string:
Another search+bind example with filter:
The text was updated successfully, but these errors were encountered: