ldapsearch with openldap

So I was recently working with openldap to provide a developer details for an application ability to provide different levels of auth based on the group, the below helped me achieve this and some things I ran into:

ldap_bind: Confidentiality required (13)

We have ldaps setup with SSL, when you setup ldaps with private certificates and you want to ignore them below is your best bet:

Free OpenLDAP Browsers

VPN using LDAP Authentication

below is an example configuration of a VPN using LDAP Authentication, in this example a redhat ldap server was used to authenticate against using cisco vpn’s, the configuration below checks to see if the user is part of the vpn_access group and only then allows access, if the auth fails the users gets bound to the noaccess policy.