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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

LDAP Authentication with spaces in DN



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"

 

 



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group