Re: Managing LDAP User permissions - Mailing list pgsql-admin

From M Sarwar
Subject Re: Managing LDAP User permissions
Date
Msg-id DM4PR19MB5978D116F594C7985A0A5982D33EA@DM4PR19MB5978.namprd19.prod.outlook.com
Whole thread Raw
In response to Managing LDAP User permissions  ("Wetmore, Matthew (CTR)" <Matthew.Wetmore@express-scripts.com>)
List pgsql-admin
That is approach adopted by my previous federal client when an employee or contractor  rolls out of the project.
Thanks,
Sarwar


From: Wetmore, Matthew (CTR) <Matthew.Wetmore@express-scripts.com>
Sent: Thursday, July 20, 2023 11:10 AM
To: sbob <sbob@quadratum-braccas.com>; Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Managing LDAP User permissions
 
Removing user from ldap config will not remove from PG.

As Far As Best Practices, I have always Expired the password in PG and comment on that employee left.  We still leave the user intact (with expired psswd) for any audit need.
Expiring the psswd also gives you an exact timestamp in the db when they were denied db access.

-----Original Message-----
From: sbob <sbob@quadratum-braccas.com>
Sent: Thursday, July 20, 2023 7:53 AM
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: [EXTERNAL] Managing LDAP User permissions

All;


I know from the docs I can deploy LDAP authentication, one we do this how do we manage permissions within the database foe various LDAP users?
Can I setup automatic permissions based on LDAP groups?

Can we ensure that if an employee leaves then these permissions are automatically removed?


Is there a best practice for this?


Thanks in advance




pgsql-admin by date:

Previous
From: "Wetmore, Matthew (CTR)"
Date:
Subject: Managing LDAP User permissions
Next
From: Ron
Date:
Subject: Re: How to schedule long running SQL job