askin for LDAP configuration

From: Salih Zengin <salih(dot)zengin(at)sellics(dot)com>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: askin for LDAP configuration
Date: 2021-01-08 09:49:36
Message-ID: CAKrrE_f5h6zpgj0nHD+y7hJ-xN9f=gGSHCtAtQUS3V4ma6wKwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi guys,

I am trying to setup our Azure ADDS LDAP with pgadmin.
I have two problems where I cant find a good solution.
- name: PGADMIN_CONFIG_LDAP_USERNAME_ATTRIBUTE
value: "'cn'"
This is only working for cn for me. userPrincipalName, mail or
sAMAccountName as attribute are not working, idk why. We have some
users with special character in their cn, and also in general this
should be classic the account name.

I want to limited the user access. When I use this, it is also not working:
- name: PGADMIN_CONFIG_LDAP_BASE_DN
value:
"'(&(objectClass=user)(|(memberof=CN=ldap_PGadmin,OU=AADDC
Users,DC=xxxyyy,DC=com)))'"

Of course the general BASE_DN works and find my cn user
- name: PGADMIN_CONFIG_LDAP_BASE_DN
value: "'OU=AADDC Users,DC=xxxyyy,DC=com'"

Does anyone have a hint / advice for this?

Thanks in advance.
salih

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Nasrin Kianpoor 2021-01-08 11:20:34 RE: Create server in pgAdmin
Previous Message sylviayzc 2021-01-08 06:38:32 Re: upload large files in pgadmin