Forum Discussion
Kerberos Authentication implementation
Hi, some client is joined in a domain and would connect to a service on a virtual server. My virtual server, using APM module, need to authenticate this client using credential stored on kerberos ticket and check credential on a ldap server. I have already impelmented the check on ldap server with the login page, now I only need to understand how to capture credential in the kerberos ticket.
Anyone can help me?
Thanks in advance
3 Replies
feels a little double to auth with kerberos and then check the credentials again, but that is up to you
check this link for an explanation how you could build the auth based on Kerberos part
http://support.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm-aaa-auth-config-11-1-0/4.html
- emilio_104458
Nimbostratus
hello, thanks for your reply. i just forget to explain that second check is on another ldap server. So, client with kerberos arrives on vs, i retrieve the username and check if on the second ldap server is present, if yes i take a code number stored and use it as credential to send to application.
i will try the example u linked.
regards
- Kevin_Stewart
Employee
One important thing to understand here is that the (web) client won't send a Kerberos ticket unless the server asks for it. This is generally in the form of a 401 response with a "WWW-Authenticate Negotiate" header. If the server sends a 401 with this header, and the client cannot comply (not a member of a domain), then the browser may attempt to failover to an NTLM prompt. This may not be what you want, and will certainly alter the existing form-based user experience. If you have clients that won't have Kerberos tickets, it may be best to evaluate these based on some known criteria, like IP subnet (ie. internal vs. external users). That way you could present a form logon for external users and 401 for internal users. If submitting via form, the APM logon page will by default populate the session.logon.last.username variable with the submitted name. If submitting via Kerberos ticket, upon successfully authentication, the user attribute will be stored in the session.logon.last.logonname as a userPrincipalName value (ex. bob.user@domain.com).
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com