Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4670417

issues related to Kerberos tool ktab

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      issue 1: when ktab should work fine if it include -a and -d option in the same command. Current implementation does not take care of them. For example

      ktab -l -a dummy2 bogus -d dummy1 -k FILE:/home/lw129730/mykrb5tab

      The above command should add dummy2 and delete dummy1. Current implementation just does one of them, deleting dummy1. The result can be observed in the follow.

      *******************************************************************
      lwang:/home/lw129730/Kerberos( 168 )%klist -c -k -K FILE:/home/lw129730/mykrb5tab

      Key tab: FILE:/home/lw129730/mykrb5tab, 2 entries found.

      [1] Service principal: ###@###.###
               KVNO: 1
               Key: 0x2022398269baddf
      [2] Service principal: ###@###.###
               KVNO: 1
               Key: 0x5e9e3132baece991
      lwang:/home/lw129730/Kerberos( 169 )%ktab -l -a dummy2 bogus -d dummy1 -k FILE:/home/lw129730/mykrb5tab
      Are you sure you want to delete service key for ###@###.### in /home/lw129730/mykrb5tab?(Y/N) :y
      Done!
      lwang:/home/lw129730/Kerberos( 170 )%klist -c -k -K FILE:/home/lw129730/mykrb5tab

      Key tab: FILE:/home/lw129730/mykrb5tab, 1 entry found.

      [1] Service principal: ###@###.###
               KVNO: 1
               Key: 0x2022398269baddf
      lwang:/home/lw129730/Kerberos( 171 )%which ktab
      /net/luster/export/scratch/jsn_re/jdk/jdk1.4.1/ws/build/solaris-sparc/bin/ktab
      lwang:/home/lw129730/Kerberos( 172 )%which klist
      /net/luster/export/scratch/jsn_re/jdk/jdk1.4.1/ws/build/solaris-sparc/bin/klist
      lwang:/home/lw129730/Kerberos( 173 )%
      ********************************************************************************



      issue 2: Since all parameters "-l -a -d -k" are case-insensitive, specification should mention it.

        Attachments

          Activity

            People

            Assignee:
            ahumlsunw Alison Huml (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: