You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, I tried to use Kerberos for WebDAV authentication. I have my test environment:
AD Server - SAMBA
Apache Server (for Authentication)
Apache Server (for Authorization)
Ubuntu Desktop - as client
Everything works fine in scenario:
Environment
Apache server with Dav On and server name project-1-webdav.mydomain.internal
On the Domain Controller side I have been added user webdav and SPN with HTTP/project-1-webdav.mydomain.internal and keytab has been exported and sended to Apache Server [1] (samba documentation)
Multiple server instances with webdav, each of instance will has unique URL.
Only one account with only one SPN with delegation on Active Directory (Microsoft) side.
I won't to be able to add SPN for each service (webdav server).
So I tried to configure similarly configuration on my test environment.
Now how to make SSO for each instance of webdav? I thought about something like this:
I tried to use GssapiUseS4U2Proxy without succeed. On my SAMBA side i have configured: UF_TRUSTED_FOR_DELEGATION, UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION, Services this account may delegate to: msDS-AllowedToDelegateTo: HTTP/auth-webdav.mydomain.internal.
I have doubts about:
Should I have kerberos server installed on Apache (auth) server or not?
In this scenario GssapiCredStore client_keytab: will be Client 1, Client 2, ... or Apache (webdav 1), Apache (webdav 2),...
How to create this client keytab?
All what I need is to make authorization and authentication via SSO for each of Apache WebDAV instance (with unique URL) using one SPN entry. If you need more information feel free to ask.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi guys, I tried to use Kerberos for WebDAV authentication. I have my test environment:
Everything works fine in scenario:
Environment
But my target environment will looks like this:
I won't to be able to add SPN for each service (webdav server).
So I tried to configure similarly configuration on my test environment.
Now how to make SSO for each instance of webdav? I thought about something like this:
I tried to use GssapiUseS4U2Proxy without succeed. On my SAMBA side i have configured: UF_TRUSTED_FOR_DELEGATION, UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION, Services this account may delegate to: msDS-AllowedToDelegateTo: HTTP/auth-webdav.mydomain.internal.
I have doubts about:
GssapiCredStore client_keytab:
will be Client 1, Client 2, ... or Apache (webdav 1), Apache (webdav 2),...All what I need is to make authorization and authentication via SSO for each of Apache WebDAV instance (with unique URL) using one SPN entry. If you need more information feel free to ask.
Beta Was this translation helpful? Give feedback.
All reactions