Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
64b48aeb
Commit
64b48aeb
authored
6 years ago
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make auth_gssapi_basic work, also in domain environment.
parent
31112675
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
plugin/auth_gssapi/mysql-test/auth_gssapi/basic.result
plugin/auth_gssapi/mysql-test/auth_gssapi/basic.result
+2
-0
plugin/auth_gssapi/mysql-test/auth_gssapi/basic.test
plugin/auth_gssapi/mysql-test/auth_gssapi/basic.test
+1
-0
plugin/auth_gssapi/sspi_server.cc
plugin/auth_gssapi/sspi_server.cc
+1
-1
No files found.
plugin/auth_gssapi/mysql-test/auth_gssapi/basic.result
View file @
64b48aeb
INSTALL SONAME 'auth_gssapi';
Warnings:
Note 1105 SSPI: using principal name 'localhost', mech 'Negotiate'
CREATE USER 'GSSAPI_SHORTNAME' IDENTIFIED WITH gssapi;
SELECT USER(),CURRENT_USER();
USER() CURRENT_USER()
...
...
This diff is collapsed.
Click to expand it.
plugin/auth_gssapi/mysql-test/auth_gssapi/basic.test
View file @
64b48aeb
--
replace_regex
/
name
'[a-zA-Z@.]+'
/
name
'localhost'
/
INSTALL
SONAME
'auth_gssapi'
;
#
...
...
This diff is collapsed.
Click to expand it.
plugin/auth_gssapi/sspi_server.cc
View file @
64b48aeb
...
...
@@ -289,7 +289,7 @@ int plugin_init()
{
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
);
ret
=
AcquireCredentialsHandle
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment