diff options
author | Micah Anderson <micah@riseup.net> | 2005-10-26 23:04:16 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2005-10-26 23:04:16 +0000 |
commit | c4785ba5edb9738f7e9da8c4086a4b6984515dd2 (patch) | |
tree | c632486eca3dc14bc60d2e9430e9772b81477fcd /examples/example.ldap | |
parent | d58025ceb0d044b0e21536262c2818a700c4a382 (diff) | |
download | backupninja-c4785ba5edb9738f7e9da8c4086a4b6984515dd2.tar.gz backupninja-c4785ba5edb9738f7e9da8c4086a4b6984515dd2.tar.bz2 |
Moving to autotools standard layout
Diffstat (limited to 'examples/example.ldap')
-rw-r--r-- | examples/example.ldap | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/examples/example.ldap b/examples/example.ldap new file mode 100644 index 0000000..adc1fcd --- /dev/null +++ b/examples/example.ldap @@ -0,0 +1,45 @@ +## +## configuration file for openldap backups +## +## If the method is set to "slapcat", the LDIFs generated are +## suitable for use with slapadd. As the entries are in database +## order, not superior first order, they cannot be loaded with +## ldapadd without being reordered. +## + +## backupdir (default /var/backups/ldap): the destination for the backups +# backupdir = /var/backups/ldap + +## conf (default /etc/ldap/slapd.conf): the location of the slapd.conf file. +# conf = /etc/ldap/slapd.conf + +## databases (default all): either a space separated list of database +## numbers or prefixes, or the keyword 'all'. +# databases = all + +## compress (default yes): if set to yes, ldif exports are gzipped. +# compress = yes + +## restart (default no): if set to yes, slapd is stopped before backups are +## performed, and then started again after they have finished, this is necessary +## if your backend is ldbm and your method is slapcat, but unnecessary otherwise. +# restart = no + +## method (default ldapsearch): either 'ldapsearch' or 'slapcat' +## ldapsearch is the safer method to do backups, but is slow, slapcat +## is much faster, but should not be done on an ldbm backend unless you have +## restart set to yes +## NOTE: with the ldapsearch method passwordfile and binddn need to be set +# method = ldapsearch + +## passwordfile (no default): this should be set to the file that contains +## your ldap password, this is required for ldapsearch and not needed for slapcat +## this file should have no newlines in it, echo -n "password" > passfile works. +## NOTE: be sure to set the permissions on your password file appropriately +## (hint: world readable is not appropriate) +# passwordfile = + +## binddn (no default): set this to the DN of the user that the ldapsearch binds +## to, not needed for slapcat +# binddn = + |