Feature Request - Mailing list pgadmin-hackers

From Jeff Sacksteder
Subject Feature Request
Date
Msg-id CAOgeiBa7xZd=yqJCbG8EasbJO+jOMWX0+UPuEtwf88v_L5Oq+Q@mail.gmail.com
Whole thread Raw
List pgadmin-hackers
It's not clear what list is appropriate for feature requests, so I'm guessing here.

I'd like to be able to create database connections on Windows using the currently-logged-in user. Since PgAdmin stores connections per-user, that can be captured at the time the connection is created instead of dynamically when the server connection is opened.

It could be a simple as a checkbox called 'Use current windows login'. When checked, it would fill the username field with the text 'user@domain', set password to blank and lock the fields to prevent input. Or perhaps a set of radio buttons labled 'Postgres Login' and 'Windows Login'.

It's not so much that typing that in is an issue. The two issues are -
1. Knowing that the username needs to be user@domain, not user, domain\user or user@domain.local
2. Knowing that the password field should be left blank. The contents of this field are disregarded if SSPI is in effect and having it available for input can produce confusion about what sort of auth is being used or in the case of auth failure, what the root cause is.

Is this something that can be added to the To-Do list?

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: wxWidgets 3.0 support in pgAdmin
Next
From: Neel Patel
Date:
Subject: Re: wxWidgets 3.0 support in pgAdmin