[ 
https://issues.apache.org/jira/browse/DERBY-4328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Knut Anders Hatlen reopened DERBY-4328:
---------------------------------------


Sorry for the late response.

I'm reopening the issue because the code used to demonstrate that the 
developer's guide is wrong, does not do what the developer's guide says.

The developer's guide says that SYSCS_SET_DATABASE_PROPERTY should be called 
with two arguments. First argument should be 'bootPassword" and second argument 
should be on the form 'oldbpw , newbpw'. The code in the bug description calls 
SYSCS_SET_DATABASE_PROPERTY with three arguments, and it's therefore expected 
to fail.

I haven't tested if the documented syntax works, but it looks like there is 
code to handle it. See the code path 
SystemProcedures.SYSCS_SET_DATABASE_PROPERTY -> 
PropertyInfo.setDatabaseProperty -> RAMTransaction.setProperty -> 
PropertyConglomerate.setProperty -> PropertyConglomerate.bootPasswordChange.

> The Developer's Guide falsely claims that you can use 
> SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY to change the boot password on an 
> encrypted database.
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4328
>                 URL: https://issues.apache.org/jira/browse/DERBY-4328
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>             Fix For: 10.5.3.0
>
>         Attachments: derby-4328-01-aa-removeFalseReencryptionClaim.diff
>
>
> This claim is made in the section titled 'Changing the boot password'. If you 
> try to run the example, you get this error:
> CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY( 'bootPassword', 'Thursday' , 
> 'Saturday');
> ERROR 42Y03: 'SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY' is not recognized as a 
> function or procedure.
> The correct way to change the boot password is documented earlier on in the 
> section titled 'Encrypting databases with a new boot password'. We should 
> remove the section titled 'Changing the boot password'.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to