Skip site navigation (1) Skip section navigation (2)

LDAP Authentication with spaces in DN

From: César Miguel Oliveira Alves <calves(at)caso(dot)pt>
To: pgsql-bugs(at)postgresql(dot)org
Subject: LDAP Authentication with spaces in DN
Date: 2008-07-22 09:30:35
Message-ID: 209F5D5B39EDD711A7A80000F810D18E0102F9D1@hercules.caso.pt (view raw or flat)
Thread:
Lists: 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

Next:From: valgogDate: 2008-07-22 09:31:32
Subject: Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping
Previous:From: valgogDate: 2008-07-22 09:26:47
Subject: Re: BUG #4319: lower()/upper() does not know about UNICODE case mapping

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group