Questions tagged [keytab]

110 questions
2
votes
1 answer

HttpClient Kerberos Keytab authentication without login.conf

I can successfully send and receive HTTP requests to servers with kerberos, following this and stackoverflow instructions like this or others, and they all require login.conf. However, I'd like to know if there's anyway to get rid of the login.conf…
Thien Nguyen
  • 359
  • 1
  • 3
  • 14
2
votes
1 answer

Why can't I do a kinit with an SPN?

I was following this tutorial on setting up Apache Directory Studio for a webapp to develop and test out kerberos authentication (using spnego). I set up the ldap and ticket granting service as well as some basic user accounts. I am able to do a…
2
votes
3 answers

Bash script to use keytab without writing it to disk

I have an encrypted keytab which I'm decrypting, writing it to disk and then using it with kinit. What I want to do is to be able use the keytab without writing it to disk, just decrypt and use it directly with kinit. Here is my script thus far but…
OrigamiEye
  • 864
  • 1
  • 12
  • 31
2
votes
1 answer

HTTPClient login from keytab to access hadoop jobhistory service

I'm writing a java program to access hadoop jobhistory service to retrieve some information. I'm using HTTPClient to make the HttpGet call. I need to login from a keytab file (I have the file on my ~/.ssh/ folder) instead of type in user name and…
2
votes
1 answer

How to fix when tab clicked on first input screen scroll to top. Only in Chrome

How to fix this on website? Inside bottom form. I use input mask on second input (telephone). And when i disable this plugin tab work fine. This my code inputmask: $(".tel").inputmask("+7 999 999 9999",{ placeholder: " ", …
Maksim
  • 21
  • 2
1
vote
0 answers

Client Java program to reach internet through proxy using kerberos/Keytab authentication

I develop a POC to do exactly what's mentionned in this topic's title. For this, I've found jumarko sample which is working perfectly. Many thanks to him for this sample :). However jumarko's sample uses callbackhandler implemetation. Which is a…
OHA
  • 15
  • 7
1
vote
0 answers

Kerberos keytab file generation error: "Failed to set property 'servicePrincipalName' / Warning: Unable to set SPN mapping data"

I am trying to generate a keytab file for kerberos setup. I keep getting an error "Failed to set property "ServicePrinciplalName."" My call Looks like this: ktpass -out ssowebapp.keytab -princ HTTP/pdx-kerbtest@DEV -COMPANY.LOCAL -mapUser…
Lee Rudd
  • 11
  • 1
1
vote
1 answer

Kafka Producer Connection Issue

I am trying send messages through kafka producer but getting following error. I am using following command to establish connection. export KAFKA_OPTS="-Djava.security.auth.login.config=$OSI_HOME/jaas.conf…
user5726687
  • 11
  • 1
  • 4
1
vote
2 answers

Failed to Find Any Kerberos TGT while trying to access Kerberized HBase Without kinit

I have a very simple Scala HBase GET application. I tried to make the connection as below: import org.apache.hadoop.hbase.{HBaseConfiguration, TableName} import org.apache.hadoop.hbase.client.{ConnectionFactory, Get} object Debug extends App { …
gurbux
  • 29
  • 8
1
vote
1 answer

Is there a way to connect to kerberized service using java client API with just credentials and not keytabs

I have written a code that uses keytabs to access the hadoop but i want it to use just the credentials instead of the keytabs, is there a way to do it? Following is the code I am currently using - public static void…
User_qwerty
  • 375
  • 1
  • 2
  • 10
1
vote
0 answers

Kerberos - keytab file only works with certain password

I am trying to implement Kerberos Integration for Keycloak on a Windows domain. I have added an ldap provider in Keycloak and setup my connection with AD which all works. I am testing it out on a sandbox environment Domain: SANDBOX.NET DC:…
Remi
  • 11
  • 2
1
vote
1 answer

Jsch connection with Kerberos

I have a simple Java application which runs a ssh command on remote using Jsch. The implementation works for username and password. Now, I've setup a Kerberos server and want to authenticate using the same. From a client system (Linux) I can ssh to…
1
vote
0 answers

Kerberos kinit cache vs keytab in java to access secure HBase

I am writing a java program to access seured HBase on kerberized cluster. My understanding is I can do it in two ways: Login using principal name and password to create TGT in cache and use it to access the hbase. Using keytab file to access…
Sandeep Kumar
  • 13,799
  • 21
  • 74
  • 110
1
vote
2 answers

Is the ktpass command disable password authentication

I just have a little question about the ktpass command. I have a user my-test-user with a password myPassword!. I can log in with this account via the username and the password. But when I use the following command to generate a keytab file, I just…
M4kn4sh
  • 540
  • 7
  • 22
1
vote
0 answers

Can I distribute docker image with pregenerated keytab file?

My application is using Kerberos authentication. My application is delivered via docker images. Docker image can be run on any host. Keytab file which is used by Kerberos for authentication contains host name and encrypted password of the…
MiamiBeach
  • 3,261
  • 6
  • 28
  • 54