Re: [GENERAL] PostgreSQL and OpenLdap

2007-02-13 Thread Magnus Hagander
Cristiano Panvel wrote: > It does not appear nothing in log, only in /var/log/message the error > of failed in login. > > Feb 13 12:04:16 fns4 postgres[7055]: [4-1] FATAL: LDAP authentication > failed for user "scott" > Feb 13 12:04:20 fns4 postgres[7056]: [4-1] FATAL: LDAP authentication > fail

Re: [GENERAL] PostgreSQL and OpenLdap

2007-02-13 Thread Cristiano Panvel
It does not appear nothing in log, only in /var/log/message the error of failed in login. Feb 13 12:04:16 fns4 postgres[7055]: [4-1] FATAL: LDAP authentication failed for user "scott" Feb 13 12:04:20 fns4 postgres[7056]: [4-1] FATAL: LDAP authentication failed for user "scott" Feb 13 12:04:20 f

Re: [GENERAL] PostgreSQL and OpenLdap

2007-02-13 Thread Magnus Hagander
Fisrt, you still have not shown us the output in the server log. That is still where you will see more information about why it's failing. Second, if that's what you want, you should probably try: ldap://ldap.cb.sc.gov.br/dc=cb,dc=sc,dc=gov,dc=br;uid=;ou=users, Or something along that line. //M

Re: [GENERAL] PostgreSQL and OpenLdap

2007-02-13 Thread Cristiano Panvel
I am not trying thus passed the usuary, and this users does not function is active and functioned in the OpenLdap. ldap ldap://ldap.cb.sc.gov.br/uid=scott,ou=Users,dc=cb,dc=sc,dc=gov,dc=br something is very strange Cris. On 2/13/07, Magnus Hagander <[EMAIL PROTECTED]> wrote: On Mon, F

Re: [GENERAL] PostgreSQL and OpenLdap

2007-02-13 Thread Magnus Hagander
On Mon, Feb 12, 2007 at 09:41:44PM -0200, Cristiano Panvel wrote: > Thanks Magnus, > > Now I am passing the line thus pg_hba.conf > > ## > hostall all 10.193.4.0/24 ldap > ldap://ldap.cb.sc.gov.br/dc=cb,dc=sc,dc=gov,dc=br > ## > > However error in login is occu

Re: [GENERAL] PostgreSQL and OpenLdap

2007-02-12 Thread Cristiano Panvel
Thanks Magnus, Now I am passing the line thus pg_hba.conf ## hostall all 10.193.4.0/24 ldap ldap://ldap.cb.sc.gov.br/dc=cb,dc=sc,dc=gov,dc=br ## However error in login is occurring % psql postgresql -h server -U scott -W psql: FATAL: LDAP authentication fa

Re: [GENERAL] PostgreSQL and OpenLdap

2007-02-12 Thread Magnus Hagander
On Sun, Feb 11, 2007 at 08:54:56PM -0200, Cristiano Panvel wrote: > Hi Friends, > > This is my first post in the list. > > I am not obtaining authentication my users of PostgreSQL in OpenLdap. > > 1) PostgreSQL was compiled with the support to ldap in a FreeBSD System. > "option --with-ldap for

[GENERAL] PostgreSQL and OpenLdap

2007-02-11 Thread Cristiano Panvel
Hi Friends, This is my first post in the list. I am not obtaining authentication my users of PostgreSQL in OpenLdap. 1) PostgreSQL was compiled with the support to ldap in a FreeBSD System. "option --with-ldap for configure". 2) The user also exists in the base of the OpenLdap 3) Already I al