8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 23:23:04 +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:
alexpeshkoff 2006-11-26 17:06:21 +00:00
parent 150c63e22e
commit 8e025f304a
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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;