LDAP Configuration Error
-
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 followeventually 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 Nois there any missing configuration that need to fill and preventing the netxms server to crash ?
Regards,
Imad.

-
In your configuration you miss:
LdapSyncUser
LdapSyncUserPasswordI 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 -
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 Downi 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, 0could you please notify if there is still anything missing?
i tried several changes in the parameters without any luckRegards,
Imad. -
Bug found. Will be fixed in next release 2.0-M2
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