Ad Widget

Collapse

Zabbix LDAP authentication (Version 5.4.0)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dilan bandara
    Junior Member
    • Mar 2021
    • 7

    #1

    Zabbix LDAP authentication (Version 5.4.0)

    Hi Guys,

    Currently we are trying to configure LDAP authentication on our new zabbix 5.4.0. So once initiating it giving below error. But username and password are correct. Please advise.


    Login name or password is incorrect.






  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    Did you setup /etc/...../ldap.conf? Always start with internal security and use the Test button before changing to LDAP security.

    Comment

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

      #3
      Hi, FWIW, this was my working memo of my LDAP config with an earlier version of Zabbix: https://www.zabbix.com/forum/zabbix-...860#post415860

      Markku

      Comment

      • dilan bandara
        Junior Member
        • Mar 2021
        • 7

        #4
        Hi LenR I dont have idea about it. can you please elaborate more about it.
        Markku Thank you

        Comment

        • dilan bandara
          Junior Member
          • Mar 2021
          • 7

          #5
          Hi Guys,

          I have configured everything in a zabbix portal, Now its showing configuration is success. But once i change it to LDAP and try to log using LDAP username and password, unable to log. its saying me incorrect user name and password. Please guide me anyone having idea about this. Thanks.

          Comment

          • sabin
            Junior Member
            • Jun 2021
            • 3

            #6
            The user should already be in zabbix as per the documentation. I too have the same issue, is there a way to import users from LDAP (bulk import). Else you have to create the users in zabbix and passwd would be taken from LDAP. This is not useful unless yo have a option to import/add users automatically

            Comment

            • sabin
              Junior Member
              • Jun 2021
              • 3

              #7
              Hi @cyber
              Could you please help in providing the steps to do it. I have a csv file with all the user information (220 users) . Could you please guide how we can script it using zabbix API

              Comment

              • cyber
                Senior Member
                Zabbix Certified SpecialistZabbix Certified Professional
                • Dec 2006
                • 4806

                #8
                Script it. Create users over API....

                Comment

                • cyber
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Dec 2006
                  • 4806

                  #9
                  Use your favourite scripting language...
                  API documentation is here...

                  ...

                  Comment

                  Working...