Skip navigation
Currently Being Moderated

Single sign on

Sep 2, 2008 1:50 AM

Hi all,

I have been trying to get SSO with Kerberos working on one of our servers, but when I test the connection I get the following error:

2008-09-02 11:44:59,398 INFO [com.adobe.idp.um.ui.config.ConfigAuthEditAction] This exception stack trace is due to clicking of test button on Kerberos settings page.This is to help in determining wether Kerberos configuration is working fine or not and is not due to andprogram error. The exception that occured while testing Kerberos related config is
com.wedgetail.idm.sso.ConfigException: Could not validate com.wedgetail.idm.sso.password [caused by: com.dstc.security.kerberos.KerberosError: Server not found in Kerberos database]
at com.wedgetail.idm.sso.util.MemoryKeyTab.createKeyTab(MemoryKeyTab.jav a:109)
at com.wedgetail.idm.sso.util.Util.getKeyTab(Util.java:137)
at com.wedgetail.idm.sso.AbstractAuthenticator.initAuthenticator(Abstrac tAuthenticator.java:440)
at com.wedgetail.idm.sso.AuthFilter.init(AuthFilter.java:105)
at com.adobe.idp.um.auth.filter.spnego.SpnegoRequestHandler.testKerberos ConfigBO(SpnegoRequestHandler.java:124)
at com.adobe.idp.um.ui.config.ConfigAuthEditAction.testKerberosSettings_ onClick(ConfigAuthEditAction.java:1331)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.cc.framework.adapter.struts.ActionUtil.handleFormAction(Unknown Source)
at com.cc.framework.adapter.struts.FWAction.handleFormAction(Unknown Source)
at com.cc.framework.adapter.struts.ActionUtil.execute(Unknown Source)
at com.cc.framework.adapter.struts.FWAction.execute(Unknown Source)
at com.cc.framework.adapter.struts.FWAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques tProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja va:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119 6)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173)
at com.adobe.framework.SetCharacterEncodingFilter.doFilter(SetCharacterE ncodingFilter.java:173)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173)
at com.adobe.idp.um.auth.filter.AuthenticationFilter.doFilter(Authentica tionFilter.java:154)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173)
at com.adobe.idp.um.auth.filter.PortalSSOFilter.doFilter(PortalSSOFilter .java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc ipalValve.java:39)
at org.jboss.web.tomcat.s
 
Replies
  • Currently Being Moderated
    Sep 4, 2008 11:57 AM   in reply to kc@dafolo.dk
    Kim:

    Have you had any luck getting this one figured out?
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 5, 2008 5:05 AM   in reply to kc@dafolo.dk
    Yes, some things I have read about and tried that haven't worked for me but may work for you include:

    Try running your application server as the service user you have configured.

    Try putting in the IP address of the Domain controller in place of the IP address that livecycle is running on for DNS IP under the kerberos settings

    Open AD and verify that the computer exists for the machine where livecycle is running (filter for it by name or something so you can see the AD object)

    I've not had any luck yet, but maybe one of those will work for you.
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 6, 2008 8:00 AM   in reply to kc@dafolo.dk
    Hi Kim,

    Can you provide more details on how did you configured the Kerberso\SPNEGO settings in the AdminUI

    From the error it seems that you have not registered the servicePrincipalName (SPN) for the user you have configured with the AD server

    Probably with more info only we can determine the root cause
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 8, 2008 9:54 PM   in reply to kc@dafolo.dk
    Ok Kim here we go

    SPNEGO configuration is a bit tricky as it requires settings at multiple places. So pin pointing the problem may take few steps. So thanks for your patience.

    First I would like to know the configuration settings done on the Kerberos Authentication Provider page. Some questions might be obvious but I just want to make sure things are correct

    -- Service user - This must be of the form HTTP/...
    -- Service realm
    -- KDC Host - This must point to your AD server
    -- What was the KTPass command you ran
    -- Post the LDIF file for the user which is configured as a Service User. You can get that using any ldap browser

    Once I get these then we can move forward
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 9, 2008 6:29 PM   in reply to kc@dafolo.dk
    Cool so it worked for you.
    Regarding your observation AdminUI and Reader Extension UI do not support this mode of authentication. Workspace, Content Services and Rights Management UI would support it

    Whats the issue with Firefox. What changes you made to about:config section to enable it?
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 10, 2008 5:07 AM   in reply to kc@dafolo.dk
    Chetan:

    Why would adminui not support SPNEGO? Is there a comprehensive list anywhere of where SPNEGO has actually been implemented? If such a list exists I can't find it in the documentation.

    I think I sorted my kerberos issues out because I'm not seeing errors and the test passes successfully. I had a problem similar to Kim where I was following the documentation for administering LiveCycle that says to put in the name of the AD user not the SPN formatted login id. I'm doing the second test in the documentation browsing to http://[LiveCycleServer]:8080/um/login?um_no_redirect=true and it tells me authenticated=true&authstate=COMPLETE&assertionid=... Is that what I should be seeing?

    Thank you in advance.
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 10, 2008 6:23 AM   in reply to kc@dafolo.dk
    Brobble,

    I do not think there is any such list. I would have it added to the help/admin docs

    I checked the docs and there its incorrectly mentioned. Would get that part rectified. It should have been

    "Service User: Its the SPN that you passed to the KTPass tool. So for the example it should be HTTP/lcserver.um.lc.com"

    As for the output seen on accessing that url - Yes its what you should see if SPNEGO is working for you

    Thanks for pointing those issues I would get them rectified soon.
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 11, 2008 3:39 AM   in reply to kc@dafolo.dk
    Try setting it to

    network.negotiate-auth.trusted-uris : mylcserversname.domainname
    OR
    network.negotiate-auth.trusted-uris : .domainname

    Note - First one without the dot and second one with dot
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 22, 2010 8:44 AM   in reply to kc@dafolo.dk

    hello all, forgive me if I bring up an old debate.

    I have a problem with the ktpass


    in cmd of windows I get this result    "DsCrackNames returned 0x2"

     


    in the name entry for spnegodemo

     

    help me

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 24, 2010 11:17 PM   in reply to noos76

    What was the exact command you ran. And by any chance is your system name is alos "spnegodemo"

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 25, 2010 1:10 AM   in reply to Chetan Mehrotra

    hello this is the command to run

     

    ktpass -princ HTTP/192.168.12.101.adobe.demo@ADOBE.DEMO -mapuser demoservice

     

    192.168.12.101 is server

     

    adobe.demo is domain

     

    demoservice is user livecycle

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)