Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[node@centos7.6 krbAuth]$ export KRB5_KTNAME=/srv/keytabs/krbAuth.keytab
[node@centos7.6 krbAuth]$ klist -k /srv/keytabs/krbAuth.keytab
Keytab name: FILE:/srv/keytabs/krbAuth.keytab
KVNO Principal
---- --------------------------------------------------------------------------
32 HTTP/centos.domain.org@DOMAIN.ORG
[node@centos7.6 krbAuth]$ node krb_example.js
-----request-----
{ host: 'centos.domain.org:3005',
connection: 'keep-alive',
'upgrade-insecure-requests': '1',
'user-agent':
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36',
accept:
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'accept-encoding': 'gzip, deflate',
'accept-language': 'en-US;q=0.8,en;q=0.7' }
-----response-----
{ 'x-powered-by': 'Express', 'www-authenticate': 'Negotiate' }
-----request-----
{ host: 'centos.domain.org:3005',
connection: 'keep-alive',
authorization:
'Negotiate YIIJJgY....RxdiO',
'upgrade-insecure-requests': '1',
'user-agent':
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36',
accept:
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'accept-encoding': 'gzip, deflate',
'accept-language': 'en-US;q=0.8,en;q=0.7' }
Segmentation fault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.