Shouldn't I be getting a Kerberos ticket when logging in to my Lion Server?

I have a very small OS X network setup: one server, one client.  OD, DNS, etc. all working well.  One thing I noticed though is when I log into the server directly, I never have a Kerberos ticket and have to use kinit; when I log into the client, I always get a ticket automatically. 
After logging in to the server (directly via console, not ssh), I open a terminal and klist shows:
klist: krb5_cc_get_principal: No credentials cache file found
I can 'kinit' at this point, provide my password and I will get a working ticket, but isn't this supposed to happen at login time the way it does on my client?
I've made no modifications to /etc/pam.d/authorization:
# authorization: auth account
auth       optional       pam_krb5.so use_first_pass use_kcminit
auth       optional       pam_ntlm.so use_first_pass
auth       required       pam_opendirectory.so use_first_pass nullok
account    required       pam_opendirectory.so
What am I missing here?  Why woudn't I bet getting tickets at login on this system?
Many thanks,
-O

@Strontium, not sure what the basis for your opinion is, the server login processes *is* a client of  OpenDirectory and Kerberos and subject to the same PAM authorization process and thus the creation of a Kerberos ticket.
After nearly two days of digging, I found the issue was caused by the existance of user records for some of my network users in the /Local/Default directory on the server which had  an AuthenticationAuthority value pointing to an old, no longer used, Kerberos domain.  As these were OpenLDAP users, I hadn't even thought of examing the local directory until I noticed that the expected Kerberos ticket behavior was working properly for one of my accounts which was not a 'mobile' account.  I then realized only my 'mobile' accounts (which were nearly all of them) were the only accounts showing this problem. 
I believe what happened is when I changed server's kerberos name at some point in the past (by backing up the OpenLDAP records, demoting the master, re-creating the master with the new Kerberos name, importing the records, and resetting passwords); I never thought to clean up any locally cached user records for my 'mobile' users.
To fix: I used the Directory Utility to delete the users from the local cache.  On next login by a mobile user, a correct local user record was created reflecting the proper Kerberos authority and now I'm getting Kerberos tickets on login again. 

Similar Messages

  • Get error code 0x80070643 when I try to install Sql Server 2008 R2 Service Pack 1 (KB2528583)

    I keep getting error code 0x80070643 when I try to install Sql Server 2008 R2 Service Pack 1 (KB2528583)
    Operating System is Windows 2008 R2 64 bit

    Hi JamesRead,
    According to your description, when you install SQL Server 2008 R2 service pack 1, we need to verify if
    you must have administrative rights on the computer.
    There are multiple files available for the download, you will be prompted to select the files you need. We need to verify if you run the SQLServer2008R2SP1-KB2528583-x64-ENU.exe. Or you can install SQL server updates from the command
    prompt and check if it can install successfully.
    You can prepare an installation of database engine instance to include product update:
    setup.exe /q /IAcceptSQLServerLicenseTerms /ACTION=PrepareImage /UpdateEnabled=True /UpdateEnabled=True /UpdateSource=<path where the update is downloaded> /INSTANCEID=<Instance ID> /FEATURES=SQLEngine
    For more information, you can review the following article about installing Updates from the Command Prompt.
    http://technet.microsoft.com/en-us/library/dd638066.aspx
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • I keep getting an error message when logging onto iCloud. It states that "you cant sign in because of a server error".  But the cloud status is "normal".

    This is happened today after I udpated my iPad to IOS v7 and iTunes to 11.1.0.126  and only for one of my computers.  I keep on getting an error message when trying to log onto iCloud.  The error message is "you cannot sign-in because of a server error" but the iCloud status is "normal" and iCloud is fine on my other computers.

    Next day the problem still continued.  I did restart my computer a couple of times and then "it worked".  Not sure why - if it really was a server problem or something on my side.

  • Getting HTTP 500 Error When Trying To Authenticate Against LDAP Server (Active Directory)

    Hello,
    I am currently facing an issue when I try and use LDAP authentication in my Apex application as I am getting a HTTP 500 Internal Server Error message. For my authentication scheme I have used the pre-configured option of how to connect to an LDAP server and in my development environment this seems to be working fine but now I have deployed my application to our staging environment and I am getting the error. If I switch to the Application Express Authentication scheme then I don't get the error.
    I've had a look at the log file on the server and I see I am getting this error:
    [#|2015-03-31T16:19:11.254+0100|SEVERE|glassfish3.1.2|null|_ThreadID=21;_ThreadName=Thread-2;|JDBCException [kind=UNAVAILABLE]
        at oracle.dbtools.common.jdbc.JDBCException.wrap(JDBCException.java:99)
        at oracle.dbtools.common.config.db.DatabaseConfig.getConnection(DatabaseConfig.java:81)
        at oracle.dbtools.common.jdbc.ora.OraPrincipal.connection(OraPrincipal.java:69)
        at oracle.dbtools.apex.ModApexContext.getConnection(ModApexContext.java:372)
        at oracle.dbtools.apex.OWA.getStatement(OWA.java:536)
        at oracle.dbtools.apex.OWA.init(OWA.java:308)
        at oracle.dbtools.apex.ModApex.doPost(ModApex.java:138)
        at oracle.dbtools.apex.ModApex.service(ModApex.java:303)
        at oracle.dbtools.rt.web.HttpEndpointBase.modApex(HttpEndpointBase.java:347)
        at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:130)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:662)
    Caused by: java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: All connections in the Universal Connection Pool are in use
        at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
        at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
        at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:928)
        at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
        at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:855)
        at oracle.dbtools.common.config.db.DatabaseConfig.getConnection(DatabaseConfig.java:71)
        ... 33 more
    Caused by: oracle.ucp.UniversalConnectionPoolException: All connections in the Universal Connection Pool are in use
        at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
        at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
        at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
        at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:131)
        at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:279)
        at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
        at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
        at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:916)
        ... 36 more
    So it seems that every time I try and use LDAP I hit this error. Also after awhile I have to re-start the Apex Listener for that domain. I have came across this thread: LDAP Authentication Question but I am not sure if the user got the problem solved or not.
    Our infrastructure is as follows:
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Apex Listener: 2.0.3.221.10.13
    GlassFish Server Open Source Edition 3.1.2.2 (build 5)
    If anybody has any idea what is causing this that would be great.
    Cheers,
    Paul.

    Hi Colm,
    Thanks for getting back to me on this. I have downloaded and created a new ORDS server with 2.0.10 and while I don't get the error:
    Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: All connections in the Universal Connection Pool are in use 
    I am now getting the following (I have turned on the logging)
    No more data to read from socket java.sql.SQLRecoverableException: No more data to read from socket
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1157) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:345)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:205)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1043)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4755)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
    at sun.reflect.GeneratedMethodAccessor1991.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
    at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
    at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.invoke(CallableStatementProxyFactory.java:101)
    at $Proxy432.execute(Unknown Source) at oracle.dbtools.apex.OWA.execute(OWA.java:145)
    at oracle.dbtools.apex.ModApex.handleRequest(ModApex.java:201)
    at oracle.dbtools.apex.ModApex.doPost(ModApex.java:152)
    at oracle.dbtools.apex.ModApex.service(ModApex.java:303)
    at oracle.dbtools.rt.web.HttpEndpointBase.modApex(HttpEndpointBase.java:350)
    at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:662)    
    I cant see anything glaring that is causing this. I have also increased the Minimum Connections to 30 and Maximum Connections to 100 with the administration part of Configuring ORDS via SQL Developer and it still has no desired effect.
    The application works fine in our Development and Testing Environment but since I have ported it over to our production instance I am unable to log into it using my Active Directory credentials.
    Cheers,
    Paul.

  • Why am I getting this error message when trying email a PDF?Server Connection Error. Please verify that port 143 is available for connection on your machine or contact your administrator.

    My Inspector for my house sent me his report via PDF that I had to access from an online link. I downloaded it but cannot forward it in an email to my insurance company who is requiring a copy. I get this error report every time:
    Server Connection Error. Please verify that port 143 is available for connection on your machine or contact your administrator.
    I have no idea what this means. Can someone help? I really don't want to have to print and scan this beast but I've been messing with this for 2 days now and am out of ideas.
    Thanks!

    I'm having the same issue.  Did you resolve it?

  • Can't get past OCX error when installing ODAC 11g on Windows Server 2003

    I have been trying to install ODAC 11g on Windows Server 2003 and can't get past the OCX error when registering oravsdbgeng11w.dll. I've read every message on this forum even remotely related to this problem and tried every solution offered. I have done a clean install into a new Oracle home, and made sure Instant Client is always included. All service packs and automatic updates have been installed. For what it's worth I have successfully installed ODAC 11g on Windows XP Pro.
    If anyone out there has been able to get this up and running and would care to share the wisdom that would be greatly appreciated.
    Thanks!
    Michael Young
    Latitude Geographics
    Victoria, BC

    Michael, as you already noticed, every time I have seen this issue it has been because ODT was being installed into an Oracle home where no client exists, or perhaps installed into an old oracle home where the client was an old version (eg Oracle10), or the client was broken. Usually though, the user unchecked the instant client checkbox during the ODAC install.
    So you say you checked instant client and you still got the error? That doesn't add up...
    Are you using 32-bit windows? If you are using 64 bit windows be sure to tell us.
    Why don't you try avoiding using instant client at all, in case it is somehow not getting installed properly.
    You can do this as follows:
    1) Under the download links on OTN, go to the database download page.
    2) Download the Oracle Database client 11g for Microsoft Windows
    3) Run this installer and Install ODP.NET 1.x and 2.x into a new Oracle home from this client install, but nothing else. If ODP.NET is not listed there (it has been a long time since I looked at that) than just install a minimal Oracle client install.
    4) Close the installer
    5) Go back and install ODAC and this time choose "Oracle Server" radio button during the install (rather than the client install)
    6) Install ODT and ODP.NET at least and be sure they are being installed into the Oracle home created in the first steps above.
    This will avoid use of Instant Client and will hopefully avoid the OCX error. Let me know if this solves your problem.
    Christian

  • Getting run time error when accessing the file from frontend server using F4.....?

    Category               ABAP Programming Error
    Runtime Errors         CONVT_NO_NUMBER
    Except.                CX_SY_CONVERSION_NO_NUMBER
    ABAP Program           ZMM_MIGO_GOODS_ISSUE
    Application Component  Not assigned
    Date and Time          26.05.2014 14:28:30
    Short Text
         "C:\Users\SAP\Desktop\MIGO\MIGO.xlsx" cannot be interpreted as a number
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "ZMM_MIGO_GOODS_ISSUE" had to be terminated because
          it has
         come across a statement that unfortunately cannot be executed.
    Error analysis
         An exception has occurred which is explained in more detail below. The
         exception is assigned to class 'CX_SY_CONVERSION_NO_NUMBER' and was not caught
          in procedure
         "%_SEL_SCREEN_P_FNAME_V" "(FORM)", nor was it propagated by a RAISING clause.
         Since the caller of the procedure could not have anticipated this

    HI CHIRUI,
    I have changed and tried but still i a getting the same thing..
    otherwise please check this i am using some class method i am not getting short dump,but excel file is not getting uploaded.
    REPORT ZMM_MIGO_GOODS_ISSUE NO STANDARD PAGE HEADING.
    DATA : BEGIN OF IT_DATA OCCURS 0,
             ID(10),
             BLDAT(10),                             " Document Date
             BUDAT(10),                             " Posting Date
             REF_DOC_NO(16),                        " Material Slip No
             DEL_NOTE(16),                          " delivery note
             MATNR TYPE MSEG-MATNR,                 " Material Number
             ERFMG(13) TYPE C,                      " Quantity
             BWART TYPE RM07M-BWARTWA,              " Movement Type
             SOBKZ(1),                              " Special Stock
             WERKS TYPE RM07M-WERKS,                " Plant
             LGORT TYPE RM07M-LGORT,                " Storage Location
             PS_POSID TYPE PS_POSID,                " WBS Element
             COST_CENTER TYPE KOSTL,                " cost center
             ORDER TYPE AUFNR,                      " order number
             SERNR TYPE RIPW0-SERNR,                " Serial Number
            END OF IT_DATA,
            BEGIN OF IT_HEAD OCCURS 0,
              ID(10),
              BLDAT(10),                            " Document Date
              BUDAT(10),                            " Posting Date
              REF_DOC_NO(16),                       " Reference document number
              "HEADER_TXT(25),                       " Header Text
              BWART TYPE RM07M-BWARTWA,             " Movement Type
            END OF IT_HEAD,
            BEGIN OF IT_ITEM OCCURS 0,
              ID(10),
              "ID1(10),
              WERKS TYPE RM07M-WERKS,               " Plant
              LGORT TYPE RM07M-LGORT,               " Storage Location
              VAL_TYPE TYPE BWTAR_D,
              MATNR TYPE MSEG-MATNR,                " Material Number
              ERFMG(13) TYPE C,                     " Quantity
              CHARG TYPE MSEG-CHARG,                " Batch
              BWTAR TYPE BWTAR_D,
              PS_POSID TYPE PS_POSID,                 " WBS Element
              ERFME TYPE MSEG-ERFME,                  " Unit
              COST_CENTER TYPE KOSTL,                " cost center
              ORDER TYPE AUFNR,                      " order number
              CUSTOMER TYPE EKUNN,                    " Account Number of Customer
              SERNR TYPE RIPW0-SERNR,                 " Serial Number
              AMOUNT_LC TYPE BAPI_EXBWR,
              SOBKZ(1),
            END OF IT_ITEM,
              HEADER   LIKE BAPI2017_GM_HEAD_01,
              CODE     LIKE BAPI2017_GM_CODE,
              ITEMS    LIKE BAPI2017_GM_ITEM_CREATE OCCURS 0 WITH HEADER LINE,
              SERIAL   LIKE BAPI2017_GM_SERIALNUMBER OCCURS 0 WITH HEADER LINE,
              RETURN   LIKE BAPI2017_GM_HEAD_RET,
              RET      LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE,
              TESTRUN  LIKE BAPI2017_GM_GEN-TESTRUN,
              IT_TAB   TYPE FILETABLE,
              GD_SUBRC TYPE I,
              L_FILE   TYPE RLGRAP-FILENAME,
              IT_RAW   TYPE TRUXS_T_TEXT_DATA,
              COUNT(2) TYPE N,
              TEXT_C(30).
    DATA: DATA     LIKE TABLE OF IT_ITEM WITH HEADER LINE.
    DATA: IT_TEMP  LIKE TABLE OF IT_ITEM WITH HEADER LINE.
    DATA: IT_TEMP1 LIKE TABLE OF IT_ITEM WITH HEADER LINE.
    DATA: IT_ITEM1 LIKE TABLE OF IT_ITEM WITH HEADER LINE.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_FILE TYPE RLGRAP-FILENAME.
    *             p_test AS CHECKBOX.
    SELECTION-SCREEN: END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
       CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
         EXPORTING
           WINDOW_TITLE = 'SELECT FILE'
         CHANGING
           FILE_TABLE   = IT_TAB
           RC           = GD_SUBRC.
       READ TABLE IT_TAB INTO P_FILE INDEX 1.
    START-OF-SELECTION.
       PERFORM GET_EXCEL_DATA.
       PERFORM GET_HEADER_ITEM.
       PERFORM UPDATE_DATA.
    *&      Form  GET_EXCEL_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_EXCEL_DATA .
       CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
         EXPORTING
           INPUT  = P_FILE
         IMPORTING
           OUTPUT = L_FILE.
       CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
         EXPORTING
           I_LINE_HEADER        = 'X'
           I_TAB_RAW_DATA       = IT_RAW
           I_FILENAME           = L_FILE
         TABLES
           I_TAB_CONVERTED_DATA = IT_DATA
         EXCEPTIONS
           CONVERSION_FAILED    = 1
           OTHERS               = 2.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    ENDFORM. " GET_EXCEL_DATA
    *&      Form  GET_HEADER_ITEM
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_HEADER_ITEM .
       DATA : FLAG(1).
       LOOP AT IT_DATA.
         CLEAR FLAG.
         IF IT_DATA-ID IS NOT INITIAL.
           AT NEW ID.
             FLAG = 'X'.
           ENDAT.
         ENDIF.
         IF FLAG = 'X'.
           MOVE-CORRESPONDING IT_DATA TO IT_HEAD.
           APPEND IT_HEAD.
         ENDIF.
         MOVE-CORRESPONDING IT_DATA TO IT_ITEM.
         APPEND IT_ITEM.
       ENDLOOP.
       DATA[] = IT_ITEM[].
       IT_TEMP[] = IT_ITEM[].
       IT_TEMP1[] = IT_ITEM[].
    ENDFORM. " GET_HEADER_ITEM
    *&      Form  UPDATE_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM UPDATE_DATA .
       DATA : COUNT1(10),
              L_QTY TYPE I,
              DAT(10).
       CONCATENATE SY-DATUM+6(2) '.' SY-DATUM+4(2) '.' SY-DATUM(4) INTO DAT.
       LOOP AT IT_HEAD.
         ON CHANGE OF IT_HEAD-ID.
           CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
             EXPORTING
               DATE_EXTERNAL       = IT_HEAD-BUDAT
               ACCEPT_INITIAL_DATE = 'X'
             IMPORTING
               DATE_INTERNAL       = HEADER-PSTNG_DATE.
           IF SY-SUBRC <> 0.
             MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
           CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
             EXPORTING
               DATE_EXTERNAL       = IT_HEAD-BLDAT
               ACCEPT_INITIAL_DATE = 'X'
             IMPORTING
               DATE_INTERNAL       = HEADER-DOC_DATE.
           IF SY-SUBRC <> 0.
             MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
           MOVE : '2'                TO HEADER-VER_GR_GI_SLIP,
                  'X'                TO HEADER-VER_GR_GI_SLIPX.
    *      IF r1 EQ 'X'.
           MOVE '05' TO CODE-GM_CODE.
           HEADER-REF_DOC_NO = IT_HEAD-REF_DOC_NO.
           "HEADER-HEADER_TXT = IT_HEAD-HEADER_TXT.
    *      ELSEIF r2 EQ 'X'.
    *        MOVE '04' TO code-gm_code.
    *      ELSEIF r3 EQ 'X'.
    *        MOVE '04' TO code-gm_code.
    *      ENDIF.
    *      IF p_test = 'X'.
    *        MOVE 'X' TO testrun.
    *      ENDIF.
         ENDON.
         IT_ITEM1[] = IT_ITEM[].
    *delete it_item[] where werks = '' and id = it_head-id.
         DELETE ADJACENT DUPLICATES FROM IT_ITEM COMPARING ID MATNR.
         LOOP AT IT_ITEM WHERE ID = IT_HEAD-ID.
    *      ON CHANGE OF it_item-id1.
           COUNT1 = COUNT1 + 1.
           CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = IT_ITEM-MATNR
             IMPORTING
               OUTPUT = ITEMS-MATERIAL.
           MOVE : IT_ITEM-WERKS TO ITEMS-PLANT,
                  IT_ITEM-LGORT TO ITEMS-STGE_LOC,
    *             it_item-lgort1 TO items-move_stloc,
                  IT_ITEM-CHARG TO ITEMS-BATCH,
    *            IT_ITEM-VAL_TYPE TO ITEMS-VAL_TYPE,
                  'FRESH' TO ITEMS-VAL_TYPE,
                  IT_HEAD-BWART TO ITEMS-MOVE_TYPE,
                  IT_ITEM-SOBKZ TO ITEMS-SPEC_STOCK,
                  IT_ITEM-ERFMG TO ITEMS-ENTRY_QNT,
                  IT_ITEM-ERFMG TO ITEMS-ENTRY_QNT,
    *            it_item-erfme TO items-entry_uom,
    *            it_item-sgtxt TO items-item_text,
    *            it_item-exbwr TO items-amount_lc,
                  IT_ITEM-PS_POSID TO ITEMS-WBS_ELEM,
                  IT_ITEM-PS_POSID TO ITEMS-VAL_WBS_ELEM,
                  "IT_ITEM-CUSTOMER TO ITEMS-CUSTOMER,
                  IT_ITEM-ERFMG TO L_QTY,
                  IT_ITEM-AMOUNT_LC TO ITEMS-AMOUNT_LC,
                  IT_ITEM-COST_CENTER TO ITEMS-COSTCENTER,
                  IT_ITEM-ORDER TO ITEMS-ORDERID.
    *             items-SPEC_MVMT = 'R'.
           CALL FUNCTION 'CONVERSION_EXIT_ABPSN_INPUT'
             EXPORTING
               INPUT  = ITEMS-WBS_ELEM
             IMPORTING
               OUTPUT = ITEMS-WBS_ELEM.
           CALL FUNCTION 'CONVERSION_EXIT_ABPSN_INPUT'
             EXPORTING
               INPUT  = ITEMS-VAL_WBS_ELEM
             IMPORTING
               OUTPUT = ITEMS-VAL_WBS_ELEM.
    *      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    *        EXPORTING
    *          input  = it_item-lifnr
    *        IMPORTING
    *          output = items-vendor.
           APPEND ITEMS.
    *      ENDON.
         ENDLOOP.
         DELETE ADJACENT DUPLICATES FROM IT_TEMP COMPARING ID MATNR.
         DELETE IT_TEMP1 WHERE ID <> IT_HEAD-ID.
         DELETE IT_TEMP WHERE ID <> IT_HEAD-ID.
         DATA: MAT_ITM TYPE MBLPO,
               SERNP TYPE SERAIL.
         MAT_ITM = '0001'.
         LOOP AT IT_TEMP.
           SELECT SINGLE SERNP FROM MARC INTO SERNP WHERE MATNR = IT_TEMP-MATNR.
           IF SERNP IS NOT INITIAL.
             LOOP AT IT_TEMP1 WHERE ID = IT_TEMP-ID AND MATNR = IT_TEMP-MATNR.
    *    MOVE : it_item1-id TO serial-matdoc_itm,
    *     MOVE : mat_itm TO serial-matdoc_itm,
               SERIAL-MATDOC_ITM = MAT_ITM .
               SERIAL-SERIALNO   = IT_TEMP1-SERNR.
               APPEND SERIAL.
               CLEAR IT_ITEM1.
             ENDLOOP.
             MAT_ITM = MAT_ITM + 1.
           ENDIF.
           CLEAR IT_TEMP.
         ENDLOOP.
         CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
           EXPORTING
             GOODSMVT_HEADER       = HEADER
             GOODSMVT_CODE         = CODE
             TESTRUN               = TESTRUN
    *       GOODSMVT_REF_EWM      =
           IMPORTING
             GOODSMVT_HEADRET      = RETURN
    *       MATERIALDOCUMENT      =
    *       MATDOCUMENTYEAR       =
           TABLES
             GOODSMVT_ITEM         = ITEMS
             GOODSMVT_SERIALNUMBER = SERIAL
             RETURN                = RET
    *       GOODSMVT_SERV_PART_DATA =
    *       EXTENSIONIN           =
         CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
             WAIT = 'X'
    *   IMPORTING
    *       RETURN        =
         IF NOT RETURN IS INITIAL.
           WRITE :/ 'Material Document Number Generated: ' ,RETURN-MAT_DOC,RETURN-DOC_YEAR.
         ELSE.
           LOOP AT RET.
             WRITE : RET-TYPE,    RET-MESSAGE.
    *      log-index = sy-index.
    *      log-matnr = header-material.
    *      log-message = ret1-message.
    *      APPEND log.
           ENDLOOP.
         ENDIF.
         REFRESH : ITEMS,RET.
         CLEAR : HEADER,RETURN.
         CLEAR: TESTRUN  ,
                RETURN,
                ITEMS[],
                SERIAL[],
                RET[],
                HEADER,
                IT_TEMP[] ,
                IT_TEMP1[].
         IT_TEMP[] = DATA[].
         IT_TEMP1[] = DATA[].
       ENDLOOP.
    ENDFORM. " UPDATE_DATA
    Regards,
    Suresh bheema

  • I get the following error when I deploy to oracle app server 10.1.3

    \jdevstudio10131\jdev\mywork\spneeds1\spneeds1\deploy\ejb3.ear
    Uploading file ejb3.ear ...
    Application Deployer for ejb3 STARTS.
    Copy the archive to /oracle/j2ee1013/j2ee/home/applications/ejb3.ear
    Initialize /oracle/j2ee1013/j2ee/home/applications/ejb3.ear begins...
    Unpacking ejb3.ear
    Done unpacking ejb3.ear
    Initialize /oracle/j2ee1013/j2ee/home/applications/ejb3.ear ends...
    Starting application : ejb3
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Processing EJB module: ejb3.jar
    application : ejb3 is in failed state
    Operation failed with error:
    @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.
    Deployment failed
    Elapsed time for deployment: 4 seconds

    A similar question is posted in jdev forums
    please find answer to this question thier

  • I am trying to access a website for my business and keep getting this error message when logging in: (Error code: ssl_error_access_denied_alert). Help!

    How do I fix this error code? Everything that I have searched and tried to do did not help. Tech support is unsure how to handle this error message either for this something they have not really had to deal with. Any insights would be greatly appreciated on how to handle this error code and clear it out. Thank you!

    Did you try to disable TLS by setting both prefs to 0 or only use TLS 1.0 (both prefs 1)
    *http://kb.mozillazine.org/security.tls.version.*
    0 means SSL 3.0, 1 means TLS 1.0, 2 means TLS 1.1, etc.

  • I get an error message when I try to install Lion

    The mesage says that the file was corrupted during download.  What do I need to do?

    Assuming you are still using Snow Leopard, log into your App Store account using the same Apple ID used to purchase Lion. Press and hold down the OPTION key and click on the Purchases icon in the App Store toolbar. This should provide an active Install button to the right of the original Lion purchase Entry.

  • I' m getting a "publishing error" when trying to publish to FTP server (DreamHost)

    Help!
    Sunny

    If you are using the iWeb FTP this can be caused by bad file names - particularly image files. Make sure they don't have any spaces or special characters in them.
    Other errors can be caused by having the Facebook update box checked in publishing settings.
    If file names are not the cause, try the troubleshooting steps under "Fix iWeb" here...
    http://www.iwebformusicians.com/iWeb/iWeb-Tips.html

  • Can login, but can't get Kerberos ticket

    Hi,
    This is on OS X Server 10.5.8, all up to date, and an OS X Client 10.6.4, all up to date.
    One user in particular can login, however they can't get a kerberos ticket (iChat and other apps fail to login). They can use the Ticket Viewer app to see that there is no ticket, but then add an identity manually and it all works fine.
    If I change the password via Workgroup Manager they can login with that new password. I also ticked "change password at next login", however the client didn't pick that up (although they logged in with the new password).
    Also, when trying to change the password via System Prefs, it says the old (current) password is incorrect, even though its the same as they logged on with.
    I'm pretty sure the problems are to do with the Kerberos login check failing (as seen in the log below) - but why would the user be able to login, yet fail the kerberos authentication check?
    Output from password server log:
    Nov 2 2010 10:24:52 RSAVALIDATE: success.
    Nov 2 2010 10:24:52 AUTH2: {0x46ac8ee739c0ff000000000e0000000e, nhankey} DHX authentication succeeded.
    Nov 2 2010 10:24:52 KERBEROS-LOGIN-CHECK: user {0x46ac8ee739c0ff000000000e0000000e, nhankey} authentication failed.
    Nov 2 2010 10:24:52 GETPOLICY: user {0x46ac8ee739c0ff000000000e0000000e, nhankey}.
    Nov 2 2010 10:24:52 GETPOLICY: user {0x46ac8ee739c0ff000000000e0000000e, nhankey}.
    Nov 2 2010 10:24:55 RSAVALIDATE: success.
    Nov 2 2010 10:24:55 AUTH2: {0x46ac8ee739c0ff000000000e0000000e, nhankey} DIGEST-MD5 authentication succeeded.
    Nov 2 2010 10:24:56 RSAVALIDATE: success.
    Nov 2 2010 10:24:56 AUTH2: {0x46ac8ee739c0ff000000000e0000000e, nhankey} DHX authentication succeeded.
    Nov 2 2010 10:24:56 KERBEROS-LOGIN-CHECK: user {0x46ac8ee739c0ff000000000e0000000e, nhankey} authentication failed.
    Nov 2 2010 10:24:56 RSAVALIDATE: success.
    Nov 2 2010 10:24:56 AUTH2: {0x46ac8ee739c0ff000000000e0000000e, nhankey} DHX authentication succeeded.
    Nov 2 2010 10:24:56 KERBEROS-LOGIN-CHECK: user {0x46ac8ee739c0ff000000000e0000000e, nhankey} authentication failed.
    Is there a way to see which tickets have been issued on the server?
    Thanks for any help.
    Regards,
    Steve

    ... bump ...

  • Initial Kerberos ticket only 10 minutes- how to fix?

    I have a 10.5.8 server with OD and AFP set up.
    I have an OD user account. I have two client machines, both bound to the OD server with Directory Utility.
    On client A (10.5.8), I have a local user account that is "Managed, Mobile" with the same username/password as my OD account, but I'm using my local home directory as my default and not syncing to my server home directory.
    On client B (also 10.5.8), which is a shared machine, I do not have a local account matching my OD account.
    On every startup of client A, I automatically get a Kerberos ticket for the server, as I'd expect, but it has a life of only 10 minutes and does not auto-renew. As long as the ticket is valid, I can connect to and mount sharepoints on the server (without new authentication). Once the ticket expires, I can't connect to the AFP server without manually renewing the ticket (I use the Kerberos client) or re-booting. (Otherwise, I get a login prompt but credentials are not accepted.) If I renew the ticket, it renews for 10 hours and then I can connect to the AFP server, but I have to do this manually. It doesn't appear to matter whether I've set client A to trusted binding. I've set Kerberos preferences on A to a minimum and maximum ticket life of 10 hours, but this doesn't help.
    On client B (also 10.5.8), with a similar setup in Directory Utility, I get a 10 hour ticket. (If I login at startup with my OD account, I get the Kerberos ticket immediately. If I login in with a local account, I'm prompted to authenticate when I attempt to connect to the AFP server and then can use my OD account to connect.) I've not waited to see if this ticket will auto-renew, but my Kerberos preferences (on both A and B) are set to a renewable life range of 7 days and I'm guessing that it will auto-renew on B.
    Client B behavior is what I expect. Client A behavior I don't understand. Can anyone help me figure out what's happening (keeping in mind that I'm an OD novice!), so that I can stop client A from creating a ticket with such a short life?
    Thanks in advance for any help.

    I am not really following what you have and what you want here.
    Each Sequence is unique, and has a Duration that is equal (or should be) to the total Duration of the Assets on that Sequence.
    It is not until one defines the output and delivery of those Sequences, that any concern needs to be made for the Duration, and then the TimeCode for that delivery will incorporate the Durations from all Sequences used.
    Let's take a DVD as an example. One edits in Sequences. Their Durations will be determined by Clips on each Sequence. While there are different workflows here, I am going to keep it very simple. I am also going to save typing, and just list the minutes of Duration for each Sequence.
    I have 4 Sequences, #1 thru #4. I Export each Sequence as an AV file (DV-AVI on PC, or MOV on a Mac). Sequence #1 is 20 mins. long. Sequence #2 is 10 mins. Sequence #3 is 10 mins. Sequence #4 is 20 mins. This will be a total of 60 mins., when Imported into Encore for authoring the DVD. I assemble my 4 Sequences, in whatever order I wish, or use a Playlist to navigate to each/all in whatever order I wish. The TimeCode in the Sequences (back in PrPro) make no difference. Each starts at 00;00;00;00, and only the total Duration of each really counts for anything in my authoring. I can choose to play any/all, and in any order that I wish.
    Now, if one wishes to Export to some other delivery scheme, say a MOV filed combined into one, you can Nest (in the manual, or Help file) all Sequences into a single additional Sequence, and in any order that you wish, say Sequence 4, Sequence 1, Sequence 3 and Sequence 2. Then, just Export that new, Nested Sequence as a MOV file. That Nested Sequence does not care what the starting TimeCode of each of the contributing Sequences was. Only the total Duration of all Sequences matters.
    Does that make sense? If not, can you articulate exactly what the problem with your Sequences is?
    Good luck,
    Hunt

  • Will not allow me to add caldav account (Calendar couldn't log in to the CalDAV server "webdav.skedge.me"error message)or I get the not a secure server message with the option to continue...but then it sticks it wont continue

    I WISH I HAD NOT UPGRADED...THIS IS A NIGHTMARE.  I need to sync my appointment scheduler that is embedded in my website to my ical (which was easily done through publishing with the previous version) since I have upgraded I dont have the option to publish...but can add the cal DAV account, which I tried to do but I get a "Calendar couldn't log in to the CalDAV server “webdav.skedge.me”." error message if I go through edit ccount> add other account  in system prefereneces otherwise I get a not secure server warning that will not continue when I select continue if I simply try to add an account using the + sign options at the bottom left of the systems preference pop up window
    found a potenital fix (that I think would work if I could understand how to do what they are telling me to do) it said to configure webdav sharing for active directory accounts...tried to follow the instructions...could not understand them (very techy instructions). 
    FYI to any one that may find it in thier heart to answer this...I AM NOT COMPUTER LITERATE I am a veterinarian not a computer programer...so please but things in terms I can understand...i dont know what root access or server admin means...I dont know how to edit config files or even open directories with terminal ...i dont know what pico is or how to open it on my computer.  Thanks
    If know one can help can someone please tell me how to un-upgrade..this *****!
    thanks
    Catherine

    Check the date and time in the clock on your computer: (double) click the clock icon on the Windows Taskbar.
    * https://support.mozilla.com/kb/Secure+Connection+Failed
    You can retrieve the certificate and check who issued the certificate and other details like when it is valid.
    * Click the link at the bottom of the error page: "I Understand the Risks"
    Let Firefox retrieve the certificate: "Add Exception" -> "Get Certificate".
    * Click the "View..." button to inspect the certificate and check who is the issuer.

  • Mobile accounts are not being issued kerberos tickets

    Hi
    If I set mobile accounts to expire as soon as they log out, as soon as the user logs back into the same mac with the same account, it does not get issued another kerberos ticket at login.
    If I turn mobile accounts off, it works every time.
    running 10.6, 10.6 open directory server and the user accounts are AD accounts server 2003.
    I am pulling my hair our here. Is this something that is intentional?

    Other observations:
    *1. from /Library/Logs/DirectoryService/DirectoryService.error.log*
    2010-06-18 14:04:11 CEST - T[0xB0185000] - Misconfiguration detected in hash 'Global UID':
    2010-06-18 14:04:11 CEST - T[0xB0185000] - User 'user1' (/LDAPv3/macsrv1.disney.ch) - ID 1035 - UUID 80699B6C-A90E-4D2F-9B07-FB78F72E9709 - SID S-1-5-21-4063190502-2217233148-2094676766-3070
    *2. user IS showing up in the login window.*
    If I configure the login window to show all users (including network users), then user1 does indeed show up.
    *3. Logging into user1 via ssh works.*
    *4. dscl on macsrv1*
    dscl /LDAPv3/127.0.0.1 -list /Users
    does indeed show user1 (and any other user I create)
    So why can't I login/create user1 on the client mac without toggling the FULL PATH to /Network/Servers/macsrv1.disney.ch/users/user1 first? arghh!

Maybe you are looking for

  • Regarding ESOA - Hype or Reality

    Hello Friends,   Im working in Process Integration area.And heard abt the ESOA. My Queries are 1.How the ESOA will enrich Netweaver Process Integration. 2.I have seen in a SAP blog the definition of SOA as "Loose Coupling, Open-Closed or Interface Se

  • How to create BDocs through SBDM TCode  in CRM

    Hi Everyone , I want to create a BDoc in SBDM ( BDoc modeler ) Tcode , as i am new to CRM i dont have any idea about how to go ahead , i searched in google but i did'nt get any step by step documents for this . So requesting if anybody can help me ou

  • Best way to replace image in an AI file 100 times?

    Hi all! This is driving me crazy... So I have my A4 AI document with a QR code at the bottom (don't ask why I'm using QR codes, client work) and need to replace it and export the A4 poster as a PDF. I need to do this 100 times with 100 different QR c

  • How bit map index works?

    I am not getting an example for bitmap index mechanism. Supposing their is a table T1 with column c1 having records Y N N Y Y N and i query the table like select * from t1 where c1 = 'Y' How bit map index functions? thanks, Vinodh

  • HT201493 Why do i  get a Location unavailable message when trying to search for a friend?

    When looking for only 1 of my 2 friends I get a location unavailable message. Does anyone know why? He doesn't have me blocked