Displaying 20 results from an estimated 1000 matches similar to: "Fix for CVE-2015-5299 denies access to ZFS snapshots due to overly strict condition checking"
2016 Jan 01
0
Fix for CVE-2015-5299 denies access to ZFS snapshots due to overly strict condition checking
On Fri, Jan 01, 2016 at 09:38:09PM +0800, QIU Quan wrote:
> OS platform: FreeBSD 10.1-RELEASE-p25
> Filesystem: ZFS
> Samba version: upgraded from 4.1.17 to 4.1.22
>
> Problem:
>
> I have been using the shadow_copy2 and zfsacl VFS modules to enable
> access control and the Previous Versions feature for Windows clients.
> With /usr/local/etc/smb4.conf configured this
2016 Jul 06
1
"No previous versions" - GPFS 3.5 and shadow_copy2
Hi all,
At some point recently my customers can no longer see GPFS snapshots under the Windows Previous Versions tab. It simply says "No previous versions available". If a fileset is exported with the flag "force user = root" then Previous Versions *are* displayed.
[2016/07/06 10:07:35.602080, 3] ../source3/smbd/vfs.c:1322(check_reduced_name)
check_reduced_name:
2016 Feb 08
2
vfs_shadow_copy2: unmount snapshot while user is restoring from it
Greetings,
I am trying to use vfs_shadow_copy2 with samba samba-4.2.7.
I have a share exported at /export/smb400/. A snapshot of the share is on a
separate block device, which is mounted at
/export_shadows/volume-00000001/@GMT-2016.02.08-11.48.00/. Samba
configuration for the share is:
vfs objects = shadow_copy2
shadow:snapdir = /export_shadows/volume-00000001
shadow:fixinodes = yes
(Note: I
2011 Sep 17
1
vfs_shadow_copy2 doesn't seem to work with basedir of /
Hi all,
I'm using the VFS sbadow_copy2 module, and I think I've hit a bug. This
config works:
mattcen at adam:SambaTest$ cat works3/smb.conf
[SambaTest]
comment = SambaTest
writable = yes
path = /srv/SambaTest/share
#vfs objects = shadow_copy
vfs objects = shadow_copy2
shadow:snapdir = /mnt/dates
shadow:basedir = /srv
mattcen
2015 Apr 26
2
Cannot delete/write after system update
After upgrading one of my home servers, and I can no longer delete or
write files via Samba. I would very much appreciate assitance. I will
explain my situation and provide logs for the case of deleting a simple
file.
My configuration is to access my shares as a guest, which should be
mapped to the smbuser Linux account.
To achieve this I have set the following globally:
map to guest =
2014 Mar 28
1
shadow_copy2 not working
Hi folks,
I've been trying to get shadow copy / previous versions working under
sernet-samba-ad-4.1.6-7.el6.x86_64. I cannot see where I am going wrong. I
have:
[global]
workgroup = COMPANY
realm = COMPANY.LOCAL
netbios name = DC
server role = active directory domain controller
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
winbind,
2014 Jan 24
2
vfs_shadow_copy2 with different snapshot format
Hi all,
Does anyone have vfs_shadow_copy2 working with an alternate snapshot
directory format? My snapshots look like this :
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140113_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140114_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140115_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140116_12:00
drwxr-xr-x 55 root root 32768 Jan 10
2018 Feb 16
4
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
Hello Dear Samba Users,
I have sucessfully set a samba share on a centos 7 box (samba 4.6.2) and
succeeded into make work snapshots (vfs_shadow_copy2 with xfs and lvm).
The snapshots appears well in windows previous versions.
However, I expected to go further with snapshots and use the options
"shadow:snapprefix" and "shadow:delimiter"in order to filter daily,
weekly
2015 Apr 29
2
Cannot delete/write after system update
On Mon, Apr 27, 2015 at 10:56:05AM +0100, Rowland Penny wrote:
> On 26/04/15 05:38, Bob Bell wrote:
> > After upgrading one of my home servers, and I can no longer delete or
> > write files via Samba. I would very much appreciate assitance. I
> > will explain my situation and provide logs for the case of deleting a
> > simple file.
> >
> > My
2023 May 22
1
vfs_shadow_copy2 cannot read/find snapshots
Hi Sebastian,
why are you using shadow:snapprefix if this is just ?snap??
Does it work using ONLY shadow:format = snap_GMT-%Y.%m.%d-%H.%M.%S ?
If you use snapprefix you also need to use shadow:delimiter (in your case this would be ?_?). However, I never managed to get it working with snapprefix on my machines.
Alexander
> On Monday, May 22, 2023 at 2:52 PM, Sebastian Neustein via samba
2023 May 22
3
vfs_shadow_copy2 cannot read/find snapshots
Hi
I am trying to get shadow_copy2 to read gluster snapshots and provide
the users with previous versions of their files.
Here is my smb.conf:
[global]
??????? security = ADS
??????? workgroup = AD
??????? realm = AD.XXX.XX
??????? netbios name = A32X
??????? log file = /var/log/samba/%m
??????? log level = 1
??????? idmap config * : backend = tdb
??????? idmap config * : range =
2015 Apr 29
1
Cannot delete/write after system update
On Wed, Apr 29, 2015 at 09:19:32AM +0100, Rowland Penny wrote:
> On 29/04/15 04:04, Bob Bell wrote:
> > On Mon, Apr 27, 2015 at 10:56:05AM +0100, Rowland Penny wrote:
> >> On 26/04/15 05:38, Bob Bell wrote:
> >>> After upgrading one of my home servers, and I can no longer delete or
> >>> write files via Samba. I would very much appreciate assitance. I
2018 Aug 15
1
vfs_shadow_copy2 with snapprefix & delimiter options
Hello all,
I already successfully configured shadow copy service without a delimiter and regex. But as soon as I try to get this to work with regex, nothing shows up on the win client.
My config looks like this:
[global]
shadow: localtime = yes
shadow: sort = desc
shadow: format = _%FT%T
shadow: delimiter = _
shadow: snapprefix = ^\(monthly\)\{0,1\}\(weekly\)\{0,1\}\(daily\)\{0,1\}$
2015 Apr 18
2
Samba 4 slow write
Hi all,
On Thu, Apr 16, 2015 at 03:00:49PM -0700, Jeremy Allison wrote:
> On Thu, Apr 16, 2015 at 08:42:48PM +0200, Ervin Heged?s wrote:
> > Dear Samba users,
> >
> > here is an Ubuntu 14.04, with Samba 4 (4.1.6), and LDAP (slapd
> > 2.4.31). The config came from a previous system (Debian Squeezy),
> > which had been crashed (HW error - on this new machine,
2020 Aug 28
1
samba
Hello,
Thank you everyone in advance for your time and support? I am the
Administrator of a small network, with about 60 desktops (mostly windows
10) that connect to a Linux VM running samba for file sharing).? In the
last few months I completed the transition from the Samba server running
as a vm on an OpenVZ machine.? It was running Centos 6, with an older
version of samba.? Now the server has
2016 Nov 17
2
Clients can't write to group-writable files - plea for help
On Wed, Nov 16, 2016 at 03:25:24PM -0500, Josh Malone wrote:
> On 11/16/16 3:17 PM, Jeremy Allison wrote:
> >On Wed, Nov 16, 2016 at 03:12:06PM -0500, Josh Malone via samba wrote:
> >>On 11/16/16 2:32 PM, Jeremy Allison via samba wrote:
> >>>>
> >>>>But the file is not root:root - it's owned by uid 12477 and group
> >>>>9006. Why
2014 Sep 19
1
Samba 4.1.11 crashes sporadically
Hi,
I thought I should share this unusual behaiviour of samba 4.1.11. All of
a sudden while I tried to delete a Folder via samba on a share it
crashed. I was using Mac OSx's V 10.9.4 internal samba client (regular
"CMD+K" mount via Finder).
Server: [...] FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:37:44 UTC 2014
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
2019 Aug 10
2
vfs_shadow_copy2 not working
So I'm trying to get shadow copies to work with Windows clients. The snapshots are being stored at /test/.zfs/snapshot
The snapshots are being named like so:
autosnap_2019-08-10_21:00:00_frequently
autosnap_2019-08-10_21:00:00_monthly
autosnap_2019-08-10_22:00:00_hourly
This is in my smb.conf:
[test]
vfs objects = shadow_copy2
shadow:snapdir = /test/.zfs/snapshot
shadow:snapprefix =
2019 Sep 01
3
vfs_shadow_copy2 not working
Hi Jeremy,
Here's the log with log level 10: https://pastebin.com/0EAuz2B8
The location of the shared folder: /pool/shadowtest
The location of the snapshots: /pool/shadowtest/.zfs/snapshot
Here are how snapshots are named:
autosnap_2019-09-01_13:29:01_daily
autosnap_2019-09-01_13:29:01_hourly
autosnap_2019-09-01_13:44:09_frequently
And this is currently in my smb.conf file:
[shadowtest]
2015 Apr 20
0
Samba 4 slow write
Hello Ervin,
?
On Sat, Apr 18, 2015 at 5:01 PM, Ervin Heged?s <airween at gmail.com> wrote:
>
> Why faster the Samba for users, who listed in "admin users" in
> smb.conf?
Hmm looks like earlier return for users with root permission,
so admin users would not go through SMB_VFS_GET_NT_ACL(),
which takes more time on permission checking.[1]
Non-admin users would go