Re: OBSD 5.4 and OpenLDAP

2014-03-08 Thread Stuart Henderson
On 2014-03-07, Friedrich Locke friedrich.lo...@gmail.com wrote:
 Hi folks!

 I would like to setup a OpenLDAP server using OpenBSD and the ports
 collection.
 I wonder if the current OpenLDAP  in the ports is still broken ?
 Do it supports mdb/hdb/bdb ?

 Thanks a lot.

 gustavo.



OpenLDAP 2.3 and 2.4 servers are in ports. 2.3 uses ldbm, 2.4 uses bdb.

mdb is not enabled as the default settings for mdb require that the
buffer cache and mmap are coherent which is not the case on OpenBSD.

According to Howard Chu this requirement is relaxed if MDB_WRITEMAP
is used so I am tempted to change the port to A) enable it and B)
add a check to refuse use of mdb unless writemap is set.



OBSD 5.4 and OpenLDAP

2014-03-06 Thread Friedrich Locke
Hi folks!

I would like to setup a OpenLDAP server using OpenBSD and the ports
collection.
I wonder if the current OpenLDAP  in the ports is still broken ?
Do it supports mdb/hdb/bdb ?

Thanks a lot.

gustavo.



Re: OBSD 5.4 and OpenLDAP

2014-03-06 Thread Vijay Sankar

Why do you say it is still broken?

I am running

openldap-client-2.4.35p1 open-source LDAP software (client)
openldap-server-2.4.35p2 open-source LDAP software (server)

on OpenBSD 5.4 without any problems. The package works beautifully,  
works with samba, horde, etc., far better than anything else out  
there. I am using the following:


# Load dynamic backend modules:
modulepath  /usr/local/libexec/openldap
moduleload  back_bdb.la

Quoting Friedrich Locke friedrich.lo...@gmail.com:


Hi folks!

I would like to setup a OpenLDAP server using OpenBSD and the ports
collection.
I wonder if the current OpenLDAP  in the ports is still broken ?
Do it supports mdb/hdb/bdb ?

Thanks a lot.

gustavo.






Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca

-
This message was sent using ForeTell-POST 4.9