Re: [-stable UPDATE] samba-4.19.6

2024-04-22 Thread Ian McWilliam



> On 23 Apr 2024, at 8:53 am, J Doe  wrote:
> 
> On 2024-04-15 01:28, Ian McWilliam wrote:
> 
>> vfs objects = acl_tdb
>> 
>> is the issue. Not enabling the acl_tbd vfs object allow files and folders to 
>> be deleted again. I suspect this has been broken on OpenBSD for some time as 
>> I have it disabled on all my other samba instances where it was once enabled.
>> 
>> Should we add a note to both state and current readme saying the vfs objects 
>> are essentially broken on OpenBSD?
>> 
>> 
>> Ian McWilliam
> 
> Hi Ian,
> 
> Does this apply to *all* VFS objects with Samba 4.19.6 ?
> 
> I have a server configured with several VFS objects to provide a share
> for some Apple iOS/macOS clients.  In the config file I have:
> 
>/etc/samba/smb.conf
>. . .
>vfs objects = catia fruit streams_xattr xattr_tdb
> 
> ...after this I configure some of the VFS objects (ie: fruit: etc.).
> 
> I had *thought* this was being honoured by Samba as I did not seeing any
> error output regarding the VFS objects ... but has Samba been silently
> ignoring them ?
> 
> Thanks,
> 
> - J


Hi,

On Mac

kristamari-w1:~/Desktop>touch test.txt

kristamari-w1:~/Desktop>xattr -w com.test.org hello test.txt 

kristamari-w1:~/Desktop>ls -al@ test.txt
-rw-r--r--@ 1 ianm  staff  0 23 Apr 10:33 test.txt
com.apple.macl  72 
com.test.org5 

kristamari-w1:~/Desktop>xattr -l test.txt 
com.apple.macl: 
com.test.org: hello

vfs objects =

Mount samba share
Copy file to share

kristamari-w1:~/Desktop>ls -al@ /Volumes/ianm/test.txt
-rwx--  1 ianm  staff  0 23 Apr 10:33 /Volumes/ianm/test.txt

vfs objects = xattr_tdb acl_xattr
restart samba
remount volume

Copy file from mac to share

kristamari-w1:~/Desktop>ls -al@ /Volumes/ianm/test.txt
-rwx--@ 1 ianm  staff  0 23 Apr 10:33 /Volumes/ianm/test.txt
com.apple.macl  72 
com.test.org5 

kristamari-w1:~/Desktop>xattr -l /Volumes/ianm/test.txt
com.apple.macl: 
com.test.org: hello


So it appears that xattr_tdb is storing extended attributes.



Ian McWilliam



Re: [-stable UPDATE] samba-4.19.6

2024-04-22 Thread J Doe

On 2024-04-15 01:28, Ian McWilliam wrote:


vfs objects = acl_tdb

is the issue. Not enabling the acl_tbd vfs object allow files and folders to be 
deleted again. I suspect this has been broken on OpenBSD for some time as I 
have it disabled on all my other samba instances where it was once enabled.

Should we add a note to both state and current readme saying the vfs objects 
are essentially broken on OpenBSD?


Ian McWilliam


Hi Ian,

Does this apply to *all* VFS objects with Samba 4.19.6 ?

I have a server configured with several VFS objects to provide a share
for some Apple iOS/macOS clients.  In the config file I have:

/etc/samba/smb.conf
. . .
vfs objects = catia fruit streams_xattr xattr_tdb

...after this I configure some of the VFS objects (ie: fruit: etc.).

I had *thought* this was being honoured by Samba as I did not seeing any
error output regarding the VFS objects ... but has Samba been silently
ignoring them ?

Thanks,

- J



Re: [-stable UPDATE] samba-4.19.6

2024-04-14 Thread Ian McWilliam
vfs objects = acl_tdb

is the issue. Not enabling the acl_tbd vfs object allow files and folders to be 
deleted again. I suspect this has been broken on OpenBSD for some time as I 
have it disabled on all my other samba instances where it was once enabled.

Should we add a note to both state and current readme saying the vfs objects 
are essentially broken on OpenBSD?


Ian McWilliam


> On 10 Apr 2024, at 8:23 pm, Ian McWilliam  wrote:
> 
> Samba bug report: https://bugzilla.samba.org/show_bug.cgi?id=15626
> 
> 
> Ian McWilliam
> 
> 
>> On 10 Apr 2024, at 12:32 pm, Ian McWilliam  wrote:
>> 
>> Hi,
>> 
>> I see issues with macOS not being able to delete files and folders. Copying 
>> populated folders to the share means that the files and folders copied 
>> cannot be deleted. This behaviour is not present in 4.19.5 or the 4.20 
>> series.
>> 
>> I need to file a bug report with the samba bug tracker.
>> 
>> 
>> Ian McWilliam
>> 
>>> On 9 Apr 2024, at 2:54 am, Bjorn Ketelaars  wrote:
>>> 
>>> Here is an update to the latest release of the Samba 4.19 release series
>>> for -stable. Release notes:
>>> https://www.samba.org/samba/history/samba-4.19.6.html
>>> 
>>> Note that -current is on the 4.20 release series.
>>> 
>>> libndr-nbt needs a minor bump because of an addition of a symbol.
>>> Lightly run tested on OpenBSD-7.5 amd64.
>>> 
>>> Tests/comments/OKs welcome.
>>> 
>>> 
>>> Index: Makefile
>>> ===
>>> RCS file: /cvs/ports/net/samba/Makefile,v
>>> retrieving revision 1.343
>>> diff -u -p -r1.343 Makefile
>>> --- Makefile20 Feb 2024 19:45:20 -  1.343
>>> +++ Makefile8 Apr 2024 16:39:39 -
>>> @@ -1,4 +1,4 @@
>>> -VERSION =  4.19.5
>>> +VERSION =  4.19.6
>>> DISTNAME =  samba-${VERSION}
>>> EPOCH = 0
>>> 
>>> @@ -17,7 +17,7 @@ SHARED_LIBS = dcerpc  1.1 \
>>> ldb 2.3 \
>>> ndr 3.1 \
>>> ndr-krb5pac 1.3 \
>>> -   ndr-nbt 2.0 \
>>> +   ndr-nbt 2.1 \
>>> ndr-standard5.0 \
>>> netapi  3.3 \
>>> samba-credentials   1.4 \
>>> Index: distinfo
>>> ===
>>> RCS file: /cvs/ports/net/samba/distinfo,v
>>> retrieving revision 1.114
>>> diff -u -p -r1.114 distinfo
>>> --- distinfo20 Feb 2024 19:45:20 -  1.114
>>> +++ distinfo8 Apr 2024 16:39:39 -
>>> @@ -1,2 +1,2 @@
>>> -SHA256 (samba-4.19.5.tar.gz) = DiQFtM7CnQRZYh9DQKGnSvdx7Hz/7f9DJQytfx+HYF4=
>>> -SIZE (samba-4.19.5.tar.gz) = 41840159
>>> +SHA256 (samba-4.19.6.tar.gz) = ZTtSCVVU28IjxjuWr1zfnpjD4EhUnF9WFD07M9zhzvE=
>>> +SIZE (samba-4.19.6.tar.gz) = 41847853
>> 
> 



Re: [-stable UPDATE] samba-4.19.6

2024-04-10 Thread Ian McWilliam
Samba bug report: https://bugzilla.samba.org/show_bug.cgi?id=15626


Ian McWilliam


> On 10 Apr 2024, at 12:32 pm, Ian McWilliam  wrote:
> 
> Hi,
> 
> I see issues with macOS not being able to delete files and folders. Copying 
> populated folders to the share means that the files and folders copied cannot 
> be deleted. This behaviour is not present in 4.19.5 or the 4.20 series.
> 
> I need to file a bug report with the samba bug tracker.
> 
> 
> Ian McWilliam
> 
>> On 9 Apr 2024, at 2:54 am, Bjorn Ketelaars  wrote:
>> 
>> Here is an update to the latest release of the Samba 4.19 release series
>> for -stable. Release notes:
>> https://www.samba.org/samba/history/samba-4.19.6.html
>> 
>> Note that -current is on the 4.20 release series.
>> 
>> libndr-nbt needs a minor bump because of an addition of a symbol.
>> Lightly run tested on OpenBSD-7.5 amd64.
>> 
>> Tests/comments/OKs welcome.
>> 
>> 
>> Index: Makefile
>> ===
>> RCS file: /cvs/ports/net/samba/Makefile,v
>> retrieving revision 1.343
>> diff -u -p -r1.343 Makefile
>> --- Makefile 20 Feb 2024 19:45:20 -  1.343
>> +++ Makefile 8 Apr 2024 16:39:39 -
>> @@ -1,4 +1,4 @@
>> -VERSION =   4.19.5
>> +VERSION =   4.19.6
>> DISTNAME =   samba-${VERSION}
>> EPOCH =  0
>> 
>> @@ -17,7 +17,7 @@ SHARED_LIBS =  dcerpc  1.1 \
>>  ldb 2.3 \
>>  ndr 3.1 \
>>  ndr-krb5pac 1.3 \
>> -ndr-nbt 2.0 \
>> +ndr-nbt 2.1 \
>>  ndr-standard5.0 \
>>  netapi  3.3 \
>>  samba-credentials   1.4 \
>> Index: distinfo
>> ===
>> RCS file: /cvs/ports/net/samba/distinfo,v
>> retrieving revision 1.114
>> diff -u -p -r1.114 distinfo
>> --- distinfo 20 Feb 2024 19:45:20 -  1.114
>> +++ distinfo 8 Apr 2024 16:39:39 -
>> @@ -1,2 +1,2 @@
>> -SHA256 (samba-4.19.5.tar.gz) = DiQFtM7CnQRZYh9DQKGnSvdx7Hz/7f9DJQytfx+HYF4=
>> -SIZE (samba-4.19.5.tar.gz) = 41840159
>> +SHA256 (samba-4.19.6.tar.gz) = ZTtSCVVU28IjxjuWr1zfnpjD4EhUnF9WFD07M9zhzvE=
>> +SIZE (samba-4.19.6.tar.gz) = 41847853
> 



Re: [-stable UPDATE] samba-4.19.6

2024-04-09 Thread Ian McWilliam
Hi,

I see issues with macOS not being able to delete files and folders. Copying 
populated folders to the share means that the files and folders copied cannot 
be deleted. This behaviour is not present in 4.19.5 or the 4.20 series.

I need to file a bug report with the samba bug tracker.


Ian McWilliam

> On 9 Apr 2024, at 2:54 am, Bjorn Ketelaars  wrote:
> 
> Here is an update to the latest release of the Samba 4.19 release series
> for -stable. Release notes:
> https://www.samba.org/samba/history/samba-4.19.6.html
> 
> Note that -current is on the 4.20 release series.
> 
> libndr-nbt needs a minor bump because of an addition of a symbol.
> Lightly run tested on OpenBSD-7.5 amd64.
> 
> Tests/comments/OKs welcome.
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/samba/Makefile,v
> retrieving revision 1.343
> diff -u -p -r1.343 Makefile
> --- Makefile  20 Feb 2024 19:45:20 -  1.343
> +++ Makefile  8 Apr 2024 16:39:39 -
> @@ -1,4 +1,4 @@
> -VERSION =4.19.5
> +VERSION =4.19.6
> DISTNAME =samba-${VERSION}
> EPOCH =   0
> 
> @@ -17,7 +17,7 @@ SHARED_LIBS =   dcerpc  1.1 \
>   ldb 2.3 \
>   ndr 3.1 \
>   ndr-krb5pac 1.3 \
> - ndr-nbt 2.0 \
> + ndr-nbt 2.1 \
>   ndr-standard5.0 \
>   netapi  3.3 \
>   samba-credentials   1.4 \
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/samba/distinfo,v
> retrieving revision 1.114
> diff -u -p -r1.114 distinfo
> --- distinfo  20 Feb 2024 19:45:20 -  1.114
> +++ distinfo  8 Apr 2024 16:39:39 -
> @@ -1,2 +1,2 @@
> -SHA256 (samba-4.19.5.tar.gz) = DiQFtM7CnQRZYh9DQKGnSvdx7Hz/7f9DJQytfx+HYF4=
> -SIZE (samba-4.19.5.tar.gz) = 41840159
> +SHA256 (samba-4.19.6.tar.gz) = ZTtSCVVU28IjxjuWr1zfnpjD4EhUnF9WFD07M9zhzvE=
> +SIZE (samba-4.19.6.tar.gz) = 41847853