How can we constrain or prevent CA LDAP Server Anonymous Directory Access(null base requests)?
search cancel

How can we constrain or prevent CA LDAP Server Anonymous Directory Access(null base requests)?

book

Article ID: 71661

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC

Issue/Introduction

We received a preliminary audit report that indicates LDAP Anonymous Directory Access Permitted (ldap-anonymous-directory-access) on our CA ACF2 LDAP Server. Limited testing indicated that anonymous logging is allowed and the user can list the Shema information as well as Fetch DNs while other LDAP servers like MS AD did not allow any anonymous connection. We didn't find any settings on the documentation on how to prevent anonymous connections. Can you please help us clarify if there is such option and how to implement it?

Environment

Release:
Component: ACFLDP

Resolution

To constrain or prevent CA LDAP Server Anonymous Directory Access(null base requests) the following can be done. If it is the DN on a bind operation, then the server can be set up via the slapd.conf to not allow anonymous binds.

To disable the acceptance of anonymous binds in the LDAP server you can add following line to the slapd.conf file before the 'database config' line:

disallow bind_anon

Details can be found in the CA LDAP Server documentation in Section: 'Customize the Slapd Configuration File' Sub-section: 'Global Options'. .