Commit 64b48aeb authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

make auth_gssapi_basic work, also in domain environment.

parent 31112675
INSTALL SONAME 'auth_gssapi'; INSTALL SONAME 'auth_gssapi';
Warnings:
Note 1105 SSPI: using principal name 'localhost', mech 'Negotiate'
CREATE USER 'GSSAPI_SHORTNAME' IDENTIFIED WITH gssapi; CREATE USER 'GSSAPI_SHORTNAME' IDENTIFIED WITH gssapi;
SELECT USER(),CURRENT_USER(); SELECT USER(),CURRENT_USER();
USER() CURRENT_USER() USER() CURRENT_USER()
......
--replace_regex /name '[a-zA-Z@.]+'/name 'localhost'/
INSTALL SONAME 'auth_gssapi'; INSTALL SONAME 'auth_gssapi';
# #
......
...@@ -289,7 +289,7 @@ int plugin_init() ...@@ -289,7 +289,7 @@ int plugin_init()
{ {
srv_principal_name= get_default_principal_name(); srv_principal_name= get_default_principal_name();
} }
my_printf_error(0, "SSPI: using principal name '%s', mech '%s'", my_printf_error(ER_UNKNOWN_ERROR, "SSPI: using principal name '%s', mech '%s'",
ME_ERROR_LOG | ME_NOTE, srv_principal_name, srv_mech_name); ME_ERROR_LOG | ME_NOTE, srv_principal_name, srv_mech_name);
ret = AcquireCredentialsHandle( ret = AcquireCredentialsHandle(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment