Ad Widget

Collapse

Remove LDAP attribute from Admin account.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kwekkel
    Junior Member
    • Nov 2021
    • 2

    #1

    Remove LDAP attribute from Admin account.

    Hi,
    I made a mistake by activating LDAP for the Admin account while LDAP is not working yet so I locked myself out.
    Is there a way to remove the LDAP attribute from the cmd line?
  • niveastn
    Member
    • Oct 2021
    • 82

    #2
    Hi!

    You are going to do it via you zbx database!
    > Access your zabbix database (with admin user)
    > execute
    Code:
    select authentication_type from config;
    what value do you get? if its not 0, execute
    Code:
    update config set authentication_type=0;
    let us know if you could access after that!

    Comment

    • Kwekkel
      Junior Member
      • Nov 2021
      • 2

      #3
      Hello,

      I get this response:
      MariaDB [zabbix]> select authentication_type from config;
      +---------------------+
      | authentication_type |
      +---------------------+
      | 0 |
      +---------------------+
      1 row in set (0.00 sec)

      This looks for me a generic setting for all users. I guess I need to alter a setting on user level for user Admin.
      Alternatively, adding another superuser via the cmd line or directly in the database might help as well.

      Comment

      Working...