OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Networking => Topic started by: Paul Smedley 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
-
Hey All,
I think I found the problem with SMB2+ connections. Samba 4.13 changed a writev() call to sendmsg() - seems the sendmsg() call fails for us.
Rebuilding now, and will do some more local testing, but I might have something to test shortly :)
Cheers,
Paul
-
Hey All,
I think I found the problem with SMB2+ connections. Samba 4.13 changed a writev() call to sendmsg() - seems the sendmsg() call fails for us.
Rebuilding now, and will do some more local testing, but I might have something to test shortly :)
Anyone interested in testing an updated Samba *server* - please let me know.
-
Hey All,
Anyone interested in testing an updated Samba *server* - please let me know.
Hi Paul,
I am running SAMBA server 3.6.25 for some time by now. I would really like to have a 4.x basd SAMBA server.
Greetings from Potsdam, Germany
Mike
-
Hi Mike,
Hey All,
Anyone interested in testing an updated Samba *server* - please let me know.
I am running SAMBA server 3.6.25 for some time by now. I would really like to have a 4.x basd SAMBA server.
To be clear - this is still very much beta level code, and it's possible data loss could occur. There are also currently no GUI tools - and there may be some manually editing of smb.conf required to get this running.
If none of this has scared you away - please send me an email, and I'll get you added to a testers mailing list.
Cheers,
Paul
-
Hi Mike,
To be clear - this is still very much beta level code, and it's possible data loss could occur. There are also currently no GUI tools - and there may be some manually editing of smb.conf required to get this running.
If none of this has scared you away - please send me an email, and I'll get you added to a testers mailing list.
Cheers,
Paul
Dear Paul,
I have sent you a separate e-mail. Hope the address I have is still valid.
I am not scared about using beta software or manually editing the smb.conf :).
In addition I will not replace a production system without thorough and extensively testing of the new software in a secure surrounding.
Thanks,
Mike
-
Hi Mike,
Hi Mike,
To be clear - this is still very much beta level code, and it's possible data loss could occur. There are also currently no GUI tools - and there may be some manually editing of smb.conf required to get this running.
If none of this has scared you away - please send me an email, and I'll get you added to a testers mailing list.
Cheers,
Paul
Dear Paul,
I have sent you a separate e-mail. Hope the address I have is still valid.
I am not scared about using beta software or manually editing the smb.conf :).
In addition I will not replace a production system without thorough and extensively testing of the new software in a secure surrounding.
Thanks - look out for an email from me this evening AU time :)
Cheers,
Paul.
-
Hi Mike,
Thanks - look out for an email from me this evening AU time :)
Cheers,
Paul.
Hi Paul,
smbd-4.15.9-20220828 well received. Both files placed in my SAMBA test and first impression is promising.
Kindly see attached picture.
(http://SAMBA4.15.9_01.jpg)
No changes for my smb.conf needed :D.
Access from W10_x64 is working (read & write of files).
I will give it more testing the coming days and keep you updated.
Greetings,
Mike
-
2022-08-31 Short update:
Copying complete folders to and from my OS/2 station (JFS formatted drives) using the new test SAMBA version from a Windows 10 Pro (x64) computer is working fine. :)
Copying files to and from an encrypted drive (Netdrive with ndcrypt) via SAMBA 4.15.9 is working. :)
Copying complete folders from an encrypted drive (Netdrive with ndcrypt) via SAMBA 4.15.9 is working. :)
But copying folders to the encrypted drives fails as well creating a new folder at the encrypted drive from W10. :(
Greetings,
Mike
-
Hey Miks,
2022-08-31 Short update:
Copying complete folders to and from my OS/2 station (JFS formatted drives) using the new test SAMBA version from a Windows 10 Pro (x64) computer is working fine. :)
Copying files to and from an encrypted drive (Netdrive with ndcrypt) via SAMBA 4.15.9 is working. :)
Copying complete folders from an encrypted drive (Netdrive with ndcrypt) via SAMBA 4.15.9 is working. :)
But copying folders to the encrypted drives fails as well creating a new folder at the encrypted drive from W10. :(
Can you explain more about "But copying folders to the encrypted drives fails as well creating a new folder at the encrypted drive from W10."
If possible, can you get smbd logs from this with debug level 8?
smbd -d 8
log will end up in x:\mptn\etc\samba\log\log.smbd - it will be large so feel free to zip/email.
Cheers,
Paul.