Ubuntu has been using 'dynamic' configuration (aka cn=config and /etc/ldap/slapd.d) for quite some time now but you're using CentOS 5.x which includes an old version of OpenLDAP and uses the 'flat file' configuration (/etc/openldap/slapd.conf) There's bound to be issues at each place where it talks about 'configuration'. My suggestion to you is to use some type of virtualization product (VMWare, VirtualBox, etc.) and install Ubuntu 10.04 LTS on a virtual and then you will track with the book. Craig On Oct 27, 2011, at 5:01 AM, Wessel van der Aart wrote: > actually i'm reading this book , ' mastering openldap' from packt > publishing, on it, > the book uses ubuntu as distro in their examples and i just assumed the > working of openldap between distro's wouldn't be any different (except > for directory paths). however i removed the moduleload line , ran > 'slaptest -v -u -f /etc/openldap/slapd.conf' (the 'database hdb' bit was > already there) and now it's fine. > > Thanks, > wessel > > On 10/26/2011 11:11 PM, Alexander Dalloz wrote: >> Hi, >> >> I assume you are following a random tutorial on the net. Don't do that. >> It simply does not fit. >> >> Instead of using a modulepath just (the proper one on CentOS would be >> /usr/lib/openldap, as pre-defined in slapd.conf; but the backends are >> not available as modules on CentOS), define you database properly. Where >> you see >> >> database bdb >> >> in the slapd.conf CentOS ships with, just change bdb into hdb. >> >> Alexander >> >> >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos -- Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white at ttiltd.com 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help!