On 27-05-2020 22:25, Vlad Khorsun wrote:
Then they will get the normal 'Your user name and password are not defined. Ask your database administrator to set up a Firebird login.' error, instead of this confusing error.

   It is discussed in this thread and I see no success there.

I'm not sure what you mean with this.

How it will make user know that he must create some account that allowed to create
another user accounts ?

See previous.

   "no users at all, use embedded connection to create one", and
"wrong user name\pwd" is very different cases, I think. Therefore
I not fully agree with you. But I will not object if Alex agrees
with this "solution" and no better ways will be proposed.

Not having users at all is just a special case of not having the right username or password. The error for the end-user should be the same in both cases.

That the administrator gets the same error when he tries to login is not really a problem. They would get the same error if they forgot or don't know the SYSDBA password, and it would require an almost identical solution. Both will require you to connect in embedded mode to create or alter the SYSDBA user.

So, resolution steps are almost identical, which means they don't warrant a separate error message in my opinion.

Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to