Displaying 20 results from an estimated 31 matches for "get_acl".
2010 Dec 14
7
DO NOT REPLY [Bug 7865] New: files or dirs with more than 16 ACLs are not rsynced correctly
...AContact: rsync-qa at samba.org
CC: reinhard.lubos at comlineag.de
Platform: HP-UX 11iv3 (11.31) on ia64 with vxfs/JFS and ACLs
when trying to rsync files or dirs with more than 16 ACLs we get errors in the
rsync-server logfile (used flags: -axA)
2010/12/08 09:40:06 [21974] rsync: get_acl: sys_acl_get_file(rsynctest/abc/123,
ACL_TYPE_ACCESS): Invalid argument (22)
2010/12/08 09:41:00 [23863] rsync on patdb/rsynctest from xy123 (10.190.81.189)
After changing INITIAL_ACL_SIZE to 128 (in both lines) in lib/sysacls.c the
binary is able to rsync our ACL-topscorer with 115 ACLs.
Maybe,...
2019 Jun 18
9
domain online backup
...;/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)
Having read the wiki, a cause could be that the backup tool only works
over SMBv1. But then it would always fail, als...
2019 Feb 28
6
samba-tool domain backup ERROR
...File "/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)
-----------------
the package "lmdb-utils" is installed on both DCs.
Any tip?
Stefan
2006 Oct 21
1
Rsync 2.6.9pre2 tries to read ACLs of nonexistent files
...owing errors:
/home/matt/rsync/rsync-acl/rsync -aAPx --del --numeric-ids --relative \
--delete-excluded --exclude=media/external-disk/snapshots \
--link-dest=/media/external-disk/snapshots/occasional.0/mattlaptop/ /. \
/media/external-disk/snapshots/.sync/mattlaptop/
[...]
/etc/
rsync: get_acl: sys_acl_get_file(etc/adjtime, SMB_ACL_TYPE_ACCESS): No
such file or directory (2)
/etc/adjtime
46 100% 0.00kB/s 0:00:00 (xfer#1, to-check=283360/283617)
rsync: get_acl: sys_acl_get_file(etc/group, SMB_ACL_TYPE_ACCESS): No
such file or directory (2)
/etc/group
582 100% 568...
2019 Jan 09
2
Online backup of domain fails
...s)
File "/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...
2015 Oct 07
1
[Bug 11545] New: -A (preserve ACLs) with --link-dest=DIR fails when DIR has a directory with the same file's name
...3.1.1: without "-A" works OK too
[/code]
Versions 3.1.0, 3.1.1 and 3.1.2pre1 are affected:
[code]
famzah at vbox:~/rsync-link-bug$ ~/a/rsync/rsync-HEAD-20150824-1905GMT/rsync -a -A
--link-dest "$TESTDIR/backup.1" "$TESTDIR/data" "$TESTDIR/backup.0"
rsync: get_acl: sys_acl_get_file(data/file.txt, ACL_TYPE_DEFAULT): Permission
denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code
23) at main.c(1178) [sender=3.1.2pre1]
famzah at vbox:~/rsync-link-bug$ ~/a/rsync/rsync-3.1.1/rsync -a -A --link-dest
"$TESTDIR/backup.1&qu...
2019 Jul 05
2
Error samba backup 4.10.5
...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 s...
2019 Jan 10
0
Online backup of domain fails
...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
>
2019 Feb 28
0
samba-tool domain backup ERROR
...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)
>
We've seen this problem once before, see thread:
https://lists.samba.org/archive/samba/2019-January/22035...
2019 Jun 18
0
domain online backup
...s/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. Bu...
2019 Jul 05
0
Error samba backup 4.10.5
...te-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
>
This problem is occurring backing up the sysvol share. There's a
par...
2019 Mar 01
1
samba-tool domain backup ERROR
...amba/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/ar...
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...
2019 Jul 05
0
Error samba backup 4.10.5
...t;,
>> > 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 oc...
2018 Nov 05
2
samba-tool domain backup online errors
...mba/lib/python2.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?...
2019 Feb 28
0
samba-tool domain backup ERROR
...ist-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.
>
>...
2019 Jun 18
0
domain online backup
...ckages/samba/netcmd/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 SMBv...
2019 Jul 04
3
Error samba backup 4.10.5
...al/samba/lib/python3.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
Th...
2019 Jun 18
2
domain online backup
.../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...
2006 Nov 10
1
Internal error: wrong write used in receiver.
Hi,
I'm using 2.6.9 but I get:
recv_files phase=1
generate_files phase=2
recv_files phase=2
recv_files finished
generate_files phase=3
deleting in home
delete_in_dir(home)
[generator] make_file(home/administ,*,2)
Internal error: wrong write used in receiver.
_exit_cleanup(code=2, file=io.c, line=1204): entered
_exit_cleanup(code=19, file=main.c, line=1182): entered
rsync error: received