--000e0cd211c4c43edc04743e6636
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello guys,
I'm configuring a new server, and I would to authenticate the users via
LDAP. We already have systems doing this, like Intranet (Joomla! Framework)
and Imap Mail.
So, for tests, I added the following line in the pg_hba.conf (according the
Postgres Documentation):
host all "r.domiciano" 172.16.5.20 255.255.255.255 lda=
p
"ldap://172.16.5.1/ou=3Dusuarios,dc=3Dsenffnet,dc=3Dintranet ;SENFFNET\"
The user "r.domiciano" is already created in the Postgres.
When Trying to connect in the databse via psql, I'm prompted for password,
and then for the error message:
psql postgres -h 172.16.5.20 -U "r.domiciano"
psql: FATAL: autentica=E7=E3o do tipo LDAP falhou para usu=E1rio "r.domici=
ano"
psql: FATAL: LDAP authentication failed for user: "r.domiciano"
In the log I get a message saying "error code: 34"... googling a while I ge=
t
that this is a invalid DN syntax. But i thing the pg_hba.conf is ok.
Has anyone get the same trouble? Helps?
Best Regards,
Rafael Domiciano
--000e0cd211c4c43edc04743e6636
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello guys,<br><br>I'm configuring a new server, and I would to authent=
icate the users via LDAP. We already have systems doing this, like Intranet=
(Joomla! Framework) and Imap Mail.<br><br>So, for tests, I added the follo=
wing line in the pg_hba.conf (according the Postgres Documentation):<br>
<br>host=A0=A0=A0 all=A0=A0=A0=A0=A0=A0=A0=A0 "r.domiciano"=A0=A0=
=A0=A0=A0=A0 172.16.5.20=A0=A0=A0=A0 255.255.255.255 ldap "ldap://<a h=
ref=3D"http://172.16.5.1/ou=3Dusuarios,dc=3Dsenffnet,dc=3Din tranet;SENFFNET=
">172.16.5.1/ou=3Dusuarios,dc=3Dsenffnet,dc=3Dintranet;SENFF NET</a>\"<=
br>
<br>The user "r.domiciano" is already created in the Postgres.<br=
><br>When Trying to connect in the databse via psql, I'm prompted for p=
assword, and then for the error message:<br>psql postgres -h 172.16.5.20 -U=
"r.domiciano"<br>
psql: FATAL:=A0 autentica=E7=E3o do tipo LDAP falhou para usu=E1rio "r=
..domiciano"<br>psql: FATAL: LDAP authentication failed for user: "=
;r.domiciano"<br><br>In the log I get a message saying "error cod=
e: 34"... googling a while I get that this is a invalid DN syntax. But=
i thing the pg_hba.conf is ok.<br>
<br>Has anyone get the same trouble? Helps?<br><br>Best Regards,<br><br>Raf=
ael Domiciano<br>
--000e0cd211c4c43edc04743e6636--
