added missing newline to the end of example.ldap
[matthijs/upstream/backupninja.git] / examples / example.ldap
1 ##
2 ## configuration file for openldap backups 
3 ##
4 ## If the method is set to "slapcat", the LDIFs generated are
5 ## suitable for use with slapadd. As the entries are in database
6 ## order, not superior first order, they cannot be loaded with
7 ## ldapadd without being reordered.
8 ##
9
10 ## backupdir (default /var/backups/ldap): the destination for the backups
11 # backupdir = /var/backups/ldap
12
13 ## conf (default /etc/ldap/slapd.conf): the location of the slapd.conf file.
14 # conf = /etc/ldap/slapd.conf
15
16 ## databases (default all): either a space separated list of database
17 ## numbers or prefixes, or the keyword 'all'.
18 # databases = all
19
20 ## compress (default yes): if set to yes, ldif exports are gzipped.
21 # compress = yes
22
23 ## restart (default no): if set to yes, slapd is stopped before backups are
24 ## performed, and then started again after they have finished, this is necessary
25 ## if your backend is ldbm and your method is slapcat, but unnecessary otherwise.
26 # restart = no
27
28 ## method (default ldapsearch): either 'ldapsearch' or 'slapcat' 
29 ## ldapsearch is the safer method to do backups, but is slow, slapcat
30 ## is much faster, but should not be done on an ldbm backend unless you have
31 ## restart set to yes
32 ## NOTE: with the ldapsearch method passwordfile and binddn need to be set
33 # method = ldapsearch
34
35 ## passwordfile (no default): this should be set to the file that contains 
36 ## your ldap password, this is required for ldapsearch and not needed for slapcat
37 ## this file should have no newlines in it, echo -n "password" > passfile works.
38 ## NOTE: be sure to set the permissions on your password file appropriately
39 ## (hint: world readable is not appropriate)
40 # passwordfile = 
41
42 ## binddn (no default): set this to the DN of the user that the ldapsearch binds
43 ## to, not needed for slapcat
44 # binddn =
45
46 ## ldaphost (no default): set this to your ldap host if it is not local
47 # ldaphost =
48
49 ## tls (default yes): if set to 'yes' then TLS connection will be
50 ## attempted to your ldaphost by using the URI base ldaps: otherwise ldap: will be used
51 # tls = yes