Ad Widget

Collapse

Locked out of UI with LDAP authentication

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #1

    Locked out of UI with LDAP authentication

    I've managed to lock myself out of Zabbix 6 while configuring a new installment.
    I've configured LDAP login, then changed the default login type to it, but forgot to create a new user with admin privileges.
    Click image for larger version

Name:	default_login.png
Views:	1141
Size:	6.8 KB
ID:	446992

    After that, "Admin" account could not login anymore and I can't access Zabbix UI anymore.

    Any idea how to change back the default login to "internal"?
  • Answer selected by markfree at 04-07-2022, 02:36.
    markfree
    Senior Member
    • Apr 2019
    • 868

    Great Markku !
    That did it.
    I've changed authentication_type from config table and now I'm able to login.
    Code:
    mysql> update config set authentication_type=0;
    Query OK, 1 row affected (0.00 sec)
    mysql> select authentication_type from config limit 10;
    +---------------------+
    | authentication_type |
    +---------------------+
    | 0 |
    +---------------------+
    Thanks a lot.

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #2
      Does this help you: https://www.zabbix.com/forum/zabbix-...ied#post244760

      Markku

      Comment

      • markfree
        Senior Member
        • Apr 2019
        • 868

        #3
        Great Markku !
        That did it.
        I've changed authentication_type from config table and now I'm able to login.
        Code:
        mysql> update config set authentication_type=0;
        Query OK, 1 row affected (0.00 sec)
        mysql> select authentication_type from config limit 10;
        +---------------------+
        | authentication_type |
        +---------------------+
        | 0 |
        +---------------------+
        Thanks a lot.

        Comment

        Working...