[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#769806: debian-edu-config: configuration file for slbackup-php is missing



Package: debian-edu-config
Version: 1.813
Severity: important
Tags: patch pending

Debian Edu uses slbackup-php as web gui to configure slbackup. A 
configuration file is missing, but required since the previous default 
was changed from 'backup' to 'localhost' some time ago to make the 
package useable on stock Debian systems.

If 'https://backup/slbackup-php' isn't called on the backupserver 
the configuration of the backup time fails.

Using the attached config.php file it works like expected.

The fix has been committed to git.


diff --git a/Makefile b/Makefile
index b5a1c04..24d5eb3 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ docdir     = $(prefix)/share/doc/$(PACKAGE)
 mandir     = $(prefix)/share/man
 gosadir    = $(sysconfdir)/gosa
 ldapdir    = $(sysconfdir)/ldap
+slbackupphpdir = $(sysconfdir)/slbackup-php
 schemadir  = $(ldapdir)/schema
 dhcpdir   = $(sysconfdir)/dhcp
 libdir     = /usr/lib
@@ -145,6 +146,7 @@ SYSCONFFILES = \
 	samba/samba-domain-policy.ldif \
 	security/pam_mount-winbind-debian-edu.conf \
 	security/pam_mount-stateless-debian-edu.conf \
+	slbackup-php/config.php \
 	smbldap-tools/smbldap_bind.conf \
 	smbldap-tools/smbldap.conf \
 	sssd/sssd-debian-edu.conf \
diff --git a/debian/dirs b/debian/dirs
index 7a8dec4..a29294c 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -17,6 +17,7 @@ etc/slbackup/pre.d
 etc/samba
 etc/samba/netlogon
 etc/slbackup/pre.d
+etc/slbackup-php
 etc/skel/.local/share
 etc/X11/Xsession.d
 usr/bin

Wolfgang

<?php
$backuphost = 'backup';
$backupuser = 'root';
?>

Attachment: signature.asc
Description: Digital signature


Reply to: