Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Applications > Issue <<  141 of 141 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 12739
Last update: 05-15-08
Issue:
How Do I Disable Anonymous Binds to my OpenLDAP server?
Resolution:

To disable anonymous binding to an openLDAP server, edit the /etc/openldap/slapd.conf file. Find the line that starts with allow, and remove the the bind_anon_cred and bind_anon_dn options.

For example, if the allow line looks like this :

allow bind_v2 bind_anon_cred bind_anon_dn

Edit the line to like so:

allow bind_v2

Once you save the changes to the slapd.conf file, restart the openldap server with the command:

service ldap restart

Now clients will have to provide a binddn and bind password in order to connect to the openldap server.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Applications > Issue <<   141  of  141  >>