Security

How to replace master node with ldap- reconfig required?

nathanpaul8
New Member

I am trying to move master node to a different node.

  1. Setup a new node.
  2. configured as master node.
  3. Modified server.conf similar to old master node for params except ssh key.
  4. Copied _cluster app from old node to new node.
  5. Restarted new master node

I am ready to point indexers and search nodes to new master node.

Old master is configured for ldap auth. But even after restart the server is not working for ldap auth. Do I need to reconfigure ldap on new master ?. I see authentication.conf in _cluster

Thanks,

NP

0 Karma
1 Solution

p_gurav
Champion

Hi,

You have to do following things:
1. move old authentication.conf and LDAP.conf and openldap certs diretory to new server
2. Just replace the hashed values with the plaintext password and copy that file over. The next time the Splunk instance starts, it will re-hash the password.

View solution in original post

p_gurav
Champion

Hi,

You have to do following things:
1. move old authentication.conf and LDAP.conf and openldap certs diretory to new server
2. Just replace the hashed values with the plaintext password and copy that file over. The next time the Splunk instance starts, it will re-hash the password.

basu42002
Path Finder

I tried the above and I get this error:
An error occurred completing this request: In handler 'LDAP-groups': strategy="###" Error binding to LDAP. reason="Invalid credentials".
While the old master node has the same credentials, the new master displays the above error.

which field contains the hashed values? as I did not replace the values.
Under ldap.conf, both "TLS_CACERT" and "TLS_CACERTDIR" are commented and TLS_REQCERT is set to "never".
Could you please let me know what could be the reason.

0 Karma

basu42002
Path Finder

Got it, the credentials in binddnspassword replaced with plaintext password. Now able to login with Ldap credentials. Thank you p_gurav

0 Karma

p_gurav
Champion

Happy to help!!! Requesting you to accept answer if its helpful.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...