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 sync crashes NetXMS Core in NetXMS 5 version

LDAP sync crashes NetXMS Core in NetXMS 5 version

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 9.9k 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.
  • M
    M
    maredcz
    wrote on last edited by
    #1

    Hello,
    my NetXMS service on Windows server 2019, MariaDB crashes when start ldap sync. LDAP server is connected, can read data, then starts update the dababase and crashes

    output from debug ldap 4

    LDAPConnection::initLDAP(): Connecting to LDAP server
    LDAPConnection::initLDAP(): servers="X.Y.X.Y:389" port=389 secure=false
    LDAPConnection::syncUsers(): search base DN = OU=##############
    LDAPConnection::fillLists(): hook script is empty
    LDAPConnection::fillLists(): Found entry count: 714

    ...

    LDAPConnection::closeLDAPConnection(): disconnect form LDAP server
    LDAPConnection::syncUsers(): read completed, updating user database

    now is server terminated

    When delete all LDAP users and groups, the sync is ending successfully, but after some time have the same behaviour. Have tried change to the different LDAP search bases and maybe, there are problems with one specific OU with 211 objects. Can you give me a some advice how to activate the right debug?

    Thank you. Martin

    1 Reply Last reply
    0
    • M
      M
      maredcz
      wrote on last edited by
      #2

      Another finding fron debug userdb

      There is a message
      UpdateLDAPUser(): User with name "XYZ" already exists. Unique user name have been generated: "XYZ_LDAP6756"

      Then server crashes and in the user database the new generated user " XYZ_LDAP6756" does not exists.

      In our company are the users partionally managed based on user HR database. So when is an employe fired, the account in LDAP/AD remains, but the attribute CN (Full Name) is prepended with "S_". NetXMS ldapsync generate new user. So was it working up to version 5

      When delete the LDAP user "XYZ" in Netxms, the sync ends without crashing.

      1 Reply Last reply
      0
      • V
        V
        Victor Kirhenshtein
        wrote on last edited by
        #3

        I think I found the bug (it was really introduced in version 5). Fix will be included into upcoming patch release.

        Best regards,
        Victor

        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