[tech] OpenLDAP slave deployed on Motsugo

David Adam zanchey at ucc.gu.uwa.edu.au
Wed Nov 16 20:19:49 WST 2011


As part of the slow process of decomissioning Martello, I've installed 
OpenLDAP on Motsugo and made it slave from Mussel. It's replicating both 
the UCC database (dc=ucc,dc=gu,dc=uwa,dc=edu,dc=au) and the configuration 
database (cn=config); the latter is useful because it means that schema 
& ACL changes are automatically copied to slaves.

The process is mostly the same as in
http://wiki.ucc.asn.au/LDAP/LazySysadmin#Single-master_with_.60cn.3Dconfig.60_replication
but because of UCC's special schema modifications, I found it easiest to 
just install slapd and slapd-smbk5pwd, then copy mussel:/etc/ldap/slapd.d 
over the existing config, then prime the database by slapadd(8)ing a fresh 
slapcat(8) dump from Mussel.

Also, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631120 needed 
fixing.

David Adam
zanchey at ucc.gu.uwa.edu.au


More information about the tech mailing list