Tâche #35284
Scénario #35279: EOLE 2.8 : Modifications liées au passage forcé de Samba 4.13 à Samba 4.15
La sauvegarde de samba ne fonctionne plus depuis la mise à jour de samba de 4.13 à 4.15
Start date:
03/09/2023
Due date:
% Done:
100%
Remaining (hours):
0.0
Description
La sauvegarde est en erreur suite à mise à jour :
bash -x /usr/share/eole/sbin/samba_backup "/home/backup/samba/samba_backup.report" "/home/backup/samba" "xxxxxxxxxxxxxxxxxxx" "" [..] + python3 -c ' from optparse import OptionParser from samba.samdb import SamDB from samba.auth import system_session from samba import getopt from samba.ntacls import backup_offline parse = OptionParser() lp = getopt.SambaOptions(parse).get_loadparm() creds = getopt.CredentialsOptions(parse).get_credentials(lp) samdb = SamDB(session_info=system_session(), credentials=creds, lp=lp) backup_offline(lp.get('\''path'\'', '\''sysvol'\''), '\''/home/backup/samba/sysvol_ntacl.tar.gz'\'', samdb, lp.configfile) ' <ldb connection> Traceback (most recent call last): File "<string>", line 11, in <module> File "/usr/lib/python3/dist-packages/samba/ntacls.py", line 561, in backup_offline ntacls_helper = NtaclsHelper(service, smb_conf_path, dom_sid) File "/usr/lib/python3/dist-packages/samba/ntacls.py", line 457, in __init__ self.lp.load(smb_conf_path) TypeError: argument 1 must be str, not SamDB + exit 0
Associated revisions
History
#1 Updated by Benjamin Bohard 7 months ago
https://bugzilla.samba.org/show_bug.cgi?id=14676
Commit d7c1115
#2 Updated by Joël Cuissinat 7 months ago
- Parent task set to #35279
#3 Updated by Emmanuel GARETTE 7 months ago
Je viens de passer en version candidat et la sauvegarde est OK.
#4 Updated by Joël Cuissinat 7 months ago
- Status changed from Nouveau to Fermé
- Assigned To set to Joël Cuissinat
- % Done changed from 0 to 100
- Remaining (hours) set to 0.0
Merci pour le retour.