[Bug 289957] Re: Backupninja cannot back up LDAP w. cn=config backend

Morten Siebuhr sbhr at sbhr.dk
Sun Nov 16 17:24:36 UTC 2008


>From reading the source, I found a workaround that permits taking
backups without changing the source code:

The LDAP configuration file should read as:

databases =  cn=config dc=example,dc=com
binddn = cn=admin,cn=config
passwordfile = /etc/ldapscripts/ldapscripts.passwd
ldaphost = ldap.example.com
conf = /etc/ldap/ldap.conf

There are two hacks here: the passwordfile should be a file with the
LDAP master password - as I already have ldapscripts installed, I reuse
that file. The configuration file is NOT set to /etc/ldap/slapd.conf, as
it does not exist and that causes the entire script to fail - but as we
give it all needed options ourselves, we can just give it any other
file...

-- 
Backupninja cannot back up LDAP w. cn=config backend
https://bugs.launchpad.net/bugs/289957
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list