LDAP sync crashes NetXMS Core in NetXMS 5 version
-
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 crashesoutput 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 databasenow 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
-
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.
-
I think I found the bug (it was really introduced in version 5). Fix will be included into upcoming patch release.
Best regards,
Victor
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