Problem with getting a service ticket - ignoring host name?

Hello,
I've been struggling with this for several weeks on and off. The latest issue I have, is that when I try to obtain a service ticket it replaces the hostname I use with the ip address of the server. This then results in a 'Server not found in Kerberos database' exception.
    public static void main(String args[]) {
        try {
            org.ietf.jgss.Oid[] desiredMechs = new org.ietf.jgss.Oid[1];
            desiredMechs[0] = new org.ietf.jgss.Oid("1.2.840.113554.1.2.2");
            GSSManager manager = GSSManager.getInstance();
            GSSName clientName = manager.createName("[email protected]", GSSName.NT_USER_NAME);
            GSSCredential clientCreds = manager.createCredential( GSSCredential.INITIATE_ONLY);
            GSSCredential clientCred = manager.createCredential(clientName,
            8 * 3600, desiredMechs[0], GSSCredential.INITIATE_ONLY);
           GSSName serverName = manager.createName("*[email protected]*", GSSName.NT_HOSTBASED_SERVICE);
Entered Krb5Context.initSecContext with state=STATE_NEW
Service ticket not found in the subject
Credentials acquireServiceCreds: same realmUsing builtin default etypes for default_tgs_enctypes
default etypes for default_tgs_enctypes: 3 1 23 16 17.
CksumType: sun.security.krb5.internal.crypto.RsaMd5CksumType
EType: sun.security.krb5.internal.crypto.ArcFourHmacEType
KrbKdcReq send: kdc=labad2.lab2k.net UDP:88, timeout=30000, number of retries =3, #bytes=1276
KDCCommunication: kdc=labad2.lab2k.net UDP:88, timeout=30000,Attempt =1, #bytes=1276
KrbKdcReq send: #bytes read=92
KrbKdcReq send: #bytes read=92
KDCRep: init() encoding tag is 126 req type is 13
KRBError:         sTime is Mon Jul 26 12:07:34 EDT 2010 1280160454000
         suSec is 65057
         error code is 7
         error Message is Server not found in Kerberos database
         realm is LAB2K.NET
         sname is *HTTP/172.16.118.89*
         msgType is 30
KrbException: Server not found in Kerberos database (7)Thanks - Bryan.

Your DNS server should have an entry for this host name in its reverse lookup table.
Regards- Abid

Similar Messages

  • Login problem with E-Recruiting URL, where check host name?

    Hi,
    I've set up a standard Recruiter user and assigned him the standard Recruiter security profile. When I run RCF_GENERATE_URLS, I get this URL:
    http://iwdfvm2160.wdf.sap.corp:51080/sap/bc/bsp/sap/hrrcf_start_int?sap-client=200&sap-language=EN&rcfSpId=0003
    But I get an "internal error" when I login with my User. Our server's host name is iwdfvm2160.gcsap.com, but the program isn't resolving this. This is probably the cause of the error, but how can I get it to pick up our host name?
    We are on E-Recruiting version 6, and it's running on the same box as HCM.
    Thanks, Vlad

    Hello Vlad,
    usually the links generated from the report are correct. Only very rare problem might be in the network structure of your company that the internal dns servers can't resolve the server name or the sap servers are in a not reachable network segmant as you never worked with http access to the servers for other applicatiohns.
    But if you log on the first time with your user and have not been working with the application yet, the more probable reason for this error is the missing candidate for e-recruiting. Without a candidate you won't be able to work with the application.
    Check transaction SLG1. There should be an error "No candidate for User <your username>" or sth. similar.
    If so run report RCF_CREATE_USER to get a candidate. Then you should be able to log on.
    If you already have a candidate and cannot login check SLG1 and SM21 for error messages. If there are any but you don't feel able to solve the logged problem. Just post the message here. I think someone will be able to help.
    Best Regards
    Roman Weise

  • Problem with oc4j when accessing over the host name?

    Hi!
    I have a standalone oc4j and application is working perfect when I use ip address of the server.
    When I use dns name of the server I just can pass the login page and after that every jsp return me to the login page?
    THANKS FOR A HELP!!!

    The only way that we have found to work with DNS is to remove the redirects in the faces-config.xml navigation cases. If anyone finds a better resolution, please POST!

  • Hi, I have a problem with getting my apple Id working for me. It's been 2 months since it happened and Apple failed to act. I can tell my story proerly, but am not sure, you guys can help, so I just copy my message to them today, I am trying to get it acr

    Hi, I have a problem with getting my apple Id working for me. It's been 2 months since it happened and Apple failed to act. I can tell my story proerly, but am not sure, you guys can help, so I just copy my message to them today, I am trying to get it across all the places around to pay their attention. This is a desperate move, so if you are not the right people to help me to get my message accross, may be you can advise where can I go.
    Thank you, and sorry for the language.
    Vitas Dijokas
    I am sorry to say that, but your security makes my life miserable – it’s been 2 months since my Apple ID account got stuck, and since then I cannot update 37 applications (to date), i.e. most of my applications. Half of them I bought. I also paid for iCloud, and it is not working. I paid money and I am stuck with old applications and no iCloud. Your security *****. Your service ***** too. It took your service 1 month to finally understand why this happened to me, and it took me tens of emails to you and 3 hours of telephone conversation to find out the reason for my problem. And the problem is still not fixed. NOT FIXED. You just leave your customer – the one who paid you money and spent so much time with you trying to help you help me – and nothing. You tell me:  “Vitas, Stick your stinky iphone in your *** and enjoy life, we do not care!” *************.
    It is ******* outrageous, and you should know that,  guys. Get into the ******* database and correct the bug. Get someone in the partners-telephone carriers company (it is Orange as carreer and Cellcom as seller of the phone)  authorized to Identify me in personal encounter in one of the branches in Israel (where I live) and make sure it is really me, and get the ******* system accept my password and let me use my phone.
    Otherwise **** off. None of my friends will get my advise to buy an iphone or any of apple products. And I think you should be very attentive to cases like this, guys. Do your work for the money we pay, or disappear. There are many others eager to take your place, and if the problem is not fixed I will eventually go to the others. My patience is lost, and as soon as I can afford another phone I will change it. AND I WILL TRY TO GIVE BAAAAAD PUBLICITY TO APPLE – I am threatening here, so ACT NOW.
    Vitas Dijokas

    Well, it seems waiting is not my strong suit..! I renamed a javascript file called recovery to sessionstore. This file was in the folder sessionstore-backups I had copied from mozilla 3 days ago, when my tabs were still in place. I replaced the sessionstore in mozilla's default folder with the renamed file and then started mozilla. And the tabs reappeared as they were 3 days ago!
    So there goes the tab problem. But again when I started mozilla the window saying "a script has stopped responding" appeared, this time the script being: chrome//browser/contenttabbrowser.xml2542
    If someone knows how to fix this and make firefox launch normally, please reply! Thank you

  • Problem with reversal of Service entry Sheet

    Hi All,
    I am facing a problem with reversal of service entry sheet. The user has posted the document in dec 2009 and now the user wants to reverse the doc. I told the process how to reverse it. But when she is trying to revoke the acceptance, she is getting error log.I told her to reset the posting date to present date.Now she tried to change the doc date but she is getting error as "604 item 010 WBS element ****** budget exceeded year 2009". So i advised her further to increase the budget in the year 2009. Even that solution is not working.
    Please help in this regard
    Thanks & Regards
    Nisha Prasad

    Hi,
    The user is not authorised to change the budget. The person resposible for this is telling that increasing the budget wont help. can you tell me how to view whether the budget is available for the system in the period or not? Can you please help me in this regard?
    Thanks
    Nisha

  • Problem with RESTful web service

    I am running into a problem with Flex Web Services (REST) in trying to get the proper format returned. I can see that the HTTP header is set to
    Accept: */*;
    rather than
    Accept: application/xml
    when sending the request. The web service was generated via the web services HTTP data services wizard. I edited it to set the resultFormat to xml
        // Constructor
        public function _Super_UsersService()
            // initialize service control
            _serviceControl = new mx.rpc.http.HTTPMultiService();
             var operations:Array = new Array();
             var operation:mx.rpc.http.Operation;
             var argsArray:Array;
             operation = new mx.rpc.http.Operation(null, "getUsers");
             operation.url = "http://localhost:8888/users";
             operation.contentType = "";
             operation.method = "GET";
             operation.resultFormat = "xml";
             //operation.serializationFilter = serializer0;
             operation.properties = new Object();
             operation.properties["xPath"] = "/";
             operation.resultType = valueObjects.Users;
             operations.push(operation);
             _serviceControl.operationList = operations; 
             model_internal::initialize();
    How does one configure the accept header?

    Hi,
    I have posted a simple application with the RESTful reference:
    http://apex.oracle.com/pls/apex/f?p=13758
    I can give you full privileges on this so you can look at the WEB service reference. Shall I send to you separately for login user?
    It is using the RESTful service: http://apex.oracle.com/pls/apex/nd_pat_miller/demo/employee/{deptno}
    This RESTful service tests fine when I test from within the RESTful web service module of the Workspace.
    I based this on the Video demo tutorial for RESTful web service that Oracle published for 4.2 release. The video seemed to exclude the {deptno} in the URL but when I try that, it doesn't work either.
    This is the error I am getting when I run this on my Apex environment: (it, of course, will not run the web service in the apex.oracle.com environment)
    class="statusMessage">Bad Request</span>                                         
    </h3>                                         
    </div>                                         
    </div>                                         
    <div id="xWhiteContentContainer" class="xContentWide">                                         
    <div class="xWhiteContent">                                         
    <div class="errorPage">                                         
    <p>                                         
    <ul class="reasons"><li class="badRequestReason"><span class="target" style="display:none;">uri</span><span class="reason">Request path contains unbound parameters: deptno</span></li>                                    
    </ul>Thanks,
    Pat
    Edited by: patfmnd on May 8, 2013 3:33 AM

  • FM for getting the Service Ticket Details

    Hi Group,
    I have a requirement wherein, I need to get the Service Ticket(s) for the system when I pass the Status of the Service Ticket.
    The query is like:
    <b>Import </b>-> Passing the <b>Status</b> of the Ticket (like : <b>Assigned/Closed/Resolved </b>).
    <b>Export-</b>> Get the details of all the <b>Service Tickets</b> whose status is mentioned in the
                 <b> Import</b> Parameter..
    So please let me know of the <b>FM/BAP</b>I to achieve this task.
    thanks in advance.
    Regards,
    Amit.

    Hi Amit,
    You can use FM
    'CRM_SERVICE_PROCESSES_SEARCH'
    Here in 'Export' Parameter:: STATUS specify the status required
    Parameter: FROM and TO for dates.
    and collect the result from Import parameter: BUSINESS_PROCESSES_LIST
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • I still have problems with getting my website online. I have defined my server. Then I did the test and there was a connection via FTP. I put my files on the external server and there is a connection with the external server. But when I check to see my we

    I still have problems with getting my website online. I have defined my server. Then I did the test and there was a connection via FTP. I put my files on the external server and there is a connection with the external server. But when I check to see my website online (with Firefox, Explorer, Chrome browser) I always get the message 'Forbidden, You don't have permission to access / on this server.' Can somebody help me please? I have to get my website online..Thank you!

    Hello Els,
    it's well known, that in all these cases you describe I'm not a friend of a detailed Troubleshooting (I see Nancy#s smile already).
    To be able to be independent in all this things It is one of the reasons why I prefer an external FTP program. The difficulties with which you have to fight encourage me in this opinion, not least because we always search for experts, we don't charge a "jack of all trades".
    To manage several websites or to upload my files and sometimes for the opposite way, for a necessary download from my server or to use a "a site-wide synch", I'm using FileZilla. It simply looks easier for me to keep track of all operations precisely and generate or reflect easily the desired tree structure.
    Above all, FileZilla has a feature (translation from my German FileZilla) called "compare file list". Here it's possible to use file size or modification time as a criterion. There is also the possibility to "hide identical files", so that only these files which you want to redact remain visible.
    And even if it means you have to install a new program, I am convinced that there is an advantage. Here is the link to get it and where you can read informations about how it works:
    http://filezilla-project.org/ and http://wiki.filezilla-project.org/Tutorial#Using_the_site_manager
    Mac: Mac OS X (Use: Show additional download options)
    http://filezilla-project.org/download.php
    Of course, you also need all the access data to reach your server and for MIME issues, you should contact your web host/provider.
    Good luck!
    Hans-Günter
    P.S.
    Since I use two screens, the whole thing became even more comfortable.

  • Just moved my email from entourage to Mail. Having real problems with getting my signatures to work properly. When adding in a small company logo, windows computers only receive signature as an attachment. Am sending email as Rich Text. Any ideas on a fix

    Just moved my email from Entourage to Mail. Having real problems with getting my signatures to work properly despite sending email as Rich Text.
    When adding in a small company logo to the signature, PC's / windows computers only receive signature and logo as attachments.
    I've tried all possible fixes I can find including getting a PC user to format the logo but no joy. Has anyone experienced this and any ideas on a fix gratefully received.

    Send it as html so the signature is an image source URL

  • Problems with getting my Ipod Touch to work on my Sony Bravia or any TV

    I am having problems with getting videos or movies to play on my Sony Bravia HDTV or any TV. I have a first generation Ipod Touch and I have the Apple AV Composite Cables and all I get is sound for both TV's that I tried. I read one post where some guy had a faulty Ipod that wouldn't work. Does anyone know how of something hidden or special that needs to be done or how did they fix the problem if they had the same one? Thank, ejcarlson

    Check connection, if you have a case on your Ipod the connection may not be good enough.

  • Problem with getting resized image's bytes

    I've got a problem with getting correct bytes of a newly resized image. The flow is that I retrive an image from the filesystem. Due to the fact that it is large I resize it to a 50x50px thumbnail. I can display this thumbnail in #benchmark1 (see code below). Unfortunately something's wrong with my imageToBytes funtion which returns reasonably small size of image but is totally useless - I can't make an image of it anymore so at #benchmark2 the application either crashes or keeps freezing. I saved this byte array on my disk and tried to preview under Windows how does it look but I got a message "Preview unavailabe". I did some digging in the Internet and I supposed that it's because I don't use any jpg or png encoders to save the file. Actually I think that it's not the case, as the bytes returned from method imageToBytes look weird - I cannot even make a new image of them and display it without any saving in memory.
                                  byte[] bytes = FileHandler.readFile (
                                          FileHandler.PHOTOS_PATH, fileName);
                                  Image img2 = Image.createImage (bytes, 0, bytes.length);
                                  img2 = ImageHandler.getInstance ().resize (img2);
                                                    //#benchmark1
                                  bytes = ImageUtils.imageToBytes (img2);
                                  img2 = Image.createImage (bytes, 0, bytes.length);
                                                    //#benchmark2my imageToBytes function is as follows:
         public static byte[] imageToBytes (Image img)
              int[] imgRgbData = new int[img.getWidth () * img.getHeight ()];
              byte[] imageData = null;
              try
                   img.getRGB (imgRgbData, 0, img.getWidth (), 0, 0, img.getWidth (),
                           img.getHeight ());
              catch (Exception e)
              ByteArrayOutputStream baos = new ByteArrayOutputStream ();
              DataOutputStream dos = new DataOutputStream (baos);
              try
                   for (int i = 0; i < imgRgbData.length; i++)
                        dos.writeInt (imgRgbData);
                   imageData = baos.toByteArray ();
                   baos.close ();
                   dos.close ();
              catch (Exception e)
              return imageData;
    I've run totally out of any idea what's wrong, please help!
    Edited by: crawlie on Jul 17, 2010 6:21 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hey Crawlie,
    Please note that simply writing int values into ByteArrayOutputStream will not suffice. Please have a look at the following conversion from int pixel value into byte[4]:
    public static final byte[] intToByteArray(int value) {
            return new byte[] {
                    (byte)(value >>> 24),
                    (byte)(value >>> 16),
                    (byte)(value >>> 8),
                    (byte)value
    }Good Luck!
    Daniel

  • Problem with getting iPod to work.

    I'm having a problem with getting an iPod to connect to my computers. Also I can't even really get it to run. My brother gave it to me one or two years ago and it had these problems I just didn't think of the idea of going directly to Apple to figure it out. It's a 30 GB black iPod if that helps. When I plugged it in it showed the battery symbol. When I leave it for a while it shows the Apple symbol. Then it comes up with this: http://spirrwell.webatu.com/ipod.jpg If you can help thanks in advance!
    Message was edited by: Spirrwell

    I figured out that it was a hard drive problem so I'll find a fix if not I guess I'm screwed.

  • Hi ! I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    Hi ! I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    There is a link at the bottom of this page. http://www.apple.com/contact/

  • Good morning. I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an e.mail i can use in Apple USA? Thanks.

    Good morning. I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    There is a link at the bottom of this page. http://www.apple.com/contact/

  • HT1766 The screen shows problems with iCloud only choices are ignore or settings, however nothing I do will unlock it from this screen, cannot power off keeps that bubble on the screen. What do I do?

    The screen shows problems with iCloud only choices are ignore or settings, however nothing I do will unlock it from this screen, cannot power off keeps that bubble on the screen. What do I do?

    Try this now.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

Maybe you are looking for

  • PDF Portfolio, broken in 9.4.6 also...... not funny Adobe...

    PDF portfolio on Linux broke in 9.4.2, with newly released 9.4.6 it's still broken. It has been broken since February. I wonder if Adobe takes these things seriously, for sure it doesn't look that way. Many governmental institutes  use portfolios, so

  • Panther crashed now external hard drive not recognized

    I was away and a person that lives where I work on my computer set up his computer right next to my G4 iMac. When I looked at the screen it was trying to boot into start up mode but wasnt making it. I firgure it must have been caused by all the plugi

  • Final Cut to iChat???

    Yesterday, quite by accident, I discovered something. My DV deck was connected to the G5 via firewire as I had been capturing. I plugged in my iSight to chat with someone and discovered that it was, instead, looking at the DV deck. I played "live" vi

  • How do I synch / download my music in the cloud to my ipad?

    I have a music library currently backed up in icloud.  I am wanting to download the music to my ipad (synch it) so that I do not need to be connected to wifi or cell service to listen to the music.  I have adequate storage space however I cannot figu

  • LSMW Pricing Conditions Conversion

    Hello. We are trying to import a large number of pricing conditions. However, the program LSMW uses limits us to about 7 conditions. This, apparently, is because the screen size it is using is small (I have run it in the foreground and seen this). Th