summaryrefslogtreecommitdiff
path: root/plugin/auth_gssapi/mysql-test/auth_gssapi/basic.result
blob: dc5155fac8cf3f39f346929041a551c01775388d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
INSTALL SONAME 'auth_gssapi';
CREATE USER 'GSSAPI_SHORTNAME' IDENTIFIED WITH gssapi;
SELECT USER(),CURRENT_USER();
USER()	CURRENT_USER()
GSSAPI_SHORTNAME@localhost	GSSAPI_SHORTNAME@%
DROP USER 'GSSAPI_SHORTNAME';
CREATE USER nosuchuser IDENTIFIED WITH gssapi;
ERROR 28000: GSSAPI name mismatch, requested 'nosuchuser', actual name 'GSSAPI_SHORTNAME'
DROP USER nosuchuser;
CREATE USER usr1 IDENTIFIED WITH gssapi as 'GSSAPI_FULLNAME';
SELECT USER(),CURRENT_USER();
USER()	CURRENT_USER()
usr1@localhost	usr1@%
DROP USER usr1;
CREATE USER nosuchuser IDENTIFIED WITH gssapi AS 'nosuchuser@EXAMPLE.COM';
ERROR 28000: GSSAPI name mismatch, requested 'nosuchuser@EXAMPLE.COM', actual name 'GSSAPI_FULLNAME'
DROP USER nosuchuser;
UNINSTALL SONAME 'auth_gssapi';