1
Networking / Samba 4.13.x Update/Status
« on: August 14, 2022, 11:05:06 am »
Hi All,
As some would be aware, Ubuntu 20.04 LTS switched to Samba 4.13.x a while back, mainly due to a particular security fix that couldn't be backported to 4.11.
This was a problem for us, as Samba 4.12+ introduced the use of some API that we don't have (openat, renameat and friends). I initially raised a bww ticket for these (https://github.com/bitwiseworks/libcx/issues/81) but there seems to be no interest in working on this.
Meanwhile, I started working on my own implementation, which seems to be sufficient for now - see https://github.com/psmedley/at-funcs
With these in place, I was still having issues with directory listings, and using the debugger, noticed we're also missing fdopendir - so I implemented that too.
I can now get directory listings and transfer files using SMB1 and Samba 4.13.14
With SMB2, I'm getting:
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED
So there's still work to do to understand why this is happening.
More news when there's something worth sharing
Cheers,
Paul
As some would be aware, Ubuntu 20.04 LTS switched to Samba 4.13.x a while back, mainly due to a particular security fix that couldn't be backported to 4.11.
This was a problem for us, as Samba 4.12+ introduced the use of some API that we don't have (openat, renameat and friends). I initially raised a bww ticket for these (https://github.com/bitwiseworks/libcx/issues/81) but there seems to be no interest in working on this.
Meanwhile, I started working on my own implementation, which seems to be sufficient for now - see https://github.com/psmedley/at-funcs
With these in place, I was still having issues with directory listings, and using the debugger, noticed we're also missing fdopendir - so I implemented that too.
I can now get directory listings and transfer files using SMB1 and Samba 4.13.14
With SMB2, I'm getting:
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED
So there's still work to do to understand why this is happening.
More news when there's something worth sharing
Cheers,
Paul