Bug 56505

Summary: Incompatible copyright: univention-samba4-backup GPL-3.0-or-later vs AGPL-3.0-only
Product: UCS Reporter: Philipp Hahn <hahn>
Component: Samba4Assignee: Samba maintainers <samba-maintainers>
Status: NEW --- QA Contact: Samba maintainers <samba-maintainers>
Severity: enhancement    
Priority: P1 CC: gohmann, jmm, petersen, requate, steuwer
Version: UCS 5.0   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
URL: https://git.knut.univention.de/univention/ucs/-/merge_requests/879
What kind of report is it?: Development Internal What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): License
Max CVSS v3 score:
Bug Depends on: 34113    
Bug Blocks:    
Attachments: Clean-room rewrite of univention-samba4-backup

Description Philipp Hahn univentionstaff 2023-08-30 12:14:47 CEST
Created attachment 11111 [details]
Clean-room rewrite of univention-samba4-backup

[univention-samba4-backup](https://git.knut.univention.de/univention/ucs/-/blob/5.0-4/services/univention-samba4/sbin/univention-samba4-backup) has been added by Big #34113 as a clone from [samba:sources4/scripting/bin/samba_backup](https://git.samba.org/?p=samba.git;a=history;f=source4/scripting/bin/samba_backup;hb=4f532cc177cd1e95d8ccf8e69f50b315354df34c) which is licensed GPL-3.0-or-later

Our (modified) copy retains the original copyright, but slaps AGPL-3.0-only on it, which is incompatible!

By now (UCS 5.0-4) most of the original code is gone and the copyright might be dropped

The exception is also not mentioned in "debian/copyright", but should:
+++++
Files: sbin/univention-samba4-backup
Copyright: 2010-2011 Matthieu Patou <mat@matws.net>
License: GPL-3.0-or-later
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 with the Debian GNU/Linux or Univention distribution in file
 /usr/share/common-licenses/GPL-3; if not, see
 <https://www.gnu.org/licenses/>.
+++++

Please note that the tools has been removed in newer version of Samba: <https://wiki.samba.org/index.php/Using_the_samba_backup_script>, especially <https://git.samba.org/?p=samba.git;a=commit;h=f17d20123a4dc6b3b798456775c9449a2afd4921>

+++ This bug was initially created as a clone of Bug #34113 +++
+++ This bug was initially created as a clone of Bug #30216 +++