Skip to content

Cannot login with GSSAPI when group is used #2626

Open

Description

@chrpai

Description

Can't connect on windows using GSSAPI when the MariaDB user references a group. Referencing the user works fine.

HeidiSQL version and OS

12.20.0.7320 Windows

Database server version

Reproduction recipe

Let's say I modify root to use gssapi and a group

ALTER USER 'root'@'localhost' IDENTIFIED VIA gssapi AS 'GROUP:Administrators';
FLUSH PRIVILEGES;

if I use mariadb.exe by itself it says ERROR 1045 (28000): Access denie for user 'xxx'@'localhost' (using password: no)

if I use mariadb -u root from an elevated command prompt it logs in. if I use mariadb -u root from a non-elevated account it does not. Great!

But if I use HeidiSQL (running elevated) if fails to login. It says using my machine/username password: no. It does not give me an option to specify the user root when using GSSAPI.

Error/Backtrace

Activity

  1. added
    bugDefective behaviour in HeidiSQL
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDefective behaviour in HeidiSQL

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions