Questions tagged [kerberos]

A network authentication protocol developed at MIT that allows secure authentication for both the user and the server.

Filter by
Sorted by
Tagged with
0
votes
0answers
43 views

Kerberos - configure constrained delegation using SQL Server's virtual accounts

I'm trying to setup Kerberos constrained delegation to solve my double hop problem. I'm using standard SQL Server configuration with Virtual Account (NT SERVICE\MSSQLSERVER) as a service account for ...
1
vote
1answer
40 views

MS SQL server - linked server target configuration

I am setting up a linked server using kerberos authentication, but I am running into a problem that I have not seen before. I have set up linked servers using kerberos previously without problems. On ...
1
vote
1answer
67 views

Cannot connect to MSSQL using kerberos auth

We have a standalone SQL server [Microsoft SQL Server 2019 (RTM) - 15.0.2000.5 (X64)] that we'd like to use kerberos authentication with, to enable querying of other databases via linked servers. We'...
0
votes
1answer
15 views

MongoDB 4.4 Enterprise and Kerberos Authentication

I am trying to setup Kerberos authentication to work with MongoDB Enterprise 4.4. My OS is Centos 8. I have configured SELinux as described in https://docs.mongodb.com/manual/tutorial/install-mongodb-...
0
votes
0answers
14 views

Authenticating Postgresql users with Active Directory

Following this procedure, I've arrived at the step: (if you do not have a ticket already, run: kinit sfrost@DOMAIN.LOCAL) But when I do that... $ hostname blarg $ kinit -V ron@EXAMPLE.COM Using ...
0
votes
1answer
68 views

Linked server only works if I am on the machine itself. I can't use it from my local computer. what is missing?

I have a few queries that I use to monitor log shipping. Sometimes I want to run those queries on a different server. I usually do that through a linked server. I have a server called SQLDEV4-TS that ...
0
votes
1answer
31 views

Could I control which protocol will ODBC uses to connect MSSQL on "integrated windows authentication"

I have a Windows machine that should connect to an MSSQL instance with an ODBC driver using "windows integrated authentication". Now according to the specifications of the login message the ...
0
votes
1answer
145 views

Does my PostgreSQL instance support kerberos/gssapi authentication?

I installed it following instructions from digital ocean how-to-install-postgresql-on-ubuntu-20-04-quickstart: % sudo apt install postgresql postgresql-contrib I also did a 'show all' in psql and ...
0
votes
0answers
38 views

SQL Server 2019 on Ubuntu Throwing security.crypto.symkey errors

I'm repeatedly seeing the following error, seemingly for every connection to SQL: 04/06/2021 16:39:25.890647613 Error [security.crypto.symkey] <0000004241/0x00000c34> Setting Variable Length ...
1
vote
1answer
151 views

Kerberos Issue - Anonymous Login

I have a linked server that connects one SQL Server to another SQL Server. For two weeks now there has been an error when testing the connection; Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. ...
0
votes
0answers
43 views

Authenticate mssql server using kerberos all running on local mac os

I have SQL Server running on docker and did the setup using the following : https://www.quackit.com/sql_server/mac/install_sql_server_on_a_mac.cfm Then I setup Kerberos on local using the following : ...
6
votes
2answers
489 views

Intermittent SQL Delegated Authentication Errors

Here is an odd issue that is causing me to lose all my hair. Every few days or so our delegated authentication from one SQL server to another fails with the error: Login failed for user 'NT AUTHORITY\...
0
votes
0answers
34 views

Oracle Kerberos LDAP authentication without KTPASS

I am working on trying to set up LDAP authentication on an Oracle 19c machine. The Active directory server I am authenticating against is a government service and they don't allow the kind of ...
1
vote
1answer
169 views

SQL Server Linked Servers not connecting

I have configured linked servers with "connections will be made using the login's current security context", but can only make use of them when logged on to the server, not from another machine... ...
0
votes
1answer
1k views

SSPI Handshake failed

I am facing a strange situation... On a SQL2016 on Windows 2019, I have an application running on windows2019 that connect to the SQL server using a domain service account (same domain as the SQL ...
0
votes
2answers
158 views

pre login initialization =29237; handshake=26244

Connecting to one of my servers (no mirror or availability group running), from a local machine and I get this error message below related to handshake when the firewall is up. when the firewall is ...
2
votes
1answer
554 views

Old ODBC app throws "cannot generate sspi context" on Windows 10

An old Access 2003 .adp project is currently running on Windows 7 machines, while SQL Server 2008 is on the backend. Since the app is moved to a Windows 10 machine, the app will trigger "Cannot ...
0
votes
0answers
118 views

unable to set kerberos authentication in mssql 2014 express

Hello I've recently installed MS SQL 2014 Express in MS Server 2016 Essential I wanted to use Kerberos authentication so I've run through many pages but whenever I'm trying authentication always says ...
5
votes
1answer
558 views

how to stop using sql server login credentials in a linked server?

I have a linked server based in Italy server_italia that connects to a server based in Oregon USA ORDB1 we are on different but trusted domains. The connection from server_italia to ORDB1 is made ...
0
votes
0answers
101 views

mssql + sssd Ubuntu cannot login via AD group

I've got mssql 14.0.3192.2-2 setup unter Ubuntu; I have joined my machine to AD as described here. The Windows login via SSMS and sqlcmd works if I add invididual AD users, but not if I add groups. ...
0
votes
1answer
108 views

differences in the authentication scheme - could it be because of Kerberos?

I am using this script to check the connections to my sql server: select C.client_net_address, S.host_name, c.session_id, c.net_transport, c.protocol_type, c.auth_scheme, s.program_name from sys....
1
vote
0answers
504 views

SSIS 2017 KerberosSupport - Double Hop Issue

I am having an issue with what appears to be a kerberos double hop issue with SSIS 2017. The setup consists of a backend database cluster servers (DBSERVER01\02) an Application\SSIS server (...
1
vote
1answer
311 views

Question on Enabling Kerberos Authentication using SetSPN for Availability Listener alternative DNS name

We have Availability Group, and original DNS name that was given to AG Listener, is too long (something like longername-Listener-01.mydomain.com); Its hard for us to change original DNS name of ...
2
votes
0answers
533 views

Enabling Kerberos for Microsoft SQL Server Reporting Services

I am trying to enable Kerberos for MS SQL Server Reporting Services. I am fairly familiar with Windows security and how it works. However, I am new to Scale Out Deployment and Clustering of Windows ...
1
vote
3answers
2k views

NTLM vs Kerberos authentication - questions

We have 4 servers, all are members of the same Domain: 1. SQL 2012 on Windows Server 2016 2. SQL 2012 on Windows Server 2012 3. SQL 2017 on Windows Server 2016 4. SQL 2017 on Windows Server 2016 I ...
0
votes
1answer
1k views

How to get Kerberos working against a named SQL Server instance in Power BI Report Server?

I have a Power BI Report Server working perfectly connecting to SQL Server machines with a default instance only. I can also connect to SSAS named instances with the proper SPNs and by allowing ...
2
votes
1answer
3k views

SQL Server - register Service Principle Name without service restart?

I have a live SQL Server 2012 environment that had no SPN registered - this has previously not been an issue as Kerberos authentication wasn't required. But now it is required. I have configured ...
0
votes
0answers
1k views

Why SQL Server Kerberos authentication does not work?

I am trying to find out why there is no Kerberos authentication on my SQL instance : SELECT COUNT (auth_scheme) as nb, auth_scheme --net_transport, client_net_address FROM sys.dm_exec_connections ...
2
votes
0answers
2k views

SQL Server SPNs not being created, state: 43

I'm trying to configure a SQL Server 2014 (12.0.5000.0) instance to use a regular user account in AD and Kerberos auth. During installation the default accounts (local system ones) were used, and the ...
3
votes
1answer
121 views

Using DNS per application in ConnectionStrings

I have come across an idea recently when I had to migrate a ton of in-house applications to a new SQL server. The more I look at it, the more it sounds perfect, but I wanted to ask the community for ...
0
votes
1answer
1k views

Linked Server - Double Hop - Kerberos - TCP

I am having trouble with a Linked Server. I would typically not use a linked server, but legacy issues are forcing my hand. I am attempting to set up a linked server between two new production SQL ...
1
vote
0answers
289 views

Postgresql delegated authentication with S4U2 not working

I am trying to authenticate to Postgres with Kerberos using S4U2 delegation with a service principle impersonating the user. I have delegated the principal 'HTTP/sp01.domain' to login as 'username' ...
1
vote
0answers
1k views

SQL Server Kerberos Delegation on Failover Cluster Instance

I am attempting to setup kerberos delegation on a SQL Server failover cluster in order to get around the double-hop issue but have hit a roadblock. Environment Overview: Four SQL Servers in two ...
1
vote
1answer
3k views

Windows Authentication for SQL Server Linked Servers

Currently, on our project, we have a situation: there are a SQL Server 2012 instance IA in domain A and MS SQL Server 2012 instance IB in domain B. Domains A and B are trusted. IB configured as the ...
0
votes
1answer
800 views

cannot generate sspi - None of Solution worked!

I am receiving "cannot generate sspi" error when I try to connect a sql instance remotely. I suspected the issue might be with spn and verified that spn was registered properly on the service account(...
10
votes
2answers
18k views

What should my SPN entries look like for each SQL instance?

I'm finding contradictory information for how exactly to format SPNs (Service Principle Names) to get the proper Kerberos connections, and how many I need for each SQL instance. This 2017 MS document ...
1
vote
0answers
775 views

Occasional Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. Reason: Token-based server access validation failed with an infrastructure error

I know that this issue has been discussed elsewhere and I already read it. Our problem is that this occurs only once a day (roughly), the rest of time everything works fine. SERVER RS Windows Server ...
20
votes
2answers
71k views

The certificate chain was issued by an authority that is not trusted

some time ago I installed SQL server 2016 developer edition on a windows 10 home edition environment (a laptop to be precise) and everything was fine. then someone - an administrator on the box - ...
4
votes
1answer
1k views

SSMS connections not using KERBEROS over VPN - why?

I have a very simple setup. SQL Server X (2012) and SQL Server Y (2016). X has a linked server to Y using the setting "Connections will: Be made using the login's current security context". SPNs are ...
1
vote
1answer
559 views

Can I configure Oracle such that a Windows client can connect to a Linux Oracle server without a password?

I am attempting to configure Kerberos authentication to an Oracle 11.2 database from a Windows client. The goal is to have an IIS Application Pool connect to the DB via its service account ...
1
vote
1answer
1k views

Access - SQL Server: cannot generate SSPI context

I actually understand why this error messages pops up, but I do not know how to implement my solution. There is a SQL Server network instance I am providing some MS Access forms to interact with, ...
4
votes
1answer
3k views

set SPN on SQL cluster

I have a question about how to manually set SPN for using Kerberos authentication on a SQL cluster. Do I set one SPN on the clustername or one on each node? I also have a default named instance, do ...
2
votes
2answers
3k views

Kerberos Configuration Manager - Does it work with SQL Server 2016?

I have just installed Kerberos Configuration Manager on a clustered SQL Server 2016 server and trying to connect using the app, it keeps failing. I can connect using SSMS, but not with Kerberos ...
4
votes
1answer
643 views

MongoDB Fails to get TGT

I've setup MongoDB enterprise on CentOS 7 with Kerberos support. Additionally I've setup a Kerberos service on CentOS 7 for the authentication. I know that Kerberos is setup correctly as I now have ...
3
votes
1answer
607 views

What sort of SPN / AD Computer Delegation do you need for delegation of credentials to a linked server that connects to a file share?

The idea here is to perform a double hop and delegate the credentials of the client (leeand00@example.org), that have been sent to the SQL2.example.org server to SQL3.example.org (admittedly this is ...
5
votes
1answer
404 views

What is a Forest?

I am reading the Microsoft article How to troubleshoot the "Cannot generate SSPI context" error message The two quotes imply that if I know what a domain is I should know what a forest is, but I don'...
4
votes
2answers
7k views

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

I have an Operations server running Windows Server 2012R2 and SQL Server 2014 Enterprise back end. This server is used to deploy new code to other production servers via cmd file called by a SQL ...
3
votes
2answers
1k views

Cannot register SPN, error 0x80090350, state 4

This is my first time trying to configure kerberos. I need it for SQL Server. Considerations I'm running SQL Server 2008 R2 on Windows 2008 R2 server. I have an Active Directory account for SQL ...
1
vote
0answers
763 views

Connecting to MS SQL server from a Linux box

I am trying to connect to MS SQLServer from an application that I have written (using Qt) which runs on Linux. Here are some details of the setup: The SQLServer box (SQLBox) is part of my domain (...
0
votes
0answers
291 views

Kerberos and Linked Server

I have been reading through past posts but I am still getting issues with 2 SQL servers connecting using a linked server when querying from a 3rd SQL server. I constantly get the error "Login failed ...