LDAP
Hi,
I am using ldap for client authentication. I add a line to pg_hba.conf like this
host all all 192.168.1.104 255.255.255.0 ldap
"ldap://ldapserver:389/dc=domain,dc=com,dc=tr;;,sn=;?sub?(objectclass=*)"
but It doesnt work. I dont want to use this type query;
cn=username, dc=domain, dc=com, dc=tr
I want to search with attribute and filter query like this
ldap://hostname:port/base_dn?attributes?scope?filter
how can I use this in pg_hba.conf ?
Taha Ozket wrote:
Hi,
I am using ldap for client authentication. I add a line to pg_hba.conf like this
host all all 192.168.1.104 255.255.255.0 ldap
"ldap://ldapserver:389/dc=domain,dc=com,dc=tr;;,sn=;?sub?(objectclass=*)"but It doesnt work. I dont want to use this type query;
cn=username, dc=domain, dc=com, dc=tr
I want to search with attribute and filter query like this
ldap://hostname:port/base_dn?attributes?scope?filter
how can I use this in pg_hba.conf ?
The LDAP authentication method does not support filtering. It's
something we'd like to add, but I don't know of anybody actively working
on it.
//Magnus