password authentication fails after assigning a group role to a login role

From: Heiko Folkerts <heiko(dot)folkerts(at)david-software(dot)de>
To: "'pgadmin-support(at)postgresql(dot)org'" <pgadmin-support(at)postgresql(dot)org>
Subject: password authentication fails after assigning a group role to a login role
Date: 2013-10-14 12:34:45
Message-ID: 65A2F5C700780D42B569091A1F84910A96857D0D@exchange1.david-bs.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi all,
I get a error saying password authentication failed when executing the following steps. Please check wether this is a bug or a wrong usage from me.

1. create a login role called "truetest" and assign it a password. The role should get the "can add databases" privilege.
2. add a server using the file menu and call it truetest local using the current host (for which the login role was created) and use the newly created login role as username. I did this on my localhost after a fresh install. I used the password being the same as the username.
3. Connect the newly created server
4. Add a group role called truetest_owner within the group roles node for the super user postgres - where we created the login role in step 1. The new group role gets no password and the privilege "can add databaes"
5. open the properties from the login role "truetest" from step 1 and assign the newly created group role truetest_owner so that truetest is a member of truetest_owner.
6. reconnect the added server frrom step 2
=> the connection fails and a message saying the passwor ntication failed appears.

Dropping the membership to truetest_owner from truetest doesn't fix the problem.

Questions:
1. Can you copy the problem?
2. Is there a workarround for this?

Maybe this is a bug in PostGreSql itself but since I experience the error when using PGAdmin this should be the first place to send the report.

Best regards
Heiko

My System:
Windows 7 64 bit
PostGreSql 9.2.4 (binary installer)

The Problem could be reproduced on another machine.

Mit freundlichen Grüßen
Heiko Folkerts
--
_______________________________________________________
DAVID Software GmbH · Wendenring 1 · 38114 Braunschweig
Tel.: +49 531 24379-14
Fax.: +49 531 24379-79
E-Mail: mailto:Heiko(dot)Folkerts(at)david-software(dot)de
WWW: http://www.david-software.de
Eintragung: Amtsgericht Braunschweig, HRB 3167
Geschäftsführer: Frank Ptok
_______________________________________________________

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dinesh Kumar 2013-10-14 12:59:14 Re: password authentication fails after assigning a group role to a login role
Previous Message Sandeep Thakkar 2013-10-14 10:53:39 Re: user 'postgres' can't we make it as Domain User while installing PostgreSQL9.0