3.6.4 is a pretty old version. You’ll not be able to use the password recovery functionality that was added for this purpose, but in a later version.
I personally don’t have experience with recovering a password. A quick search on this forum yields this result, which seems to be relevant: Openfire admin password
I hope this helps!