Skip to content
Snippets Groups Projects
Select Git revision
  • 0ec7752dd3ae14ce8b9c4630c7f7906956a81180
  • master default protected
  • prometheus
  • backupninja.conf.d
  • when-override
  • debian
  • pristine-tar
  • upstream
  • maethor-master-patch-46063
  • maethor-master-patch-70558
  • expand_pruning_options
  • systemd_integration
  • borg-sftp-support
  • nap-initial
  • mariaback_full-intial
  • borg-ssh-keygen
  • borg-custom-init-options
  • stretch-backports
  • backupninja_debian/1.2.1-1
  • backupninja_upstream/1.2.1
  • backupninja-1.2.1
  • backupninja_debian/1.2.0-1
  • backupninja_upstream/1.2.0
  • backupninja-1.2.0
  • backupninja-1.2.0-rc1
  • backupninja_debian/1.1.0-1
  • backupninja_upstream/1.1.0
  • backupninja-1.1.0
  • backupninja_debian/1.0.2-1
  • backupninja_upstream/1.0.2
  • backupninja-1.0.2
  • backupninja_debian/1.0.1-2
  • backupninja_debian/1.0.1-1
  • backupninja_upstream/1.0.1
  • backupninja-1.0.1
  • backupninja_debian/1.0-1
  • backupninja_upstream/1.0
  • backupninja-1.0
38 results

example.ldap

Blame
  • Forked from Liberate / backupninja
    Source project has a limited visibility.
    example.ldap 2.13 KiB
    ##
    ## 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 =
    
    ## ldaphost (no default): set this to your ldap host if it is not local
    # ldaphost =
    
    ## ssl (default yes): if set to 'yes' then SSL connection will be
    ## attempted to your ldaphost by using ldaps://
    # ssl = yes
    
    ## tls (default no): if set to 'yes' then TLS connection will be
    ## attempted to your ldaphost by using TLS extended operations (RFC2246,
    ## RFC2830)
    # tls = no