Getting Greenplum to work with OS ldap.conf file

In greenplum_path.sh file, found in $MASTER_DATA_DIRECTORY, add:

LDAPCONF=/etc/openldap/ldap.conf
export LDAPCONF

Restart your Greenplum server. Then, of course, you need the LDAP lines in your pg_hba.conf file.

This is a line for a group role in your Greenplum server.  For a specific user role, just change +greenplum_group to a specific role name.

hostssl  data  +greenplum_group  IPsAllowed/24  ldap ldapserver=ldapservername ldapport=ldapport ldaptls=1 ldapbinddn="your bind dn" ldapbindpasswd="bind account password" ldapsearchattribute="cn"  ldapbasedn="base DN"

Finally, configure ldap.conf for your environment.

Comments

Popular posts from this blog

Database, schema, and table sizes in Greenplum

Greenplum update with multiple tables

Show running queries on Postgresql/Greenplum