search for: as_sddl

Displaying 18 results from an estimated 18 matches for "as_sddl".

2016 May 18
1
Error with "samba-tool ntacl get --as-sddl"
> Hi, this is because when you use '--as-sddl', the python code does this: > > if as_sddl: > try: > domain_sid = security.dom_sid(samdb.domain_sid) > except: > raise CommandError("Unable to read domain SID from > configuration files") > self.outf.write(acl.as_sddl(domain_sid)+"\n")...
2016 May 17
3
Error with "samba-tool ntacl get --as-sddl"
On two Samba 4.4.2/4.4.3 member servers, "samba-tool ntacl get --as-sddl" gives the following error: ERROR: Unable to read domain SID from configuration files Which configuration files is it referring to? Without "--as-sddl" the command gives a correct output. It would be nice to get the permissions in sddl format... The same command works as expected on two AC DCs.
2019 Jun 18
9
domain online backup
...2.7/dist-packages/samba/netcmd/domain_backup.py", line 243, in run > backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) > File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 508, in backup_online > ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) > File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 331, in get_acl > smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) Having read the wiki, a cause could be that the backup tool only works over SMBv1. But then it would always fail, also with my own m...
2019 Feb 28
6
samba-tool domain backup ERROR
...lib/python2.7/dist-packages/samba/netcmd/domain_backup.py", line 243, in run backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 508, in backup_online ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 331, in get_acl smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) ----------------- the package "lmdb-utils" is installed on both DCs. Any tip? Stefan
2019 Jan 09
2
Online backup of domain fails
.../usr/lib/python2.7/dist-packages/samba/netcmd/domain_backup.py", line 243, in run backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 508, in backup_online ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 331, in get_acl smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) Does anyone has a trick for me? Best regards Benedikt -- forumZFD Entschieden für Frieden|Committed to Peace Benedikt Kaleß Leiter Team IT...
2019 Jul 05
2
Error samba backup 4.10.5
...", > > line 264, in run > > backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) > > File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", > > line 512, in backup_online > > ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) > > File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", > > line 334, in get_acl > > smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) > > signed SMB2 message > > > This problem is occurring backing up the sysvol share. The...
2019 Jan 10
0
Online backup of domain fails
...ackages/samba/netcmd/domain_backup.py", > line 243, in run > backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) > File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 508, in > backup_online > ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) > File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 331, in > get_acl > smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) > > > Does anyone has a trick for me? > > Best regards > Benedikt >
2019 Feb 28
0
samba-tool domain backup ERROR
...ackages/samba/netcmd/domain_backup.py", line > 243, in run >     backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) >   File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 508, > in backup_online >     ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) >   File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 331, > in get_acl >     smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) > We've seen this problem once before, see thread: https://lists.samba.org/archive/samba/2019-January/220353.html That thr...
2019 Jun 18
0
domain online backup
...omain_backup.py", >> line 243, in run >> ??? backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) >> ? File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 508, >> in backup_online >> ??? ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) >> ? File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 331, >> in get_acl >> ??? smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) > > Having read the wiki, a cause could be that the backup tool only works > over SMBv1. But then it would...
2019 Jul 05
0
Error samba backup 4.10.5
...a/netcmd/domain_backup.py", > line 264, in run > backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) > File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", > line 512, in backup_online > ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) > File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", > line 334, in get_acl > smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) > signed SMB2 message > This problem is occurring backing up the sysvol share. There's a particular GPO that...
2019 Mar 01
1
samba-tool domain backup ERROR
...in_backup.py", line > > 243, in run > >     backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) > >   File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 508, > > in backup_online > >     ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) > >   File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", line 331, > > in get_acl > >     smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) > > > We've seen this problem once before, see thread: > https://lists.samba.org/archive/samba/2019...
2019 Jun 18
0
domain online backup
...line 243, in run > >> ??? backup_online(smb_conn, sysvol_tar, > remote_sam.get_domain_sid()) > >> ? File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", > line 508, > >> in backup_online > >> ??? ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) > >> ? File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", > line 331, > >> in get_acl > >> ??? smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) > > > > Having read the wiki, a cause could be that the backup tool > only works...
2019 Jul 05
0
Error samba backup 4.10.5
...; line 264, in run >> > backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) >> > File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", >> > line 512, in backup_online >> > ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) >> > File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", >> > line 334, in get_acl >> > smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) >> > signed SMB2 message >> > >> This problem is occurring backing...
2018 Nov 05
2
samba-tool domain backup online errors
...7/site-packages/samba/netcmd/domain_backup.py", line 242, in run     backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid())   File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 499, in backup_online     ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True)   File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 322, in get_acl     smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) I am running this command from the DC I wish to make the backup of. Should I be running this from a remote DC? Thanks.
2019 Feb 28
0
samba-tool domain backup ERROR
...ba/netcmd/domain_backup.py", > line 243, in run > backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) > File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", > line 508, in > backup_online > ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) > File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", > line 331, in > get_acl > smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) > > ----------------- > the package "lmdb-utils" is installed on both DCs. > > Any tip? >...
2019 Jun 18
0
domain online backup
...cmd/domain_backup.p > y", line 243, in run > > backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) > > File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", > line 508, in backup_online > > ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) > > File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", > line 331, in get_acl > > smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) > > Having read the wiki, a cause could be that the backup tool > only works > over SMBv1. But then it w...
2019 Jul 04
3
Error samba backup 4.10.5
...hon3.4/site-packages/samba/netcmd/domain_backup.py", line 264, in run backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", line 512, in backup_online ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", line 334, in get_acl smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) signed SMB2 message Any suggestion why backups are not running on 4.10.5. All commands executed with root user Thanks
2019 Jun 18
2
domain online backup
...>> y", line 243, in run >>> backup_online(smb_conn, sysvol_tar, remote_sam.get_domain_sid()) >>> File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", >> line 508, in backup_online >>> ntacl_sddl_str = smb_helper.get_acl(r_name, as_sddl=True) >>> File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", >> line 331, in get_acl >>> smb_path, SECURITY_SECINFO_FLAGS, SECURITY_SEC_FLAGS) >> >> Having read the wiki, a cause could be that the backup tool >> only works >> o...