Kerberos authentication PeopleCode works do not (FUNCLIB_LDAP. LDAPAUTH. FieldDefault.KRB_AUTHENTICATION)

Hello

I try to enable Kerberos authentication on our PeopleSoft (8.53.24 tools) system and have problems with authentication peoplecode. More precisely, the function KRB_AUTHENTICATION() in FUNCLIB_LDAP. LDAPAUTH. FieldDefault(). I've set up according to the instructions contained in PeopleBooks. The web server accepts a valid Kerberos token and runs the correct PeopleCode. Successfully, it retrieves the username since the token, but when it instantiates the class KerberosSSOValidator and calls the validate() method, it will return a "NULL" string for the & variable validUserName, which actually fail subsequent evaluation of IF. See below and note the code highlighted in red indicating where my problem lies:

If Len (& userName) > 0 Then

& krbToken = Substring (& krbToken, 11, Len(&krbToken) + 1);

& validator = GetJavaClass("com.peoplesoft.pt.desktopsso.kerberos.KerberosSSOValidator").getInstance ();

Local chain & validUserName = & validator.validate (& krbToken);

If & validUserName <>'NULL' And

& princName = & validUserName then

SetAuthenticationResult (True, Upper (and username), "", False);

& authMethod = "KRB";

End - If;


     End - If;

I added a few statements to insert the values of the various values that are at play in this block of code and I can see that before you call $ () validator.validate & userName correctly holds the user ID who came through in the Kerberos token. I also confirmed that the call to instantiate KerberosSSOValidator not returns a null object (if it was that the later line would fail anyway). Yet validate() always returns a string "NULL". Also, if I replace the call to validate and the hardcode & the validUserName = "< username >", it connect me (or someone) as my ID if they try and hit a page of PeopleSoft.

Someone else knows this error? Please respond with any information specific to this code, and not with Oracle instructions on setting up Kerberos authentication. I follow the steps.

Finally, we have solved this problem. The problem is that when a keytab file has been generated, the parameter -mapuser was absent from the ktpass command. Thus the SPN has not correctly mapped to the service account we created for this feature.

Tags: Java

Similar Questions

  • Editor BEEP works does not after having changed the OBIEE OBIEE 11.1.1.6.0 integration

    SSO has been implemented with SSO - Ondaaah using Kerberos authentication.

    Note then is "OBIEE 11 g: configuration of authentication and SSO with Active Directory and Native of Windows authentication" [Doc ID 1274953.1]

    But SSO not working for BI Publisher. When contacted Oracle they suggested me to follow the bug below.

    Bug 14066028 -BI PUBLISHER does NOT CREATE SESSION SAW the HELP of MSAD AUTHENTICATOR PERSONALIZED

    When OBIEE use SSO with MS Active Directory, BEEP should be used instead of analyltics Analytics-ws endpoint. But currently, BIP uses analyitcs as endpoint.

    Solution
    1. replace integration endpoint OBIEE Analytics Analytics-ws in the interface user Admin of BEEP (integration - Oracle BI Presentation Services).
    2 test cycle.


    --------------------------------------------------------------------------------

    Now I can't access BEEP or OBIEE or xmlpserver.

    When you try to access BI Publisher by http://servername.domian.com:9704 / xmlpserver

    Error 500 - Internal server error
    RFC 2068 Hypertext Transfer Protocol--HTTP / 1.1:
    10.5.1 500 internal Server Error
    The server encountered an unexpected condition which prevented him from meeting the demand.


    When you try to access the Administration > BI Publisher > Manager BI Publisher we get the following error.

    Error 404 - not found
    RFC 2068 Hypertext Transfer Protocol--HTTP / 1.1:
    10.4.5 404 not found
    Server not found anything matching the request URI. No indication is given whether the condition is temporary or permanent.

    If the server does not wish to make this information available to the client, the status code 403 (refused) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through a configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    -----------------------------------------------------------------------------------

    I tried to change the xmlp-server - config.xml in to analytics.ws and bounced the server, but still facing the same issue.

    Please help get the BI Publisher.

    Any help is very appreciated.

    Thanks in advance.

    This problem has been solved once once the config.xml xmpl-server-file has been manually under the leadership and analytical endpoint was changed to analytics.ws. Bipublisher.ear on WLS console application restart.

    Thank you
    SVS-

  • Kerberos authentication problem

    I followed the step of the configuration of http://weblogic-wonders.com/weblogic/2009/11/15/configuring-kerberos-with-weblogic-server/ published by Faisal Khan.

    When I try to access my application running in weblogic, I faced following problem (famous error 401 - no) authorized
    Suppose that the main user is "* main-user *', and my windows account is ' * windows-user *'.

    (1) the Kerberos authentication looks very good, I had successful following information:
    Found the key for [email protected] (1)
    Entry Krb5Context.acceptSecContext = STATE_NEW stateful
    EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
    Using builtin default ETYPE for permitted_enctypes
    default ETYPE for permitted_enctypes: 3 1 23 16 17.
    EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
    Reset config by default kdc XXX.COM
    cache of proofreading for windows-user@XXX is null.
    object 0: 1282932038000/154
    object 0: 1282932038000/154
    * > > > KrbApReq: authenticate reussir.*
    Krb5Context setting peerSeqNumber to: 1113985206
    EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
    Krb5Context setting mySeqNumber to: 792726776

    (2) but after that, seems weblogic wants to do another authenticates with my windows account:

    < user name were found, implemented callbackhandler >
    < com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.constructor >
    < com.bea.common.security.internal.service.ChallengeIdentityAssertionTokenServiceImpl$ ChallengeContextImpl.constructor >
    < com.bea.common.security.internal.service.ChallengeIdentityAssertionServiceImpl$ ChallengeContextImpl.constructor >
    < com.bea.common.security.internal.service.ChallengeIdentityAssertionServiceImpl$ ChallengeContextImpl.hasChallengeIdentityCompleted >
    < com.bea.common.security.internal.service.ChallengeIdentityAssertionTokenServiceImpl$ ChallengeContextImpl.hasChallengeIdentityCompleted >
    < com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.hasChallengeIdentityCompleted >
    < com.bea.common.security.internal.service.ChallengeIdentityAssertionTokenServiceImpl$ ChallengeContextImpl.getCallbackHandler >
    < com.bea.common.security.internal.service.ChallengeIdentityAssertionTokenServiceImpl$ ChallengeContextImpl.hasChallengeIdentityCompleted >
    < com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.hasChallengeIdentityCompleted >
    < com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.getCallbackHandler >
    < com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.hasChallengeIdentityCompleted >
    < com.bea.common.security.internal.service.IdentityAssertionCallbackServiceImpl.assertIdentity >
    < com.bea.common.security.internal.service.IdentityAssertionCallbackServiceImpl.assertIdentity >
    < com.bea.common.security.internal.service.IdentityAssertionCallbackServiceImpl.assertIdentity return windows-user >
    * < com.bea.common.security.internal.service.IdentityCacheServiceImpl.getCachedIdentity(windows-user) > *.
    * < com.bea.common.security.internal.service.IdentityCacheServiceImpl.getCachedIdentity(windows-user) return null > *.
    * < com.bea.common.security.internal.service.IdentityAssertionCallbackServiceImpl.assertIdentity did not find a cached identity. > *.
    < com.bea.common.security.internal.service.CallbackHandlerWrapper.constructor >
    .... (do a LDAP search)
    < delegated com.bea.common.security.internal.service.LoginModuleWrapper.commit, returning false >
    * < weblogic.security.service.internal.WLSJAASLoginServiceImpl$ ServiceImpl.authenticate authentication failed for windows user > *.

    I don't know after Kerberos authentication, why the weblogic using my windows account to another?

    and if I create the user "windows" as a user weblogic, then authentication would succeed and can access my application.

    but this is not the so-called "SSO" - there is no point to create all users as users weblogic domain.

    I think I might make a mistake in my env weblogic, any idea?

    Thank you very much.

    Hi Victor,

    I have observed the following in your server logs






    <[Security:090300]Identity assertion="" failed:="" user="" windows.user="" does="" not="" exist="">

    We need to create a user in Weblogic Server (whether in DefaulAuthenticator or ActiveDirectoryAuthenticator) which tries to connect to the application for kerberos based authentication to work.

    Single sign-on means that the customer (end user) doesn't have to provide the creadentials all over again and its domain credentials are substituted.
    Put simply, a kerberos token is passed to WLS and WLS Decrpts token, retrieves the user name and try to check it against some stores. So, the user must present b and in accordance with the Kerberos protocol.

    Hope that help.

    Let me know if you have any other questions!

    Thank you
    Faisal

  • Windows Mail: Message could not be sent. The authentication setting are may not be wrong for your e-mail [SMTP] Server outgoing.

    The message could not be sent. The authentication setting are may not be wrong for your e-mail [SMTP] Server outgoing. To resolve this issue, go to help, search for "Troubleshoot Windows Mail" and read the section "I have problems sending e-mail". If you need help to determine the appropriate server settings, contact your e-mail service provider.

    The rejected e-mail address was * address email is removed from the privacy *'. "Subject 'Welder must build raised bed (Georgetown)', account: 'pop.gmail.com', server: 'smtp.live.com', Protocol: S account: 'pop3', server: 'pop.gmail.com', Protocol: POP3, server response: '-ERR not supported ca5pf6356717vdc.15', Port: 995, secure (SSL): Yes, Server error: 0x800CCC90, error number: 0x800CCC18MTP, server response: ' 530 5.7.0 must issue a STARTTLS command first ', Port: 587, secure (SSL): no, the message could be sent. The authentication setting are may not be wrong for your e-mail [SMTP] Server outgoing. To resolve this issue, go to help, search for "Troubleshoot Windows Mail" and read the section "I have problems sending e-mail". If you need help to determine the appropriate server settings, contact your e-mail service provider.

    The rejected e-mail address was * address email is removed from the privacy *'. Object ' Roadtechs.com post: PIPEFITTERS NEED LOUISIANA ', account: 'pop3', server: 'smtp.gmail.com', Protocol: SMTP, server response: 530 5.7.0 must issue a STARTTLS command first. r5sm16402004vdg.17', Port: 587, secure (SSL): no, Server error: 530, error number: 0x800CCC78Server error: 530, error number: 0x800CCC78

    Ensure that the analysis of the electronic mail is disabled (see www.oehelp.com/OETips.aspx#3).  Then delete the account completely and compact and repair the database (see www.oehelp.com/WMUtil/), and then try to add the account back again.  Also check webmail works fine.

    Steve

  • Kerberos authentication and use the KTPASS tool

    I work in support to a network analysis software company.  We have the ability to use Kerberos authentication for our product.  Recently, we found that when you generate the keytab file using ktpass on a Windows Server 2003 or 2008, it is a step backwards in the process.  Eventually do you run the ktpass twice to get the keytab file good.

    Our external authentication module is software that uses Kerberos authentication and then he puts it on a remote client computer to access our software. We configure our Kerberos application and then read from the file keytab generated on a Windows Server 2003 or 2008 domain controller by using Kerberos V5 found in the AD domain controllers.

    When you run the ktpass tool, you must submit the username and password to generate the keytab file.  When it is generated, there is a generated KVNO number / incremented in the keytab file.  But it writes the file first and then updates the KVNO + 1 number in the actual key stored in AD.  If your keytab file is always number 1 behind what is actually stored in AD!

    We can fix it by running ktpass once,

    Examine the properties for the KVNO number in the last keytab file

    Re-run the ktpass, but number KVNO + 1

    The keytab file is generated, AD wrote the new KVNO + 1 number in AD

    But now our keytab file matches KVNO number generated by AD

    We lose a step in the ktpass tool?

    is there a way to see what the current number of KVNO is set in AD

    We have tested extensively with Windows 2003 and Windows 2008 R2 domain controllers

    The guests were the two Windows 7 Prof 64 bit

    Was just curious if anyone has had this experience?

    Thanks in advance,

    Terry Ball

    Hello Terry,

    According to the description of the problem, it seems that you are working on Windows server 2003 and 2008. I would recommend posting your query on the Server Forums TechNet for Windows.

    TechNet is watched by other computing professionals who would be more likely to help you. Please check the below link which will redirect you to the appropriate forum.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?Forum=winserver8gen

    Hope that the information provided is useful. Let us know if you have questions related to Windows, we will be happy to help you.

    Kind regards

  • ACS WORKS, BUT NOT THE GRAPHIC WEB INTERFACE

    I have a worm ACS 5.4.0.46.7 running on a device, ACS-1121-K9. After the restart of a Win2008 controller it has stopped working and someone in my Department and restarted the ACS. It seems that authentications are working now, but I can't access the web gui. It answers ping and ssh. I did a web show acs-config-Interface and the display Interface has been disabled, I allowed him but it still does not work:

    TBGACS02 / admin # show interface web-config-acs
    interface of migration is disabled
    the UCP interface is disabled
    display interface is enabled
    REST interface is disabled

    TBGACS02 / admin # display the status of the acs application

    Role of the ACS: PRIMARY

    Process of database ' ' running
    Treat the race of 'management' (HTTP is insensitive)
    Unguarded "runtime" process
    "Adclient" process running
    'Ntpd' running process
    "View-database" running process
    The "view-jobmanager" process execution failed
    "View-alertmanager' running process
    "Notice-collector' running process
    "View-logprocessor' running process

    I could try to restart again, but I'd rather not if possible...

    Hello

    Can you try 'application acs stop' and then start CSA application and see if that solves the problem?

    If this isn't the case, then I suggest to take a show technician and support bundle, prosecute with TAC.

    Kind regards

    Kanwal

    Note: Please check if they are useful.

  • Need to implement the alternative login if Kerberos authentication fails.

    Need to implement the alternative login if Kerberos authentication fails.

    In our case, we are sure that Kerberos will fail because we allow agencies 'B' to access this application of reliable source.

    Kerberos fails and the application should display the name of user and password page and then authenticate.

    In the web.xml file changed auth method basic with Kerberos, set up successfully.

    'A' agency users can make successful Kerberos SSO. But when an agency "B" SSO access will fail with 401 and the application appears pop base with the name of user and password fields.

    When the user provides the details and present application returns 401 again. not able to go beyond these steps.

    Please provide your inputs.

    can you please enable security ATN debug and share the newspapers?

    Who will be telll us why the authentication will fail.

    Replace the CLIENT-CERT, BASIC authentication method in the web.xml and try.

    What is the default authenticator control indicator? I think that its just / optional.

    -Faisal

  • In VRA7 Kerberos authentication configuration

    Hello

    I'm trying to configure Kerberos authentication in my environment VRA7. I followed the instructions of the reference documentation. I have install the connector, workers and Kerberos authentication providers... and can connect with my domain user name and password via the password authentication provider.

    However, when you try to login, I get the following error message: access.policy.auth.methods.not.valid.

    Access denied because no valid authentication methods have been found 404

    Screenshot 2016-02-06 12.29.22.png

    When I try the test URL: https://connector-instance.domain.host/authenticate , I got a HTTP 404 status - / authenticate error message.

    Any ideas?

    Best

    Guido

    Solved: all accounts that are synchronized with the Identity Manager must have a name, surname and email configured.

  • authentication window appear does not correctly

    Authentication popup window does not display the buttons to send or cancel submission of credentials. Keyboard still works, but the pop-up window is the frame is smaller than the content of the window.

    This is probably caused by the additional content that is added by LastPass extensions and AutoFill that do not fit in the authentication window.

    On Linux, I am able to resize this window in the usual way by dragging its highlight.

  • JJUJ of printing works is not for Iphone 5 s

    I have 5 16GB iPhone after upgrading to IOS 10 to present JJUJ of printing works do not, now I have IOS 10.0.2 still not workng I need ide solution.

    Hello

    Go to settings touch id remove fingerprint and then add impressions back again.

    See you soon

    Brian

  • Searching for pictures of iOS 10 works is not as expected

    I have updated to a couple of my iOS devices (iPhone 6 and iPad Air) iOS 10, actually 10.1 public beta 1 now, but find the results obtained in the search of my library of ~ 5000 photos and videos quite modest.

    I very rarely get the images I'm looking for, if any.

    For example, 'find my photos from the Netherlands' Returns none so I have 122 in my library.

    The research of the city of Delft (that is the Netherlands) returns a single result, which, ironically, shows a screen indicating the word "Delft" on a local train.

    I wonder if there is the possibility of re-indexing of the library or the device can be done on a Macintosh, but I'm afraid user ios do not have such a luxury for now.

    In my troubleshooting process I spent from Italian to English, since this might be a reason for poor search results. But things have not changed.

    Of course, if I ask "Find my photos of the mountains" (or dogs by the way) I get decent results this image recognition works though, not much luck with geotags.

    Any idea?

    / P

    Wow!

    The answer to this question of mine has been overwhelming... (I'm kidding)

    In the meantime, FYI Apple has released the iOS 10.0.2 update that solves the problem of geotags.

    I can now find my photos from the low countries (or Switzerland or India also) and get the correct results.

    Nice

    / P

  • with firefox 43 yahoo and yahoo mail doesn't work does not correctly

    With the help of win 7 and firefox 43.0.1, I have 4 computers and now all have problems with yahoo and yahoo mail doesn't work does not correctly. Loading sites, but most of the features are missing and clicking on what whether changes to the lists of text. I have disabled flash / anti-spam etc., cleared cookies and cache and even firefox loaded down once again and have upgraded, no help. I'm forced to use IE now.

    I tried Yahoo support, they said try Firefox... In any case, it's Firefox and I found a solution using the 'Refresh Firefox' button. Whatever the problem was fixed on two of my computers so far. Got to update my setting again but it's 10 m, compared to the 10 hours I spent trying all that is nothing.

    Thanks for the help!

  • Firefox doesn't work does not correctly on Windows 10

    Well, I've upgraded to Windows 10 and since then, Firefox is not working properly (not not display graphics, google sites won't load do not, etc.), I tried uninstalling and reinstalling several times, I even waited for the new update... None of them worked. I read something about security certificates, saying I had to import them to Firefox, but the certificate that he mentioned did not exist in my computer. I have also disabled hardware acceleration, cleared my cache, even deleted my profile from my computer, all to nothing does not. It is sad to see the attached screen. (A text-only screen saying: "Firefox + Windows 10.) Perfect set")

    I hope you guys can resolve this problem as soon as possible. If this is happening to me, it happens to a lot of people.

    Did you secure yourself certificate errors? If Yes, do you use Avast, BitDefender, ESET or Kaspersky?

    If you do, we can give specific suggestions.*

    If this is not the case, a further 10 Windows users questions are report is that they were added to a family and their Firefox has been the subject of parental controls that causes seemingly random crashes. Try to turn off the parental control of Microsoft (or are not part of a family): http://windows.microsoft.com/en-us/windows-10/turn-off-microsoft-family-settings

    * For Avast, you can disable the part numerical analysis of Web Shield. I saw these steps in another post:

    1. Open the Avast dashboard on an affected system.
    2. Select settings in the left side menu.
    3. Adopt a Protection Active.
    4. Click on customize next to the Web Shield.
    5. Uncheck the option "Enable HTTPS analysis", and then click ok.
  • WhatsApp works do not last night... When I opened the app, it shows white screen and closed after a certain time.

    WhatsApp works do not last night... When I opened the app, it shows white screen and closed after a certain time.

    Try to do these steps, it should help:

    1 check WhatsApp update: Open App Store from your iPhone, click on updates, check if the application needs to update.

    2. restart your iPhone: hold down the sleep/wake button to it turn off and then turn it on again.

    3. close the app: multitasking opened by double pressing the Home button, slide the nonresponse apps up to close.

    4. go in the settings, press Whatsapp, touch turn off everything except mobile and notofications data.

    5. return to the home screen and open whatsapp.

    6. go in the settings, press Whatsapp and turn back.

    7. open whatsapp again. It should work now.

  • WhatsApp works do not on iphone6 9.3.2

    WhatsApp works do not on iphone6 9.3.2

    Pls help me

Maybe you are looking for

  • I can't delete a bookmark in FF v8. Is this possible?

    I'm trying to delete a bookmark in FF v8 on ubuntu 11.10, but nothing seems to work. I tried the suggestion on older versions to put the bookmark in the address bar and clicking on the star & using the option delete here, but everything is remove the

  • Wifi access in the hotel

    Can anyone help. I am trying to access wifi in my hotel on my iphone 6 s. getting hotel access page ok and nourishing in username and password but will then loop back to the original access page aking username and password again. Everyone elses phone

  • my phone doest does not sound more

    Hello my phone doest not ring more it vibrates but no ring!

  • OCMSN.dll could not be loaded

    I use windows XP.  After installing Firefox browser IE stopped working. Uninstalled IE such as advised by ISP Tech I tried to download and install IE several times again with no luck.  Another tech said to go to the control panel and Windows componen

  • My security settings are not allowing me to download an itunes file, all the solutions?

    Whenever I try to download latest iTunes the computer said that security settings does not allow the file to download. I tried everything including turning off the firewall. I contacted Itunes and they told me to completely uninstall Itunes, which I