LDAP Authentication with spaces in DN - Mailing list pgsql-bugs

From César Miguel Oliveira Alves
Subject LDAP Authentication with spaces in DN
Date
Msg-id 209F5D5B39EDD711A7A80000F810D18E0102F9D1@hercules.caso.pt
Whole thread Raw
List pgsql-bugs

I’m trying to configure LDAP authentication. Added a line to pg_hba.conf with the fowling config:

 

host    all         all         127.0.0.1/32          ldap  "ldap://ldapserver:389/o=My Organization,C=PT;cn =;,o=My Organization,C=PT"

 

when I try to authenticate I got a fatal error line in pg_log like this

 

LOG:  LDAP login failed for user "cn =user1,o=My" on server "ldapserver": error code 49

FATAL:  LDAP authentication failed for user "user1"

 

 

pgsql-bugs by date:

Previous
From: valgog
Date:
Subject: Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping
Next
From: Peter Eisentraut
Date:
Subject: Re: Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping