Search Postgresql Archives

New setup of pgadmin4 with kerberos not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All -

I am new to Postgres and Kerberos. 
That said, I built out Postgres db. I got a keytab file from AD. 
I'm sure it's all sorts of wonky but I did follow instructions and got guidance.

Client based user authentication works from another linux server, after running kinit.

What I can't get working is pgadmin4 as a client.

pgadmin4 local user account to the db works.
pgadmin4 AD account "abcuser" does not work. 

pgadmin4 config_local... default except
AUTHENTICATION_SOURCES = ['kerberos', 'internal']
KRB_AUTO_CREATE_USER = True  


Inside pgadmin4, I set up Connection tab like this:
Hostname = xyzserver
Port = 5432
Maintenance database = postgres
Username = abcuser
Kerberos authentication? = ON

Error:
connection to server at xyzserver (10.2.3.4) failed: GSSAPI continuation error: No credentials were supplied, or the credentials were unavailable or inaccessible. No kerberos credentials available (default cache: KCM:)

postgresql.log :
GSSAPI authentication failed for user "abcuser"
Connection matched pg_hba.conf line
"host all all 10.x.y.z/8 gss include_realm=0 krb_realm=AD.COM"



Docs talk about requiring kerberos keytab for pgadmin4 but I have 2 problems with that. 1) I don't have a registered DNS entry 2) I'm not part of the AD team. It took work to get the keytab file for the db. I'd like to avoid it for clients!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux