connectivity/source/drivers/firebird/Connection.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 41832d27c3325808333c21b9181db84ae9788978 Author: Wastack <btom...@gmail.com> Date: Sat Oct 22 15:28:59 2016 +0200 tdf#103373 create and connect with default user For an embedded Firebird database resolve authentification with a default username and password (hardcoded) instead of trusted authentification. Change-Id: I54ee04898a8b2bedc9a24001c64173400769f416 Reviewed-on: https://gerrit.libreoffice.org/30160 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Lionel Elie Mamane <lio...@mamane.lu> diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx index 17528d7..48ebba5 100644 --- a/connectivity/source/drivers/firebird/Connection.cxx +++ b/connectivity/source/drivers/firebird/Connection.cxx @@ -258,9 +258,8 @@ void Connection::construct(const ::rtl::OUString& url, const Sequence< PropertyV if (m_bIsEmbedded || m_bIsFile) { - *dpb++ = isc_dpb_trusted_auth; - *dpb++ = 1; // Length of data - *dpb++ = 1; // TRUE + strcpy(userName,"sysdba"); + strcpy(userPassword,"masterkey"); } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits