Bug 16254 - Postgres Authentifizierung per UCR konfigurierbar machen.
Summary: Postgres Authentifizierung per UCR konfigurierbar machen.
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: PostgreSQL
Version: UCS 2.3
Hardware: Other Linux
: P5 enhancement
Target Milestone: ---
Assignee: Bugzilla Mailingliste
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-04 15:26 CET by Felix Botner
Modified: 2014-02-18 21:37 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2009-11-04 15:26:29 CET
Die Authentifizierung für Postgres wird "/etc/postgresql/8.3/main/pg_hba.conf" gesteuert (wer darf sich wie anmelden). Dieses File ist schon ein Template, es gibt aber i.M. keine Möglichkeit weitere Postgres-Benutzer einfach aufzunehmen. Man muss immer das Template anpassen. 

Eine generische Methode Authentifizierungsinformationen für Postgres in diese Datei zu bekommen wäre schön.

postgres/auth/local/database=mydb
postgres/auth/local/user=dbuser
postgres/auth/local/method=password

postgres/auth/host/database=mydb
postgres/auth/host/user=dbuser
postgres/auth/host/method=password
postgres/auth/host/cidr-address="10.200.7.0 255.255.255.0"
Comment 1 Stefan Gohmann univentionstaff 2009-11-04 15:31:53 CET
Das ist aber bereits ein Multifile, oder? Demnach können Pakete einfach ihr Konfigurations-Schnipsel mitbringen, oder reicht das nicht?
Comment 2 Felix Botner univentionstaff 2009-11-04 15:41:19 CET
Richtig, das ist ein Multifile und Pakete von uns können sich da sicher "einklinken". Wenn aber einfach ein Postgres Datenbank benutzen will (z.B. für mediawiki, ...) wäre die Konfiguration über UCR ganz praktisch.
Comment 3 Philipp Hahn univentionstaff 2013-04-17 16:49:51 CEST
Die Reihenfolge der Einträge in pg_hba.conf spielt eine wichtige Rolle, von daher ist das UCR-Schema so wie in comment #0 angegeben zu einfach. (siehe Bug #31081 für ein konkretes Problem durch eine falsche Reihenfolge).
Comment 4 Stefan Gohmann univentionstaff 2014-02-18 21:37:51 CET
This issue has been filed against UCS 2.3.

UCS 2.3 is out of maintenance and many UCS components have vastly changed in
later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug".
In this case please provide detailed information on how this issue is affecting
you.