mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 19:23:03 +01:00
Let windows embedded server work without specifying user name
and password. OS user name is used to be CURRENT_USER value.
This commit is contained in:
parent
150c63e22e
commit
8e025f304a
@ -453,6 +453,11 @@ void SecurityDatabase::verifyUser(TEXT* name,
|
||||
}
|
||||
|
||||
#ifndef EMBEDDED
|
||||
else
|
||||
{
|
||||
remoteFailedLogins().loginFail(remoteId);
|
||||
ERR_post(isc_login, 0);
|
||||
}
|
||||
|
||||
// Look up the user name in the userinfo database and use the parameters
|
||||
// found there. This means that another database must be accessed, and
|
||||
|
@ -604,11 +604,6 @@ void SCL_init(bool create,
|
||||
|
||||
if (user_name || (id == -1))
|
||||
{
|
||||
if (!user_name || (!password_enc && !password))
|
||||
{
|
||||
ERR_post(isc_login, 0);
|
||||
}
|
||||
|
||||
if (!JRD_get_thread_security_disabled())
|
||||
{
|
||||
Attachment* att = tdbb->tdbb_attachment;
|
||||
|
Loading…
Reference in New Issue
Block a user