Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

How to enable Kerberos authenticating? #62

Open
WilixLead opened this issue Sep 4, 2017 · 5 comments
Open

How to enable Kerberos authenticating? #62

WilixLead opened this issue Sep 4, 2017 · 5 comments

Comments

@WilixLead
Copy link

Hello!

I found in module docs "params is optional and is in any format accepted by libpq. The connection string is passed as is to libpq, so any format supported by libpq will be supported here. Likewise, any format unsupported by libpq will not work. If no parameters are supplied libpq will use environment variables to connect."
libpq support:
PGKRBSRVNAME
PGREALM

for support kerberos authantication. I try use this envs, also I try use connection string like
"postgresql://myuser@localhost:5432/mydbname?krbsrvname=some/mydomain.com@MYREALM.COM"

But all not work. In most tries I got "fe_sendauth: no password supplied"
What I doing wrong?

Thanks!

@brianc
Copy link
Owner

brianc commented Sep 5, 2017

Kerberos isn't supported in node-postgres yet. I'm happy to review a PR for the functionality if you build it. Also If your company needs this feature I am happy to engage with you on a contract basis to add it myself.

If you or your company benefit from node-postgres and have the means, please consider supporting my work on Patreon.

@vy-ton
Copy link

vy-ton commented Jun 30, 2020

@brianc Is Kerberos still unsupported in node-postgres?

@vy-ton
Copy link

vy-ton commented Sep 9, 2020

@charmander any progress here?

@vy-ton
Copy link

vy-ton commented Oct 20, 2020

@charmander Do you still have plans to work on adding GSSAPI authentication?

@dpalmetzvbg
Copy link

dpalmetzvbg commented Feb 23, 2021

@brianc Can you please contact me regarding this issue? Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants