javax.naming.AuthenticationException in GSSAPI

I'm trying to perform NTLM bind using JAVA GSSAPI. I'm receiving this error: javax.naming.AuthenticationException: GSSAPI [Root exception is javax.security.sasl.SaslException: GSS initiate failed...

How does SPN with Kerberos works

As I understand it, SPN is an authenticating tool for windows services. Kerberos is a user authentication service SPNEGO-GSSAPI is the third party API to be able to use those services. SSPI : is...

google-compute-engine: Attempting to ssh into instance - getting Permission Denied

I am using the gcutil to attempt to SSH into my new Google Cloud instance. When it went through the set up, it asked me to enter a passphrase. Now when I attempt to access the instance, it...

LDAP Continuation Reference error in search results from Active Directory when using GSSAPI authentication in Java

UPDATE: Based on the comment from @Michael-O below, it seems like the correct way to handle this issue if for the LDAP JNDI provider or the SASL implementation to canonicalize the host name by...

GSSAPI - Windows Active Directory Interoperability - error accepting context: Wrong principal in request

We are writing softwares that run on both Windows and Linux, and plan to use Windows Active Directory for authentication. I am struggling with the issues described below, and would appreciate any...

Install pip in docker

I'm not able to install pip in Docker. Here's my Dockerfile: FROM ubuntu:14.04 # Install dependencies RUN apt-get update -y RUN apt-get install -y git curl apache2 php5 libapache2-mod-php5...

can't connect to spotify kafka container, basic connection problems

stumbling at the basics with docker and kafka, cant get a client connection what i've done so far installed docker windows on windows 10. open kitematic, and searched for kafka, and selected the...

Permission denied (publickey) Bitbucket

I have a repository in Bitbucket, and I can't clone it, because I'm getting Permission denied (publickey). I have generated the SSH key and added it in my Bitbucket account settings. I have set...

Getting Kerberos Service Ticket Using Waffle in Java

I am working on true SSO in Java application running on Windows 10. My application already has Kerberos auth using Java's GSSAPI (but it obviously does not work on any modern Windows, especially...

How to connect ASP.Net Core to a SQL Server Docker container on Mac

I am developing an ASP.Net core MVC application using Visual Studio 2017 on Mac. However, I am facing some problems to connect to an instance of SQL Server that is running on a Docker...

How can I ssh into a server that requires two password authentication using Python's Paramiko module?

How do I ssh to a server that requires dual password authentication using Paramiko? When using a particular user, it first prompts for the user password and then for another password, so my...

How to read display name from kerberos service ticket

After application service gets a Kerberos service ticket from the client over HTTP header. How we can read cname (aka UPN) from the ticket. I'm using ruby this ruby gem...

Docker with dotnet restore causes error: GSSAPI operation failed - An unsupported mechanism was requested

Having an ASP.NET Core 2.2 web application, I try to restore NuGet packages behind a coperate proxy FROM mcr.microsoft.com/dotnet/core/sdk:2.2 AS sdk-image WORKDIR /app/ ARG HTTP_PROXY ENV...

Connecting to SFTP through domain instead of IP fails

I'm using Renci SSH.NET to upload files to a server. I can do it easily with SFTP server IP, but when I try to set my server domain I recieve an exception No connection could be made because the...

Offset commit failed on partition

Kafka consumer continues to print error messages I built a cluster (kafka version 2.3.0) using 5 machines kafka, which has a partition with a partition of 0 and a data copy of 3. When I consume...

Kafka producer time outs in wso2 esb

We are getting below exception with Kafka 2.11 and wso2 esb 6.2 with sasl enabled. SASL mechanism in wso2 esb and Kafka clsuter is PALIN but randmoly seeing Error 2 in logs. Does anybody...

Mysql will not install due to mariadb install but mariadb is not installed

Been trying for hours to get mysql installed but it failed due to a conflict. This is a brand newly installed CentOS 8 x64 (latest) and it's fully updated. There are no custom packages installed...

How to build and install yugabyte db version 2.0.6.0 from github source?

a) downloaded yugabyte-db.tar.gz from github b) created directory /opt/yugabyte/yugabyte-2.0.6.0 c) extracted to /opt/yugabyte d) made /opt/yugabyte/yugabyte-master as present working directory e)...

Getting 'Permission denied (password).' when doing multi-factor authentication (key and password) in SSH.NET

I know this question has already been asked on other posts, but I couldn't find any satisfying answer. I'm using the Renci.SSH (SSH.NET version 2016.1.0 in C#) to connect to SFTP. I have an SFTP...

Error: failed to prepare subPath for volumeMount "site-data" of container "test-app"

I need to deploy that need plenty of volumes from different directory so i'm currently trying to use the subpath feature in a nfs volume but i keep getting this error : Error: failed to prepare...

How to handle different servernames with SPN, apache2 on OpenShift, and kerberos SSO auth

I'm trying to create a generic apache2 webserver as an authentication "gateway". Scenario: Someone browses to spn-servername.active-directory.int/secure, apache should try to use kerberos to...

Windows authentication in linux docker container

i am trying to use windows authentication in linux docker container under kubernetes. I am following this settings:...

“The token supplied to the function is invalid” error when validating SPNEGO Response Token with SSPI

We are reconfiguring a SPNEGO / Kerberos SSO application to use AES128 / AES256 instead of the the weak encryption ciphers DES and RC4. Some days ago I posted a preparatory question: Now we have...

Problem to access Deployment with service

I'm trying to run Zipkin on Kubernetes cluster. This is my Deployment file: apiVersion: v1 kind: Service metadata: name: zipkin namespace: default labels: app: zipkin spec: type:...

Spring kafka : Metadata is not ready: we have not fetched metadata from the bootstrap nodes yet

I am integrating spring and Kafka but not able to establish connections to Kafka Broker. i have two machine I setup kafka on A machine and want to connect from B machine but have some connection...

Verify credentials using krb5 and GSSAPI Python

I'm working on a project for university where I have to verify credentials as a last step. I should verify if those credentials are valid and I don't have to connect to any service or gain any...

SSH.NET SFTP client giving "Path does not exists" when connected to Cerberus SFTP server

I am using SSH.NET. I am able to connect and I can also see the working directory being returned as "/". But when I try to list files on the same directory that is being returned, I get the...

EWS api - Unable to connect ExchangeServer on-prem

I am implementing the Microsoft EWS api in order to get emails from the on-prem Exchange Server. Considering that the Microsoft has abandoned the development, I am using the sherlock1982 fork from...

BASH Script - SCP - Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)

I was requested for work to have a server that kinda acts like a backup for specific files mostly around 30 (cannot bind them together to a folder) they are scattered all over the server need to...

ChainedTransactionManager with DataSourceTransactionManager + KafkaTransactionManager. Kafka sends operation are not getting rolling back

I am trying perform DB + kafka send operation in @Transactional. But when exception occur in transactional method, DB operation is getting rollback successfully but kafka transaction is not...