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
<div class="Section1"><p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB" style="font-size:
10.0pt;font-family:Arial">I’m trying to configure LDAP authentication. Added a line to pg_hba.conf with the fowling
config:</span></font><pclass="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB" style="font-size: 
10.0pt;font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB"
style="font-size:
10.0pt;font-family:Arial">host    all         all         127.0.0.1/32          ldap  "ldap://ldapserver:389/o=My
Organization,C=PT;cn=;,o=My Organization,C=PT"</span></font><p class="MsoNormal"><font face="Arial" size="2"><span
lang="EN-GB"style="font-size: 
10.0pt;font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB"
style="font-size:
10.0pt;font-family:Arial">when I try to authenticate I got a fatal error line in pg_log like this</span></font><p
class="MsoNormal"><fontface="Arial" size="2"><span lang="EN-GB" style="font-size: 
10.0pt;font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB"
style="font-size:
10.0pt;font-family:Arial">LOG:  LDAP login failed for user "cn =user1,o=My" on server "ldapserver": error code
49</span></font><pclass="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB" style="font-size: 
10.0pt;font-family:Arial">FATAL:  LDAP authentication failed for user "user1"</span></font><p class="MsoNormal"><font
face="Arial"size="2"><span lang="EN-GB" style="font-size: 
10.0pt;font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB"
style="font-size:
10.0pt;font-family:Arial"> </span></font></div>

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