[
https://issues.apache.org/jira/browse/DIRKRB-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610084#comment-17610084
]
Vimal commented on DIRKRB-759:
------------------------------
you can reproduce this issue with JMeter testing as well.
when you try to get TGT for 2 different accounts at the same time repeatedly
there will some errors in some of the calls.
concurrent requests to get TGT for different accounts at the same time
resulting in error not always but in some of the calls we are seeing errors.
when trying to get the TGT by passing keytab as a input then in concurrent
requests environment getClientKey method is trying to get the encryption key
from some other keytab in another concurrent request resulting in error≥
when trying to get TGT using password then sometime one account is trying to
get the password from another concurrent request and returning pre auth failed.
requestOptions Map which is holding all the required inputs to generate TGT is
being shared between the concurrent requests through KDCRequest Abstract class
some how and we are not able to control it outside of the kerby library.
Need your inputs to address this issue.
> Multithreading issue in 2.0.2 version during generation of credential cache
> ---------------------------------------------------------------------------
>
> Key: DIRKRB-759
> URL: https://issues.apache.org/jira/browse/DIRKRB-759
> Project: Directory Kerberos
> Issue Type: Bug
> Affects Versions: 2.0.0, 2.0.2
> Environment: prod
> Reporter: Vimal
> Priority: Major
>
> we are trying to use 2.0.2 version.
> trying to generate credential cache.
> under heavy load requestoptions in KdcRequest class is shared between two
> threads and one thread is trying to look for the client key in another
> threads keytab.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]