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

Re: [HACKERS] BF Failure on Bandicoot

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,"Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] BF Failure on Bandicoot
Date: 2006-08-21 18:26:26
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0FB5F@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
> > Just guessing from the function name, but does this go away if you 
> > don't configure --with-ldap?
> > 
> > If so it's presumably a portability issue in this recent patch:
> > 
> > 2006-03-06 12:41  momjian
> > 
> > 	* configure, configure.in, src/backend/libpq/auth.c,
> > 	src/backend/libpq/hba.c,
> > src/backend/libpq/pg_hba.conf.sample,
> > 	src/include/pg_config.h.in, src/include/libpq/hba.h: This patch
> > 	adds native LDAP auth, for those platforms that don't have PAM
> > 	(such as Win32, but also unixen without PAM). On Unix, uses
> > 	OpenLDAP. On win32, uses the builin WinLDAP library.
> > 
> > 	Magnus Hagander
> > 
> > I'd counsel just leaving --with-ldap off until Magnus gets 
> back from 
> > vacation.  We can always revert the patch later if he can't fix it.
> > (There's some fairly ugly stuff going on at lines 69-89 of 
> > backend/libpq/auth.c, which I bet is the root of the 
> trouble, but I'm 
> > not going to dig further --- I've wasted more than enough time on 
> > Windows this week ;-))

Attached is a patch that fixes this issue at least in my test machine
(yes, I found one 2000 machine that was broken as well)

//Magnus

Attachment: ldap.patch
Description: application/octet-stream (4.0 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Gregory MaxwellDate: 2006-08-21 18:46:05
Subject: Re: Replication
Previous:From: Marko KreenDate: 2006-08-21 18:10:10
Subject: Re: [PATCHES] [PATCH] Provide 8-byte transaction IDs to

pgsql-patches by date

Next:From: Tom LaneDate: 2006-08-21 19:23:48
Subject: Re: [HACKERS] BF Failure on Bandicoot
Previous:From: Marko KreenDate: 2006-08-21 18:10:10
Subject: Re: [PATCHES] [PATCH] Provide 8-byte transaction IDs to

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