Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG roles created for group members (ldap_user) are not being granted the PG role created for the group they are a member of (ldap_group) #38

Open
orlando-colamatteo opened this issue Aug 25, 2022 · 4 comments

Comments

@orlando-colamatteo
Copy link

We are seeing the sync happen between active directory and our pg cluster but the users are not granted the role representing the ldap group they are a member of.

State of Active Directory:

  1. Group xyz_biz_analysts contains 1 member sally

What we see in pg cluster:

  1. Role named xyz_biz_analysts is created and granted ldap_groups role
  2. Role named sally is created and granted ldap_users role, but not the xyz_biz_analysts role

Desired:

  1. Role named xyz_biz_analysts is created and granted ldap_groups role - OK
  2. Role named sally is created and granted ldap_users role and is also granted xyz_biz_analysts role
@orlando-colamatteo
Copy link
Author

@larskanis any insight you can provide here?

@MahammadAgayev
Copy link

Same issue here, Any updates?

@natigdba
Copy link

It is problem in me also. I try create by each group and members. Every time users are created before groups. In that case I can't map users to this group. Is there any solution?

  1. I need groups are created before users ?
  2. How to users map to groups in PostgreSQL ?

@NizamiOSS
Copy link

Having similar problem, any ideas ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants