On Wed, Aug 29, 2012 at 5:26 PM, Gavin Henry <ghenry@suretecsystems.com> wrote:
> #Load the syncprov and accesslog modules.
> dn: cn=module{0},cn=config
> changetype: modify
> add: olcModuleLoad
> olcModuleLoad: syncprov

Are you using the Ubuntu OpenLDAP build?


I am.
 
--
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

.
.
.

I got it working.. my problem was actually that my  slave (a copy of the master's vm) had the master's hostname on 127.0.0.1 in /etc/hosts.  Oops.

Works great now.  I will be re-doing it to use TLS.

One thing that I did was add a checkpoint directive since the ubuntu server guide instructions didn't include one.  I am not sure I got it right.  I am still somewhat mystified by the correspondence between what you might put in slapd.conf and what ldif you need to get the same effect with the cn=config method.

dn: olcOverlay={0}syncprov,olcDatabase={2}hdb,cn=config
add: olcSpCheckPoint
olcSpCheckPoint: 100 10



--
     Jeff Dickens
     IT Manager      978-632-1513