OS/2, eCS & ArcaOS - Technical > Networking

Updated Samba Client

(1/40) > >>

Paul Smedley:
Hi All,

I mentioned at Warpstock that I was planning on updating the Samba client for AOS/OS/2.  I  got around to making Samba 4.18.9 compile.

An updated Netdrive plugin is available from https://smedley.id.au/tmp/ndpsmb-3.18.1-samba418-20231217.zip

To test  - backup your old ndpsmb.dll first  - then simply replace it  with the on in the zip,  and ensure smbcl418.dll can be found  in the libpath.

Probably also needs an updated gnutls30.dll from https://smedley.id.au/tmp/gnutls30.zip

I still need to go through https://github.com/psmedley/ndpsmb/blob/samba-4.18.x/src/smbwrp.c and synchronise some of  the code against libsmb.

Seems to work ok against a Samba Server running on Ubuntu Server 22.04. YMMV.

Cheers,

Paul

Latest files (at 4th Feb, 2024):
Server https://smedley.id.au/tmp/samba-4.19.4-os2-20240203.zip

Latest Netdrive Plugin: https://smedley.id.au/tmp/ndpsmb-20240127.zip
Latest smbcl419.dll: https://smedley.id.au/tmp/smbcl419-4.19.4-20240202.zip

Latest gnutls30.dll build: https://smedley.id.au//tmp/gnutls30.zip

Dariusz Piatkowski:
Hi Paul,

Deployed in my config of: remote Samba shares are on the NAS box and Win7Pro machine.

NDCTL appears to successfully start the manager, but no shares actually show.

I find the following in the ndctl.log:


--- Code: ---11:39:04.250:
NetDrive for OS/2(R) Control Program version 3.1.6.941 Nov 17 2019

11:39:04.250: 2023-12-17

11:39:04.250: NDFSDIR environment variable found: G:\util\NDFS
11:39:04.250: NetDrive working directory is G:\util\NDFS
11:39:04.250: File system driver name is NDFS32.
11:39:04.260: NetDrive configuration file 'G:\util\NDFS\ndctl.cfg' has been processed.
11:39:04.260: Registered Version

11:39:04.260: Registered to Dariusz Piatkowski

11:39:04.260: [   local] internal plugin has been initialized.
11:39:04.260: [  ndpftp] (level 2) plugin has been loaded.
11:39:04.260: [  ndpiso] (level 2) plugin has been loaded.
11:39:04.270: [  ndpdav] (level 2) plugin has been loaded.
11:39:04.280: NDF0033: The system can't load the module: JANSSON4
11:39:04.280: NDF0029: [  ndpsmb] plugin has not been loaded.
11:39:04.280: NDF0007: The system error is SYS0002
11:39:04.290: [ ndpnfs3] (level 3) plugin has been loaded.
11:39:04.290: Initialization completed. The control program is running.
11:39:04.420: NDF0045: Resource SMBFS (W) specified in file volumes.cfg, line 4 was not mounted
11:39:04.420: NDF0007: The system error is SYS0050
11:39:04.420: NDF0045: Resource SMBFS (W) specified in file volumes.cfg, line 6 was not mounted
11:39:04.420: NDF0007: The system error is SYS0050
11:39:04.420: NDF0045: Resource SMBFS (W) specified in file volumes.cfg, line 7 was not mounted
11:39:04.420: NDF0007: The system error is SYS0050
11:39:04.420: NDF0045: Resource SMBFS (W) specified in file volumes.cfg, line 10 was not mounted
11:39:04.420: NDF0007: The system error is SYS0050
11:40:48.410: NetDrive Control Program has been interrupted by File System Driver.

--- End code ---

...but seeing this in the above LOG:


--- Quote ---NDF0033: The system can't load the module: JANSSON4

--- End quote ---

makes me think another module besides smbcl418 & gnutls30 is needed?

I didn't get any hits with "yum provides */jansson4"...

Thanks as always!

David McKenna:
 Paul,

  Thanks... seems to work well with my OS/2 SAMBA server (4.11) in limited testing. Any chance for a new server too?

@Dariusz - FYI, there is a Jansson package at netlabs-exp. It seems to work OK here.

Regards,

Dariusz Piatkowski:
Hey Dave!


--- Quote from: David McKenna on December 17, 2023, 08:21:32 pm ---@Dariusz - FYI, there is a Jansson package at netlabs-exp. It seems to work OK here.

--- End quote ---

Right on, thank you. My yum search missed it b/c I left out the ".dll".

So feedback on what I'm seeing, which puts me in a really weird "no-go" situation: NDCTL comes up fine, it maps the shares successfully, but immediately afterwards as I attempted to actually access the shares WPS completely locked-up.

Hmm...OK, I initially thought: maybe some kind of a conflict between the new ndpsmb.dll and the old one (although I shut-down the service in NDCTL before tossing the new DLL into place, and it would appear it was fine at that time). So off I went to re-boot my machine...

...and upon coming back was greeted by a never seen before WPS/Desktop msg: "...system does not have enough memory to show/load Desktop..."!!! ugh???? Yeah, the Desktop never populated, the WarpCenter came up, all my utils fired up, but not the Desktop, just the BLUE screen.

OK, so mind you I am running a crazy large JFS cache, that being 1.2G, but it's awfully nice for my purposes, and I regularly have this machine up for 20-24 days (longest ever was 45 actually) and what usually brings it down is the low shared memory.

But...testing it is, so off I went downsizing the cache, a few attempts later having gotten to 0.5G and still showing the very same Desktop error message I had decided to STOP.

Sooo...whatever is causing the issue is a brick-wall for me. Happy to troubleshoot Paul, tell me what level of debugging you might like...

Paul Smedley:
Only thought is what's VIRTUALADDRESSLIMIT set to? Not that Samba should be using lots of RAM, but still of interest...

Navigation

[0] Message Index

[#] Next page

Go to full version