ldap search function

2014-08-25 2 min read bash Learning
First you will need the ldap search utility. The client for ldap search comes in openldap-clients, so you need to install that first: sudo yum install openldap-clients Now, that you have installed it, try to find something in some open ldap server, example: ldapsearch -LLL -h db.debian.org -x -b "dc=debian,dc=org" "cn=Joao*" This should list couple of entries for you. Now, that you have ldapsearch working, lets define a function in . Continue reading

OpenLDAP and SSL – some links

2010-11-15 1 min read Learning Linux
Here are some of the links that may be of great help to you if you are having issues with setting up SSL and OpenLDAP. I was having some issues with this setup and these links helped me fix the same. http://www.faqs.org/docs/Linux-HOWTO/SSL-RedHat-HOWTO.html http://www.tc.umn.edu/~brams006/selfsign_redhat.html http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.1/html/Using_Red_Hat_Console/Starting_the_Server_with_SSL_Enabled-Enabling_SSL_in_the_DS_Admin_Server_and_Console.html http://directory.fedoraproject.org/wiki/Howto:SSL http://www.linuxtopia.org/online_books//network_administration_guides/ldap_administration/appendix-common-errors_Common_causes_of_LDAP_errors.html Related articles Stephan Hermann: Ubuntu 10.04 LTS and OpenLDAP (shermann.name) Exploring LDAP SASL Authentication With Ruby (intridea.com) Stephan Hermann: [SOLVED] OpenLDAP, passwd and CRYPT passwords (shermann. Continue reading