From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Authentication drop-down? |
Date: | 2004-03-18 21:39:07 |
Message-ID: | 200403181339.07982.josh@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Folks,
Jeremy handed me an interesting feature proposal at last night's SFPUG
meeting.
PG authentication methods ought to have drop-downs to other authentication
methods, in the same manner as SSH and PAM.
The idea would be this, if you had the following in your pg_hba.conf:
somedb jeremy 23.165.22.198 255.255.255.255 kerberos
somedb jeremy 23.165.22.198 255.255.255.255 md5
Then, when jeremy tries to connect to somedb from 23.165.22.198, the system
would first try kerberos authentication, and if that fails offer an md5
password login. Only when the system ran out of applicable lines in
pg_hba.conf would the user be rejected.
Any reason why this is a bad idea? It would improve the lives of a lot of
kerberos and SSL users who have to deal with flaky authentication issues.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2004-03-18 22:28:06 | Re: COPY formatting |
Previous Message | Tom Lane | 2004-03-18 21:28:36 | Broken code in pquery.c |