[
https://issues.apache.org/jira/browse/DIRKRB-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990931#comment-14990931
]
Xu Yaning commented on DIRKRB-442:
----------------------------------
It's properly because that {{json-backend.json}} already exists, so
{{rename()}} fails and then return {{false}}. On the other hand, even though it
works well and the new tmp file succeeds to be renamed to {{'
json-backend.json'}}. However, variable {{jsonKdbFile}} is not linked to the
new file created. Maybe the method {{persistToFile()}} can be modified to be
synchronized, ok?
> Fix Json backend data base file created wrongly when new identity is added
> --------------------------------------------------------------------------
>
> Key: DIRKRB-442
> URL: https://issues.apache.org/jira/browse/DIRKRB-442
> Project: Directory Kerberos
> Issue Type: Bug
> Reporter: Xu Yaning
> Assignee: Xu Yaning
>
> When I try to run kerby, I found the built-in principal is not in
> json-backend.json, but in the same directory there are some new tempt files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)