Authenticate USer using JNDI LDAP

Ramesh Rao rao.rao.d at gmail.com
Thu Feb 28 16:09:26 EST 2008


 Hi ,
>
> I have a setup as follows:
> 1. Win2003 AD Server
> 2. Win2003 Client connected to the AD Domain
> 3. Now i have  krb5.ini, Java Program and JASS conf files (Please
> find attachment for these files)
> 4. When i try to run
> java -Djava.security.auth.login.config=searchWithAuth.conf -
> Djava.security.krb5.conf=krb5.ini -Dsun.security.krb5.debug=true
> SearchWithAuth
>
> Iam getting the following:
> D:\Kerberostools>java -
> Djava.security.auth.login.config=searchWithAuth.conf -Dja
> va.security.krb5.conf=krb5.ini -Dsun.security.krb5.debug=true
> SearchWithAuth
> Kerberos username [Ramesh.rao]: Ramesh.rao
> Kerberos password for Ramesh.rao: Password12
> >>> EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
> >>> KrbAsReq calling createMessage
> >>> KrbAsReq in createMessage
> >>> KrbAsReq etypes are: 3 1
> >>> KrbKdcReq send: kdc=MPAFTEST.COM <http://mpaftest.com/> UDP:88,
timeout=30000, number
> of retries =3
> , #bytes=224
> >>> KDCCommunication: kdc=MPAFTEST.COM <http://mpaftest.com/> UDP:88,
> timeout=30000,Attempt =1, #bytes=
> 224
> >>> KrbKdcReq send: #bytes read=1296
> >>> KrbKdcReq send: #bytes read=1296
> >>> EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
> >>> KrbAsRep cons in KrbAsReq.getReply Ramesh.rao
> Authenticated via GSS-API
> Found ticket for Ramesh.rao at MPAFTEST.COM to go to krbtgt/
> MPAFTEST.COM at MPAFTEST.C
> OM expiring on Wed Feb 27 01:04:36 GMT+05:30 2008
> Entered Krb5Context.initSecContext with state=STATE_NEW
> Found ticket for Ramesh.rao at MPAFTEST.COM to go to krbtgt/
> MPAFTEST.COM at MPAFTEST.C
> OM expiring on Wed Feb 27 01:04:36 GMT+05:30 2008
> Service ticket not found in the subject
> >>> Credentials acquireServiceCreds: same realm
> >>> CksumType: sun.security.krb5.internal.crypto.RsaMd5CksumType
> >>> EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
> >>> KrbKdcReq send: kdc=MPAFTEST.COM <http://mpaftest.com/> UDP:88,
timeout=30000, number
> of retries =3
> , #bytes=1269
> >>> KDCCommunication: kdc=MPAFTEST.COM <http://mpaftest.com/> UDP:88,
> timeout=30000,Attempt =1, #bytes=
> 1269
> >>> KrbKdcReq send: #bytes read=1229
> >>> KrbKdcReq send: #bytes read=1229
> >>> EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
> >>> KrbApReq: APOptions are 00100000 00000000 00000000 00000000
> >>> EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
> Krb5Context setting mySeqNumber to: 697
> Created InitSecContextToken:
> 0000: 30 31 20 30 30 20 36 65   20 38 32 20 30 34 20 38  01 00 6e
> 82 04 8
> 0010: 39 20 33 30 20 38 32 20   30 34 20 38 35 20 61 30  9 30 82 04
> 85 a0
> 0020: 20 30 33 20 30 32 20 30   31 20 30 35 20 61 31 20   03 02 01
> 05 a1
> 0030: 30 33 20 30 32 20 30 31   20 30 65 20 61 32 20 30  03 02 01
> 0e a2 0
> 0040: 37 20 30 33 20 30 35 20   30 30 20 32 30 20 30 30  7 03 05 00
> 20 00
> 0050: 20 30 30 20 30 30 20 61   33 20 38 32 20 30 33 20   00 00 a3
> 82 03
> 0060: 61 64 20 36 31 20 38 32   20 30 33 20 61 39 20 33  ad 61 82
> 03 a9 3
> 0070: 30 20 38 32 20 30 33 20   61 35 20 61 30 20 30 33  0 82 03 a5
> a0 03
> 0080: 20 30 32 20 30 31 20 30   35 20 61 31 20 30 65 20   02 01 05
> a1 0e
> 0090: 31 62 20 30 63 20 34 64   20 35 30 20 34 31 20 34  1b 0c 4d
> 50 41 4
> 00A0: 36 20 35 34 20 34 35 20   35 33 20 35 34 20 32 65  6 54 45 53
> 54 2e
> 00B0: 20 34 33 20 34 66 20 34   64 20 61 32 20 32 30 20   43 4f 4d
> a2 20
> 00C0: 33 30 20 31 65 20 61 30   20 30 33 20 30 32 20 30  30 1e a0
> 03 02 0
> 00D0: 31 20 30 30 20 61 31 20   31 37 20 33 30 20 31 35  1 00 a1 17
> 30 15
> 00E0: 20 31 62 20 30 34 20 36   63 20 36 34 20 36 31 20   1b 04 6c
> 64 61
> 00F0: 37 30 20 31 62 20 30 64   20 37 37 20 36 62 20 37  70 1b 0d
> 77 6b 7
> 0100: 33 20 36 63 20 36 31 20   37 35 20 37 32 20 36 35  3 6c 61 75
> 72 65
> 0110: 20 36 63 20 33 33 20 33   32 20 33 32 20 33 35 20   6c 33 32
> 32 35
> 0120: 61 33 20 38 32 20 30 33   20 36 61 20 33 30 20 38  a3 82 03
> 6a 30 8
> 0130: 32 20 30 33 20 36 36 20   61 30 20 30 33 20 30 32  2 03 66 a0
> 03 02
> 0140: 20 30 31 20 31 37 20 61   31 20 30 33 20 30 32 20   01 17 a1
> 03 02
> 0150: 30 31 20 30 33 20 61 32   20 38 32 20 30 33 20 35  01 03 a2
> 82 03 5
> 0160: 38 20 30 34 20 38 32 20   30 33 20 35 34 20 66 30  8 04 82 03
> 54 f0
> 0170: 20 35 31 20 31 65 20 30   65 20 39 65 20 64 36 20   51 1e 0e
> 9e d6
> 0180: 61 37 20 61 64 20 65 66   20 64 62 20 31 34 20 31  a7 ad ef
> db 14 1
> 0190: 31 20 35 34 20 36 62 20   38 35 20 63 64 20 64 35  1 54 6b 85
> cd d5
> 01A0: 20 63 32 20 30 34 20 32   65 20 36 61 20 30 63 20   c2 04 2e
> 6a 0c
> 01B0: 66 63 20 35 31 20 32 37   20 35 31 20 36 32 20 63  fc 51 27
> 51 62 c
> 01C0: 62 20 65 35 20 30 66 20   62 35 20 32 63 20 39 61  b e5 0f b5
> 2c 9a
> 01D0: 20 34 65 20 31 63 20 34   39 20 33 39 20 39 34 20   4e 1c 49
> 39 94
> 01E0: 34 61 20 38 61 20 31 32   20 36 33 20 39 66 20 37  4a 8a 12
> 63 9f 7
> 01F0: 63 20 31 34 20 31 63 20   36 30 20 30 34 20 63 34  c 14 1c 60
> 04 c4
> 0200: 20 36 36 20 32 61 20 34   63 20 65 36 20 32 35 20   66 2a 4c
> e6 25
> 0210: 38 32 20 33 34 20 37 62   20 32 61 20 36 64 20 32  82 34 7b
> 2a 6d 2
> 0220: 32 20 65 65 20 65 30 20   39 38 20 32 31 20 38 37  2 ee e0 98
> 21 87
> 0230: 20 38 32 20 32 36 20 33   31 20 36 61 20 64 34 20   82 26 31
> 6a d4
> 0240: 38 38 20 39 62 20 39 38   20 33 36 20 32 32 20 33  88 9b 98
> 36 22 3
> 0250: 32 20 36 65 20 61 37 20   31 63 20 33 61 20 62 35  2 6e a7 1c
> 3a b5
> 0260: 20 32 35 20 36 37 20 62   34 20 38 35 20 39 37 20   25 67 b4
> 85 97
> 0270: 31 66 20 30 63 20 30 32   20 63 31 20 62 38 20 32  1f 0c 02
> c1 b8 2
> 0280: 39 20 37 38 20 66 32 20   32 38 20 66 39 20 61 34  9 78 f2 28
> f9 a4
> 0290: 20 36 62 20 62 65 20 30   61 20 31 34 20 32 64 20   6b be 0a
> 14 2d
> 02A0: 62 31 20 64 64 20 34 66   20 62 30 20 61 66 20 31  b1 dd 4f
> b0 af 1
> 02B0: 63 20 30 34 20 36 33 20   61 37 20 37 64 20 35 30  c 04 63 a7
> 7d 50
> 02C0: 20 39 32 20 66 38 20 36   65 20 61 30 20 61 35 20   92 f8 6e
> a0 a5
> 02D0: 34 36 20 32 61 20 37 39   20 35 36 20 31 33 20 36  46 2a 79
> 56 13 6
> 02E0: 34 20 38 36 20 62 66 20   31 63 20 66 33 20 33 61  4 86 bf 1c
> f3 3a
> 02F0: 20 33 31 20 64 39 20 66   66 20 36 34 20 36 30 20   31 d9 ff
> 64 60
> 0300: 33 62 20 66 34 20 32 61   20 33 64 20 39 61 20 34  3b f4 2a
> 3d 9a 4
> 0310: 64 20 32 36 20 63 62 20   31 63 20 33 62 20 64 64  d 26 cb 1c
> 3b dd
> 0320: 20 34 39 20 64 66 20 65   31 20 30 65 20 36 64 20   49 df e1
> 0e 6d
> 0330: 35 66 20 64 31 20 33 31   20 66 32 20 33 38 20 35  5f d1 31
> f2 38 5
> 0340: 61 20 64 65 20 38 38 20   35 64 20 37 64 20 37 62  a de 88 5d
> 7d 7b
> 0350: 20 61 32 20 30 37 20 37   63 20 30 36 20 31 30 20   a2 07 7c
> 06 10
> 0360: 62 31 20 35 63 20 63 62   20 36 64 20 63 66 20 35  b1 5c cb
> 6d cf 5
> 0370: 36 20 65 39 20 30 32 20   66 61 20 31 34 20 33 34  6 e9 02 fa
> 14 34
> 0380: 20 30 30 20 31 39 20 35   38 20 30 31 20 65 34 20   00 19 58
> 01 e4
> 0390: 63 37 20 37 37 20 61 34   20 37 35 20 32 39 20 35  c7 77 a4
> 75 29 5
> 03A0: 37 20 65 34 20 63 37 20   37 35 20 35 61 20 30 63  7 e4 c7 75
> 5a 0c
> 03B0: 20 38 63 20 65 35 20 31   35 20 64 33 20 32 61 20   8c e5 15
> d3 2a
> 03C0: 32 37 20 31 35 20 33 31   20 36 61 20 66 34 20 39  27 15 31
> 6a f4 9
> 03D0: 36 20 35 35 20 63 38 20   36 31 20 30 37 20 34 32  6 55 c8 61
> 07 42
> 03E0: 20 31 62 20 32 38 20 38   35 20 61 61 20 37 32 20   1b 28 85
> aa 72
> 03F0: 38 35 20 39 61 20 38 38   20 32 34 20 63 34 20 66  85 9a 88
> 24 c4 f
> 0400: 64 20 64 66 20 34 34 20   33 39 20 34 31 20 36 65  d df 44 39
> 41 6e
> 0410: 20 31 63 20 39 63 20 66   34 20 39 63 20 38 62 20   1c 9c f4
> 9c 8b
> 0420: 35 61 20 36 62 20 38 34   20 30 63 20 64 39 20 61  5a 6b 84
> 0c d9 a
> 0430: 61 20 61 36 20 63 65 20   62 66 20 31 63 20 37 30  a a6 ce bf
> 1c 70
> 0440: 20 34 34 20 63 63 20 66   30 20 65 65 20 36 61 20   44 cc f0
> ee 6a
> 0450: 39 66 20 37 34 20 30 64   20 39 63 20 65 39 20 61  9f 74 0d
> 9c e9 a
> 0460: 65 20 65 31 20 33 62 20   33 37 20 31 61 20 36 39  e e1 3b 37
> 1a 69
> 0470: 20 63 31 20 64 65 20 62   34 20 30 37 20 62 31 20   c1 de b4
> 07 b1
> 0480: 61 37 20 66 32 20 34 64   20 33 31 20 64 62 20 66  a7 f2 4d
> 31 db f
> 0490: 32 20 30 64 20 30 32 20   38 64 20 66 35 20 34 30  2 0d 02 8d
> f5 40
> 04A0: 20 66 33 20 32 62 20 64   64 20 38 31 20 61 63 20   f3 2b dd
> 81 ac
> 04B0: 64 30 20 33 64 20 66 31   20 66 39 20 35 31 20 37  d0 3d f1
> f9 51 7
> 04C0: 61 20 63 64 20 64 63 20   33 66 20 38 36 20 33 61  a cd dc 3f
> 86 3a
> 04D0: 20 36 39 20 33 31 20 33   65 20 62 32 20 61 62 20   69 31 3e
> b2 ab
> 04E0: 37 35 20 32 37 20 35 39   20 66 64 20 35 31 20 37  75 27 59
> fd 51 7
> 04F0: 63 20 33 61 20 66 39 20   34 33 20 31 65 20 62 34  c 3a f9 43
> 1e b4
> 0500: 20 66 34 20 39 33 20 39   35 20 33 37 20 31 30 20   f4 93 95
> 37 10
> 0510: 39 39 20 39 37 20 39 62   20 65 64 20 61 32 20 62  99 97 9b
> ed a2 b
> 0520: 63 20 32 34 20 32 63 20   38 37 20 38 65 20 65 38  c 24 2c 87
> 8e e8
> 0530: 20 37 35 20 36 62 20 62   37 20 64 65 20 33 39 20   75 6b b7
> de 39
> 0540: 64 32 20 33 35 20 66 39   20 30 66 20 63 32 20 66  d2 35 f9
> 0f c2 f
> 0550: 64 20 37 34 20 66 35 20   64 64 20 66 39 20 36 39  d 74 f5 dd
> f9 69
> 0560: 20 31 62 20 65 61 20 34   32 20 34 35 20 65 37 20   1b ea 42
> 45 e7
> 0570: 31 64 20 61 64 20 30 63   20 61 61 20 30 33 20 30  1d ad 0c
> aa 03 0
> 0580: 39 20 33 38 20 62 62 20   33 38 20 31 63 20 32 33  9 38 bb 38
> 1c 23
> 0590: 20 34 33 20 63 35 20 31   31 20 36 65 20 39 38 20   43 c5 11
> 6e 98
> 05A0: 31 39 20 38 36 20 38 39   20 37 38 20 63 63 20 62  19 86 89
> 78 cc b
> 05B0: 65 20 39 63 20 31 34 20   37 34 20 63 66 20 62 38  e 9c 14 74
> cf b8
> 05C0: 20 65 35 20 39 37 20 64   66 20 33 35 20 34 32 20   e5 97 df
> 35 42
> 05D0: 30 35 20 38 31 20 32 31   20 32 39 20 39 61 20 63  05 81 21
> 29 9a c
> 05E0: 62 20 61 39 20 36 34 20   62 34 20 38 62 20 62 37  b a9 64 b4
> 8b b7
> 05F0: 20 35 62 20 66 61 20 34   32 20 37 62 20 32 32 20   5b fa 42
> 7b 22
> 0600: 32 62 20 37 30 20 32 35   20 35 35 20 33 32 20 31  2b 70 25
> 55 32 1
> 0610: 66 20 62 36 20 62 65 20   33 64 20 37 32 20 35 31  f b6 be 3d
> 72 51
> 0620: 20 66 36 20 30 32 20 34   63 20 35 31 20 61 36 20   f6 02 4c
> 51 a6
> 0630: 63 62 20 37 38 20 30 35   20 64 65 20 63 33 20 61  cb 78 05
> de c3 a
> 0640: 61 20 37 62 20 33 38 20   38 39 20 32 63 20 39 66  a 7b 38 89
> 2c 9f
> 0650: 20 38 39 20 39 30 20 34   64 20 66 62 20 34 38 20   89 90 4d
> fb 48
> 0660: 38 31 20 30 63 20 65 61   20 30 30 20 38 37 20 66  81 0c ea
> 00 87 f
> 0670: 38 20 61 64 20 35 31 20   39 34 20 37 35 20 37 36  8 ad 51 94
> 75 76
> 0680: 20 65 37 20 32 36 20 36   33 20 33 36 20 30 32 20   e7 26 63
> 36 02
> 0690: 62 31 20 31 34 20 64 30   20 34 36 20 65 65 20 65  b1 14 d0
> 46 ee e
> 06A0: 66 20 33 64 20 62 35 20   66 61 20 33 62 20 32 34  f 3d b5 fa
> 3b 24
> 06B0: 20 61 39 20 64 31 20 32   31 20 39 38 20 34 38 20   a9 d1 21
> 98 48
> 06C0: 38 36 20 33 30 20 63 36   20 35 34 20 37 39 20 32  86 30 c6
> 54 79 2
> 06D0: 65 20 30 37 20 66 38 20   32 38 20 33 38 20 61 34  e 07 f8 28
> 38 a4
> 06E0: 20 36 61 20 63 61 20 38   36 20 65 34 20 36 39 20   6a ca 86
> e4 69
> 06F0: 34 37 20 33 30 20 38 63   20 65 63 20 64 33 20 65  47 30 8c
> ec d3 e
> 0700: 62 20 33 62 20 30 61 20   37 32 20 66 36 20 37 33  b 3b 0a 72
> f6 73
> 0710: 20 30 65 20 66 31 20 31   63 20 35 61 20 66 65 20   0e f1 1c
> 5a fe
> 0720: 63 38 20 33 37 20 35 61   20 32 38 20 31 64 20 63  c8 37 5a
> 28 1d c
> 0730: 66 20 35 32 20 36 64 20   36 32 20 65 62 20 30 36  f 52 6d 62
> eb 06
> 0740: 20 66 34 20 35 30 20 65   34 20 66 33 20 64 31 20   f4 50 e4
> f3 d1
> 0750: 64 37 20 62 32 20 62 63   20 38 65 20 34 62 20 64  d7 b2 bc
> 8e 4b d
> 0760: 66 20 36 65 20 39 33 20   31 38 20 64 30 20 33 35  f 6e 93 18
> d0 35
> 0770: 20 62 35 20 30 31 20 66   63 20 64 37 20 35 31 20   b5 01 fc
> d7 51
> 0780: 32 62 20 34 63 20 38 66   20 34 38 20 34 31 20 37  2b 4c 8f
> 48 41 7
> 0790: 34 20 32 39 20 33 36 20   31 33 20 37 66 20 37 36  4 29 36 13
> 7f 76
> 07A0: 20 63 36 20 61 35 20 37   62 20 62 63 20 35 39 20   c6 a5 7b
> bc 59
> 07B0: 63 64 20 62 62 20 32 37   20 34 31 20 38 61 20 37  cd bb 27
> 41 8a 7
> 07C0: 37 20 65 37 20 62 38 20   66 65 20 32 36 20 33 30  7 e7 b8 fe
> 26 30
> 07D0: 20 64 63 20 64 39 20 36   65 20 61 64 20 38 35 20   dc d9 6e
> ad 85
> 07E0: 62 36 20 65 30 20 63 35   20 37 36 20 65 32 20 36  b6 e0 c5
> 76 e2 6
> 07F0: 37 20 39 31 20 33 62 20   61 39 20 62 64 20 31 66  7 91 3b a9
> bd 1f
> 0800: 20 65 32 20 31 32 20 65   30 20 39 34 20 37 34 20   e2 12 e0
> 94 74
> 0810: 66 37 20 63 66 20 39 33   20 32 30 20 65 63 20 66  f7 cf 93
> 20 ec f
> 0820: 30 20 61 63 20 37 32 20   36 31 20 30 33 20 65 66  0 ac 72 61
> 03 ef
> 0830: 20 32 31 20 65 37 20 34   61 20 36 63 20 35 30 20   21 e7 4a
> 6c 50
> 0840: 64 66 20 30 31 20 61 65   20 36 65 20 62 65 20 39  df 01 ae
> 6e be 9
> 0850: 34 20 62 63 20 35 39 20   34 38 20 62 38 20 65 63  4 bc 59 48
> b8 ec
> 0860: 20 34 62 20 31 64 20 30   30 20 39 30 20 35 61 20   4b 1d 00
> 90 5a
> 0870: 36 66 20 62 63 20 33 34   20 38 35 20 38 65 20 36  6f bc 34
> 85 8e 6
> 0880: 34 20 61 39 20 32 39 20   33 32 20 37 30 20 63 65  4 a9 29 32
> 70 ce
> 0890: 20 65 31 20 65 66 20 64   64 20 34 64 20 64 37 20   e1 ef dd
> 4d d7
> 08A0: 65 37 20 34 33 20 34 32   20 33 62 20 33 34 20 61  e7 43 42
> 3b 34 a
> 08B0: 33 20 37 30 20 36 66 20   64 32 20 34 30 20 36 38  3 70 6f d2
> 40 68
> 08C0: 20 62 38 20 34 66 20 32   62 20 64 62 20 37 66 20   b8 4f 2b
> db 7f
> 08D0: 32 38 20 36 65 20 63 30   20 37 37 20 61 36 20 62  28 6e c0
> 77 a6 b
> 08E0: 37 20 31 39 20 33 64 20   30 62 20 35 62 20 33 62  7 19 3d 0b
> 5b 3b
> 08F0: 20 62 36 20 37 38 20 39   33 20 30 64 20 34 66 20   b6 78 93
> 0d 4f
> 0900: 64 33 20 33 30 20 37 35   20 62 32 20 38 62 20 32  d3 30 75
> b2 8b 2
> 0910: 64 20 61 38 20 37 62 20   36 63 20 36 65 20 32 30  d a8 7b 6c
> 6e 20
> 0920: 20 63 63 20 66 30 20 36   32 20 65 38 20 39 32 20   cc f0 62
> e8 92
> 0930: 39 37 20 31 65 20 32 33   20 38 32 20 63 35 20 34  97 1e 23
> 82 c5 4
> 0940: 32 20 66 37 20 36 66 20   33 33 20 32 35 20 61 64  2 f7 6f 33
> 25 ad
> 0950: 20 34 37 20 36 64 20 35   38 20 39 34 20 63 62 20   47 6d 58
> 94 cb
> 0960: 35 61 20 37 61 20 66 39   20 63 62 20 33 39 20 66  5a 7a f9
> cb 39 f
> 0970: 64 20 39 33 20 63 35 20   62 62 20 65 33 20 61 36  d 93 c5 bb
> e3 a6
> 0980: 20 66 64 20 34 36 20 32   36 20 34 64 20 62 30 20   fd 46 26
> 4d b0
> 0990: 62 32 20 38 32 20 36 31   20 39 34 20 33 36 20 63  b2 82 61
> 94 36 c
> 09A0: 34 20 39 61 20 62 34 20   39 66 20 36 30 20 39 38  4 9a b4 9f
> 60 98
> 09B0: 20 30 34 20 62 63 20 37   61 20 39 39 20 32 30 20   04 bc 7a
> 99 20
> 09C0: 36 34 20 31 38 20 37 61   20 30 35 20 62 33 20 36  64 18 7a
> 05 b3 6
> 09D0: 61 20 35 35 20 33 39 20   36 61 20 39 30 20 36 33  a 55 39 6a
> 90 63
> 09E0: 20 61 38 20 30 63 20 66   65 20 32 36 20 65 36 20   a8 0c fe
> 26 e6
> 09F0: 61 62 20 34 61 20 31 39   20 36 31 20 37 34 20 32  ab 4a 19
> 61 74 2
> 0A00: 37 20 34 33 20 64 37 20   33 37 20 37 34 20 64 32  7 43 d7 37
> 74 d2
> 0A10: 20 39 37 20 39 39 20 33   35 20 62 33 20 38 37 20   97 99 35
> b3 87
> 0A20: 65 61 20 34 66 20 33 32   20 62 35 20 30 36 20 36  ea 4f 32
> b5 06 6
> 0A30: 33 20 65 34 20 63 38 20   38 65 20 39 66 20 31 36  3 e4 c8 8e
> 9f 16
> 0A40: 20 30 63 20 34 31 20 39   38 20 61 30 20 38 32 20   0c 41 98
> a0 82
> 0A50: 36 64 20 34 37 20 35 65   20 36 63 20 64 35 20 66  6d 47 5e
> 6c d5 f
> 0A60: 39 20 30 34 20 32 39 20   31 64 20 62 35 20 65 30  9 04 29 1d
> b5 e0
> 0A70: 20 39 37 20 33 36 20 39   37 20 39 31 20 63 61 20   97 36 97
> 91 ca
> 0A80: 37 33 20 30 34 20 35 36   20 39 61 20 38 66 20 30  73 04 56
> 9a 8f 0
> 0A90: 38 20 31 36 20 66 39 20   34 34 20 38 30 20 31 64  8 16 f9 44
> 80 1d
> 0AA0: 20 35 36 20 30 36 20 30   34 20 35 63 20 32 33 20   56 06 04
> 5c 23
> 0AB0: 34 33 20 38 30 20 62 61   20 65 30 20 34 66 20 62  43 80 ba
> e0 4f b
> 0AC0: 38 20 62 62 20 38 39 20   66 35 20 32 32 20 34 34  8 bb 89 f5
> 22 44
> 0AD0: 20 38 64 20 66 31 20 61   63 20 36 37 20 37 38 20   8d f1 ac
> 67 78
> 0AE0: 63 37 20 65 30 20 39 31   20 30 36 20 30 66 20 34  c7 e0 91
> 06 0f 4
> 0AF0: 35 20 39 37 20 33 36 20   33 63 20 32 30 20 37 33  5 97 36 3c
> 20 73
> 0B00: 20 66 64 20 64 62 20 61   34 20 36 62 20 32 32 20   fd db a4
> 6b 22
> 0B10: 34 31 20 39 61 20 65 30   20 34 36 20 61 62 20 66  41 9a e0
> 46 ab f
> 0B20: 33 20 39 66 20 33 63 20   39 65 20 63 39 20 63 63  3 9f 3c 9e
> c9 cc
> 0B30: 20 32 33 20 37 61 20 64   64 20 31 36 20 35 37 20   23 7a dd
> 16 57
> 0B40: 62 64 20 64 65 20 39 65   20 64 65 20 39 39 20 39  bd de 9e
> de 99 9
> 0B50: 37 20 61 37 20 66 34 20   35 31 20 37 37 20 33 65  7 a7 f4 51
> 77 3e
> 0B60: 20 35 62 20 62 66 20 31   37 20 61 34 20 38 31 20   5b bf 17
> a4 81
> 0B70: 62 65 20 33 30 20 38 31   20 62 62 20 61 30 20 30  be 30 81
> bb a0 0
> 0B80: 33 20 30 32 20 30 31 20   30 33 20 61 32 20 38 31  3 02 01 03
> a2 81
> 0B90: 20 62 33 20 30 34 20 38   31 20 62 30 20 33 37 20   b3 04 81
> b0 37
> 0BA0: 66 37 20 66 39 20 32 31   20 32 61 20 36 34 20 34  f7 f9 21
> 2a 64 4
> 0BB0: 61 20 63 30 20 61 31 20   63 65 20 36 31 20 63 36  a c0 a1 ce
> 61 c6
> 0BC0: 20 37 65 20 63 65 20 30   63 20 61 61 20 35 34 20   7e ce 0c
> aa 54
> 0BD0: 35 35 20 30 63 20 33 61   20 39 34 20 31 62 20 62  55 0c 3a
> 94 1b b
> 0BE0: 31 20 39 30 20 34 66 20   39 38 20 65 63 20 65 36  1 90 4f 98
> ec e6
> 0BF0: 20 36 64 20 33 34 20 65   34 20 33 65 20 64 33 20   6d 34 e4
> 3e d3
> 0C00: 36 65 20 37 64 20 37 34   20 63 31 20 30 31 20 34  6e 7d 74
> c1 01 4
> 0C10: 63 20 65 65 20 34 39 20   62 63 20 34 32 20 62 32  c ee 49 bc
> 42 b2
> 0C20: 20 31 30 20 61 33 20 39   37 20 64 63 20 66 38 20   10 a3 97
> dc f8
> 0C30: 33 33 20 61 36 20 65 65   20 38 32 20 62 30 20 36  33 a6 ee
> 82 b0 6
> 0C40: 65 20 61 37 20 33 66 20   37 33 20 34 32 20 35 38  e a7 3f 73
> 42 58
> 0C50: 20 66 65 20 39 30 20 33   31 20 61 61 20 62 30 20   fe 90 31
> aa b0
> 0C60: 34 38 20 38 39 20 32 61   20 30 36 20 36 37 20 65  48 89 2a
> 06 67 e
> 0C70: 32 20 64 64 20 62 32 20   37 31 20 61 35 20 38 66  2 dd b2 71
> a5 8f
> 0C80: 20 32 62 20 36 36 20 64   64 20 63 37 20 61 64 20   2b 66 dd
> c7 ad
> 0C90: 30 30 20 62 64 20 64 66   20 39 61 20 65 33 20 31  00 bd df
> 9a e3 1
> 0CA0: 66 20 35 38 20 37 61 20   63 35 20 65 39 20 61 64  f 58 7a c5
> e9 ad
> 0CB0: 20 39 38 20 37 62 20 61   61 20 33 63 20 38 39 20   98 7b aa
> 3c 89
> 0CC0: 34 62 20 36 35 20 34 33   20 66 33 20 66 63 20 64  4b 65 43
> f3 fc d
> 0CD0: 35 20 63 32 20 62 66 20   64 34 20 39 33 20 61 62  5 c2 bf d4
> 93 ab
> 0CE0: 20 66 39 20 63 64 20 38   37 20 36 38 20 33 36 20   f9 cd 87
> 68 36
> 0CF0: 39 36 20 33 37 20 34 36   20 32 38 20 30 39 20 31  96 37 46
> 28 09 1
> 0D00: 38 20 65 35 20 35 32 20   36 65 20 33 32 20 34 31  8 e5 52 6e
> 32 41
> 0D10: 20 65 37 20 30 33 20 65   30 20 37 30 20 30 35 20   e7 03 e0
> 70 05
> 0D20: 35 30 20 36 65 20 62 38   20 61 34 20 62 33 20 62  50 6e b8
> a4 b3 b
> 0D30: 62 20 39 64 20 62 66 20   32 30 20 66 37 20 63 37  b 9d bf 20
> f7 c7
> 0D40: 20 63 31 20 32 64 20 33   38 20 37 38 20 63 37 20   c1 2d 38
> 78 c7
> 0D50: 36 64 20 61 31 20 38 61   20 62 66 20 64 64 20 61  6d a1 8a
> bf dd a
> 0D60: 30 20 33 65 20 66 66 20   33 37 20 61 39 20 35 38  0 3e ff 37
> a9 58
> 0D70: 20 34 63 20 33 63 20 62   30 20 36 33 20 63 33 20   4c 3c b0
> 63 c3
> 0D80: 39 35 20 65 35 20 66 61   20 66 32 20 63 34 20 63  95 e5 fa
> f2 c4 c
> 0D90: 63 20 39 35 20 32 38 20   61 38 20 64 62 20 39 65  c 95 28 a8
> db 9e
> 0DA0: 20 30 31 20 62 32 20 35   63 20 32 34 20
> Entered Krb5Context.initSecContext with state=STATE_IN_PROCESS
> >>> EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
> Krb5Context setting peerSeqNumber to: 1448522234
> Krb5Context.unwrap: token=[60 33 06 09 2a 86 48 86 f7 12 01 02 02
> 02 01 00 00 ff
>  ff ff ff 90 bf 14 74 73 75 44 db 35 00 00 5a d3 4e 49 0d df 9b ac
> 77 9a f3 39 d
> 7 07 a0 00 00 04 04 04 04 ]
> Krb5Context.unwrap: data=[07 a0 00 00 ]
> Krb5Context.wrap: data=[01 01 00 00 64 6e 3a 63 6e 3d 52 61 6d 65
> 73 68 2e 72 61
>  6f 2c 63 6e 3d 55 73 65 72 73 2c 64 63 3d 4d 50 41 46 54 45 53 54
> 2c 64 63 3d 4
> 3 4f 4d ]
> Krb5Context.wrap: token=[60 63 06 09 2a 86 48 86 f7 12 01 02 02 02
> 01 00 00 ff f
> f ff ff 9c fe cf ab 10 a4 95 11 99 93 d5 f7 26 f3 cf 06 2b 52 69 cd
> de df c8 62
> 01 01 00 00 64 6e 3a 63 6e 3d 52 61 6d 65 73 68 2e 72 61 6f 2c 63
> 6e 3d 55 73 65
>  72 73 2c 64 63 3d 4d 50 41 46 54 45 53 54 2c 64 63 3d 43 4f 4d 08
> 08 08 08 08 0
> 8 08 08 ]
> javax.naming.AuthenticationException: [LDAP: error code 49 -
> 8009030B: LdapErr:
> DSID-0C09043E, comment: AcceptSecurityContext error, data 0, vece ]
>         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2988)
>         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:
> 2934)
>         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:
> 2735)
>         at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2649)
>         at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
>         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL
> (LdapCtxFactory.java:175)
>
>         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs
> (LdapCtxFactory.java:193
> )
>         at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance
> (LdapCtxFactory.ja
> va:136)
>         at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext
> (LdapCtxFactory.jav
> a:66)
>         at javax.naming.spi.NamingManager.getInitialContext
> (NamingManager.java:6
> 62)
>         at javax.naming.InitialContext.getDefaultInitCtx
> (InitialContext.java:243
> )
>         at javax.naming.InitialContext.init(InitialContext.java:219)
>         at javax.naming.InitialContext.<init>(InitialContext.java:195)
>         at javax.naming.directory.InitialDirContext.<init>
> (InitialDirContext.jav
> a:80)
>         at LDAPQuery.run(SearchWithAuth.java:44)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:320)
>         at SearchWithAuth.main(SearchWithAuth.java:25)
>
> So please help me regarding
>
> Thanks in Advance
>
> Ramesh
>



More information about the Kerberos mailing list