You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for mysql it seems that this can be configured, for mariadb this seems not to be possible.
a workaround is, to modify in file MySqlUserDataSource.cs the select-strings by adding "BINARY" in front of the user-param.
for example in function GetUserEntry() instead of:
"SELECT {1}, {2}, {3} FROM {0} WHERE {1}=@user"
use:
"SELECT {1}, {2}, {3} FROM {0} WHERE {1} = BINARY @user"
same in IsMemberOfGroup()
after changing these statements, trailing spaces won't match anymore.
if someone enters a trailing space after the username, windows recognize it as normal character.
using the mysql-plugin this username is cleaned up before checking auth.
auth succeeds, but windows keeps this space, so first a new user is created and then on any access to fileservers windows asks for auth-credentials.
system is windows 10 1909, pgIna 3.9.9.12
The text was updated successfully, but these errors were encountered: