[K12OSN] What's the difference between OpenLDAP backen dbm and ldbm

Petre Scheie petre at maltzen.net
Fri Sep 9 13:46:30 UTC 2005



Brian Webport wrote:
> Petre Scheie wrote:
> 
>> From Gerald Carter's "LDAP System Administration" (O'Reilly):
>>
>> "In order to build a standalone OpenLDAP server, it is necessary to 
>> provide libraries for some type of database manager (DBM).  OpenLDAP 
>> presently supports two categories of local DB storage.  The first, 
>> referred to as ldbm, can use either the GNU Database Manager from the 
>> Free Software Foundation or the BerkelyDB package from Sleepycat 
>> software.  The second database type introduced in OpenLDAP 2.1, called 
>> dbd, has been customized to use only the Berkeley DB 4 libraries.  The 
>> newer dbd backend type is preferred to the ldbm interface for servers 
>> that maintain local copies of data, such as those we will build in 
>> this book."
>>
>> You might check out the FSF and Sleepcat websites for more details.
>>
>> HTH
>>
>> Petre
>>
>> Brian Webport wrote:
>>
>>> We're happily running our Samba 3 / OpenLDAP system setup using the 
>>> smbldap-installer script. I've been looking around trying to do a 
>>> little background reading on the OpenLDAP section and I'm a little 
>>> confused as to what the difference is between dbm & ldbm for the 
>>> backend database.
>>>
>>> I see from our slapd.conf file that the installer uses ldbm is this 
>>> better then dbm ??
>>>
>>> Any information would be greatfully received.
>>>
>>> Thanks
>>> Brian Chivers
>>> Portsmouth College
>>>
>>> _______________________________________________
>>> K12OSN mailing list
>>> K12OSN at redhat.com
>>> https://www.redhat.com/mailman/listinfo/k12osn
>>> For more info see <http://www.k12os.org>
>>>
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN at redhat.com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>>
> Thanks, I'll have a look
> 
> Interesting that the smbldap-installer script sets up a ldbm backend 
> where it looks like it should be dbd ??
> 
> Brian
> 
Excuse me, I introduced a couple of typos.  The line

"... The second database type introduced in OpenLDAP 2.1, called dbd, has been 
customized to use only the Berkeley DB 4 libraries.  The newer dbd backend type is 
preferred..."

should have read

"... The second database type introduced in OpenLDAP 2.1, called bdb, has been 
customized to use only the Berkeley DB 4 libraries.  The newer bdb backend type is 
preferred..."

bdb and dbd are easily mistyped, particularly is one is a poor typist.

Petre




More information about the K12OSN mailing list