New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Granted role does not work with non-ascii username [CORE4743] #5048
Comments
Modified by: @AlexPeshkoffassignee: Alexander Peshkov [ alexpeshkoff ] |
Modified by: @AlexPeshkoffsummary: Windows trusted authentication and granted role not work with username in russian => Granted role does not work with non-ascii username |
Commented by: @AlexPeshkoff Maxim, please try 3.0 windows snapshot build (hope it will be ready for 20 od April). localhost bin # ./isql -user польз -pass 123 -role somerole localhost:employee MON$USER MON$ROLE |
Commented by: Maxim Kuzmin (cybermax) Alex, now OK. I connected through TA (russian username) with custom role and it be used. |
Commented by: @AlexPeshkoff What about 2.5 - dumb backport does not work, and I do not think it's worth seriously changing stable branch. |
Modified by: @AlexPeshkoffstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 3.0 Beta 2 [ 10586 ] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: Deferred Test Details: Config parameter 'UserManager' need to be = 'Srp'. Currently all tests run under 'Legacy_UserManager'. |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: Deferred => Done successfully Test Details: Config parameter 'UserManager' need to be = 'Srp'. Currently all tests run under 'Legacy_UserManager'. => |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Maxim Kuzmin (cybermax)
We using a user names in native, russian language. But using granted role not possible.
Example:
1. Executing GRANT USER_ROLE TO "DOMAIN\ПОЛЬЗОВАТЕЛЬ".
2. Work through isql:
c:\Program Files (x86)\Firebird\Firebird_2_5\bin>isql -ch win1251 -r user_role -tr
Use CONNECT or CREATE DATABASE to specify a database
SQL> connect server:some_path_to_db.fdb;
Database: server:some_path_to_db.fdb, Role: USER_ROLE
SQL> select mon$user, mon$role from mon$attachments;
MON$USER MON$ROLE
=============================== ===============================
DOMAIN\ПОЛЬЗОВАТЕЛЬ NONE
If using user name in english language, its work - in MON$ROLE - USER_ROLE.
Commits: bab9ce6 FirebirdSQL/fbt-repository@6e3874f
The text was updated successfully, but these errors were encountered: