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

Location of ident code

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Location of ident code
Date: 2008-07-29 14:41:55
Message-ID: 488F2C33.9020208@hagander.net (view raw or flat)
Thread:
Lists: pgsql-hackers
Does anybody know if there's a reason why the ident code lives in hba.c,
but all other authentication code lives in auth.c? Is it just the fact
that ident supports the pg_ident.conf file, for which the processing is
located there, or is there some deeper reason?

I came across this while looking at extending the usemap stuff to work
with other authentication methods as well, and cleaning up some of the
parameter parsing in pg_hba.conf, per some of the discussions at pgcon.
So if nobody knows any other reasons for it to be there, I'd like to
move the ident stuff over to auth.c for clarity. Any objections to that
in principle?

//Magnus

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2008-07-29 14:43:54
Subject: Re: pg_regress inputdir
Previous:From: Heikki LinnakangasDate: 2008-07-29 14:27:23
Subject: Re: [PATCHES] odd output in restore mode

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