troubleshooting Question

How to disable anonymous bind in ldap (centOS)

Avatar of acrocat
acrocat asked on
LinuxLinux NetworkingSecurity
4 Comments1 Solution4637 ViewsLast Modified:
I am runnnig CentOS, openldap and want to disable anonymous bind.

In my /etc/ldap.conf file I see:
# The distinguished name to bind to the server with.
# Optional: default is to bind anonymously.
#binddn cn=proxyuser,dc=example,dc=com

# The credentials to bind with.
# Optional: default is no credential.
#bindpw secret

# The distinguished name to bind to the server with
# if the effective user ID is root. Password is
# stored in /etc/ldap.secret (mode 600)
#rootbinddn cn=manager,dc=example,dc=com


But am unsure how to proceed.  Do I need to create a new user to bind with? Can I use bindpw {SHA}XXX or does it have to be plain text?

Thanks,
Chris
ASKER CERTIFIED SOLUTION
Arty Nopius
system engineer
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros