Hi,
I'm trying to upgrade from BackupPC 3 to BackupPC 4 on one Debian system,
but I'm having problems with Apache2 and the BackupPC cgi file.

The web interface tells me "Error: Wrong user: my userid is 33, instead of
108(backuppc)", even if the cgi script belongs to the backuppc user and
suid is enabled:

=======================================================
root@backup:/etc# ls -l /opt/backuppc/cgi-bin/BackupPC_Admin
-rwsr-x--- 1 backuppc www-data 3961 Feb 12 19:56
/opt/backuppc/cgi-bin/BackupPC_Admin
=======================================================

This is the Apache2 configuration file:
=======================================================
root@backup:/etc# cat /etc/apache2/conf-available/backuppc4.conf
<Directory /opt/backuppc/cgi-bin >
        AllowOverride None
        Allow from all

        AuthBasicProvider file ldap
        AuthUserFile /etc/backuppc/htpasswd
        AuthType basic
        AuthName "BackupPC"
        require valid-user
</Directory>

<Directory /opt/backuppc/image>
        AllowOverride None
        Require all granted
</Directory>

Alias /backuppc4/image /opt/backuppc/image
ScriptAlias /backuppc4 /opt/backuppc/cgi-bin/BackupPC_Admin
=======================================================

Could you help me to understand where I'm wrong, please?

Thank you very much!
Bye
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to