https://bugs.documentfoundation.org/show_bug.cgi?id=167960
--- Comment #8 from [email protected] --- Here's a chronological explanation of what happens when opening an ODB file in LibreOffice. When opening a Base file for the first time, the following method will be executed: - ODatabaseSource::connectWithCompletion: with the entered username and password. When closing this Base file, the following method will be executed: - ODatabaseContext::storeTransientProperties: and the Password property will be stored. When opening the file again, the connection will be made using the method: - ODatasourceConnector::connect: With the username from the ODB file and the password from the cache. You'll never be able to go beyond this point with LibreOffice if you log in the first time with a user other than the one provided. To fix this problem: - I detect in ODatabaseSource::connectWithCompletion when an unknown user (other than the one in the odb file) is logged in. - And if detected, I don't cache the password when closing in ODatabaseContext::storeTransientProperties I haven't found anything simpler to do... -- You are receiving this mail because: You are the assignee for the bug.
