gssapi

Verify credentials using krb5 and GSSAPI Python

 ̄綄美尐妖づ 提交于 2021-02-08 10:38:15
问题 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 rights. I'm a bloody beginner in this feeld so please be patient if I fail to provide enough information. If you ask I will do my best to update this post with the requested information. I'm working on Ubuntu Server 18.04. with Python 3.6. I have the kerberos 5 client software successfully installed on

GSSAPI-Auth with PHP to MariaDB (Windows)

ぃ、小莉子 提交于 2021-02-08 10:36:19
问题 I'm currently working on Single Sign On to a Database-Server in a clean Windows Domain Environment. And as MySQL Enterprise and MSSQL servers are currently no option, it came down to MariaDB with the GSSAPI plugin. That's what I currently have: Server: Windows 7 x64 member of MYDOMAIN MariaDB 10.2.14 x64 Apache2 2.4.33 x64 VC11 + mod_authnz_sspi + PHP 5.6.35 + mod_fcgid MariaDB ODBC Driver x64 HeidiSQL (SQL-Client delivered with the MariaDB installer) FCGID-Config looks as follows ("A:" is

GSSAPI-Auth with PHP to MariaDB (Windows)

巧了我就是萌 提交于 2021-02-08 10:33:38
问题 I'm currently working on Single Sign On to a Database-Server in a clean Windows Domain Environment. And as MySQL Enterprise and MSSQL servers are currently no option, it came down to MariaDB with the GSSAPI plugin. That's what I currently have: Server: Windows 7 x64 member of MYDOMAIN MariaDB 10.2.14 x64 Apache2 2.4.33 x64 VC11 + mod_authnz_sspi + PHP 5.6.35 + mod_fcgid MariaDB ODBC Driver x64 HeidiSQL (SQL-Client delivered with the MariaDB installer) FCGID-Config looks as follows ("A:" is

Connecting to LDAPS with GSS and Channel Binding

馋奶兔 提交于 2020-12-15 05:38:40
问题 I'm trying to bind to an Active Directory server with GSS on a Windows computer that is logged in as a domain user. Normally, this works fine. But when signing and binding is being enforced (see https://support.microsoft.com/en-us/help/4520412/2020-ldap-channel-binding-and-ldap-signing-requirements-for-windows) GSS fails to bind. According to https://bugs.openjdk.java.net/browse/JDK-8245527, this feature was added in JDK 16 (b18), but I have been unable to successfully bind failing with the

Connecting to LDAPS with GSS and Channel Binding

三世轮回 提交于 2020-12-15 05:38:38
问题 I'm trying to bind to an Active Directory server with GSS on a Windows computer that is logged in as a domain user. Normally, this works fine. But when signing and binding is being enforced (see https://support.microsoft.com/en-us/help/4520412/2020-ldap-channel-binding-and-ldap-signing-requirements-for-windows) GSS fails to bind. According to https://bugs.openjdk.java.net/browse/JDK-8245527, this feature was added in JDK 16 (b18), but I have been unable to successfully bind failing with the

Connecting to LDAPS with GSS and Channel Binding

爱⌒轻易说出口 提交于 2020-12-15 05:38:37
问题 I'm trying to bind to an Active Directory server with GSS on a Windows computer that is logged in as a domain user. Normally, this works fine. But when signing and binding is being enforced (see https://support.microsoft.com/en-us/help/4520412/2020-ldap-channel-binding-and-ldap-signing-requirements-for-windows) GSS fails to bind. According to https://bugs.openjdk.java.net/browse/JDK-8245527, this feature was added in JDK 16 (b18), but I have been unable to successfully bind failing with the

Windows authentication in linux docker container

纵然是瞬间 提交于 2020-04-07 05:31:20
问题 i am trying to use windows authentication in linux docker container under kubernetes. I am following this settings: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-3.1&tabs=visual-studio#kestrel App is in .net core3, with nuget Microsoft.AspNetCore.Authentication.Negotiate and running in kestrel I have added the services.AddAuthentication(Microsoft.AspNetCore.Authentication.Negotiate.NegotiateDefaults.AuthenticationScheme).AddNegotiate(); as

Spark 1.6.Token can be issued only with kerberos or web authentication

我是研究僧i 提交于 2020-01-24 09:35:07
问题 I call kinit keytab right before spark-submit in my shell driver script. The thing is, its working by itself, but when I call the shell driver scrip it through Oozie, I got this error: Stdoutput py4j.protocol.Py4JJavaError: An error occurred while calling o49.saveAsTextFile. Stdoutput : org.apache.hadoop.ipc.RemoteException(java.io.IOException): Delegation Token can be issued only with kerberos or web authentication The issue is probably here file.coalesce(1,True).saveAsTextFile(FQDNofHadoop

HBase+Kerberos: UserGroupInformation logging in from keytab expires?

谁说胖子不能爱 提交于 2020-01-07 00:58:15
问题 We are using the method UserGroupInformation.loginUserFromKeytabAndReturnUGI(user, keytab) to authenticate a Java program to write to a remote HBase cluster. When the application first starts up we are all good and it's talking to HBase happily. The krb5.conf ticket_lifetime is set to 24 hours, and what seems to happen after 24 hours is that the "TGT expires" and we start seeing exceptions like this: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS

Kerberos: difference between UPN and SPN

旧时模样 提交于 2019-12-31 22:39:10
问题 I'm now kerberizing a cross-platform application with GSSAPI. While I'm not clear about the difference between UPN and SPN. The development environment is a Samba4 AD DC server on CentOS 6.4 with a Windows server 2008 R2 a member box in the domain, say EXAMPLE.COM (You may be curious why not use Win2008 as DC directly. And as I stated previously, the application is cross-platform, I'm now testing in this setting. The normal Win DC-Linux MEM setting works fine.). I create a new user foobar