Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. LDAP Configuration Error

LDAP Configuration Error

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 21.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I
    I
    Imad
    wrote on last edited by
    #1

    Hey,

    i installed netxms server V 1.2.16 on windows server 2012R2.
    i'm trying to make LDAP configuration and when trying to check the debug log on server command it crashed due to connection with netxms server lost as follow

    eventually LDAP configuration was not enabled and i couldnt use any LDAP user able to connect netxms server.
    i used the following configuration:

    LdapConnectionString ldap://10.37.2.77:389 No
    LdapGroupClass group No
    LdapMappingDescription description No
    LdapMappingFullName displayName No
    LdapMappingName displayName No
    LdapSearchBase OU=Domainusers,DC=babtest,DC=com No
    LdapSearchFilter (objectClass=*) No
    LdapSyncInterval 1440 No
    LdapSyncUser No
    LdapSyncUserPassword No
    LdapUserClass displayName No
    LdapUserDeleteAction 0 No

    is there any missing configuration that need to fill and preventing the netxms server to crash ?

    Regards,
    Imad.


    LDAP_Error.png

    1 Reply Last reply
    0
    • Z
      Z
      Tatjana Dubrovica
      wrote on last edited by
      #2

      In your configuration you miss:
      LdapSyncUser   
      LdapSyncUserPassword   

      I recommend you to update NetXMS till latest version. Because there are known issues in ldap:
      1.2.16 has bug with assigning rights to ldap users
      1.2.17 does not implement paging(affects if you try to get more than 1000 users)

      If it is possible please enable crash dump and send it to me. I'll try to analyze it.
      Instruction about enabling crash dump:
      http://msdn.microsoft.com/en-us/library/windows/desktop/bb787181(v=vs.85).aspx

      1 Reply Last reply
      0
      • I
        I
        Imad
        wrote on last edited by
        #3

        thank you for the reply,
        after updating the missing parameters as below, netxms didn't crash however it keeps showing the following:

        [DEBUG] LDAPConnection::initLDAP(): Connecting to LDAP server
        [DEBUG] LDAPConnection::loginLDAP(): LDAP could not login. Error Code: Server Down

        i made sure there is no firewall blocking connection between LDAP server and Netxms Server

        the following is my server configuration parameters:

        LdapConnectionString, ldap://10.37.2.77:389
        LdapGroupClass, BABTest\<group>
        LdapMappingDescription, description
        LdapMappingFullName, displayName
        LdapMappingName, displayName
        LdapSearchBase, CN=BABTest\Monitor,OU=Service Accounts,OU=BAB,OU=Domainusers,DC=BABTest,DC=com
        LdapSearchFilter, (objectClass=*)
        LdapSyncInterval, 1440
        LdapSyncUser, BABTest\<username>
        LdapSyncUserPassword, ****
        LdapUserClass, c901076
        LdapUserDeleteAction, 0

        could you please notify if there is still anything missing?
        i tried several changes in the parameters without any luck

        Regards,
        Imad.

        1 Reply Last reply
        0
        • Z
          Z
          Tatjana Dubrovica
          wrote on last edited by
          #4

          Bug found. Will be fixed in next release 2.0-M2

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups