1
Server / Mapování uživatelů v PostgreSQL
« kdy: 04. 10. 2024, 09:23:58 »
Zdravim,
Postgres 16.4
RH 9
Potrebuji v posgresql nastavit user mapping na domain account. Cilem je aby se domenovy ucet mohl pripojit na DB.
pg_ident.conf:
pepa pepa@nasedomena.local pepa
pg_hba.conf:
host all all all gss include_realm=1 krb_realm=NASEDOMENA.LOCAL map="pepa"
Log:
[2024-09-30 14:39:06 CEST pepa authentication postgres 192.168.221.77]FATAL: GSSAPI authentication failed for user "pepa"
[2024-09-30 14:39:06 CEST pepa authentication postgres 192.168.221.77]DETAIL: Connection matched file "/opt/identity-profile-db/data/pg_hba.conf" line 120: "host all all 0.0.0.0/0 gss include_realm=1 krb_realm=NASEDOMENA.LOCAL"
Muzete mi prosim poradit, kde delam chybu?
Dik.
Postgres 16.4
RH 9
Potrebuji v posgresql nastavit user mapping na domain account. Cilem je aby se domenovy ucet mohl pripojit na DB.
pg_ident.conf:
pepa pepa@nasedomena.local pepa
pg_hba.conf:
host all all all gss include_realm=1 krb_realm=NASEDOMENA.LOCAL map="pepa"
Log:
[2024-09-30 14:39:06 CEST pepa authentication postgres 192.168.221.77]FATAL: GSSAPI authentication failed for user "pepa"
[2024-09-30 14:39:06 CEST pepa authentication postgres 192.168.221.77]DETAIL: Connection matched file "/opt/identity-profile-db/data/pg_hba.conf" line 120: "host all all 0.0.0.0/0 gss include_realm=1 krb_realm=NASEDOMENA.LOCAL"
Muzete mi prosim poradit, kde delam chybu?
Dik.