OS/2, eCS & ArcaOS - Technical > Networking

Updated Samba Client

<< < (6/46) > >>

Paul Smedley:
Please try with https://smedley.id.au/tmp/smbd-4.18.9-20240101.zip - it won't fix it, but should log  the output of parent before the assertion fails.

I'll also try and reproduce locally.

David McKenna:
Happy New Year Paul!

 I tried this smbd.exe, and did the exact same routine as the last logs (start server, then attach client to share, then try browsing with WPS (shows 0 files or directories), then dir on root of share drive from command line (says pipe has ended), then stopped server and collected logs. No exceptq file was created this time, and no trap shows in the logs - attached.

Regards,

Paul Smedley:
OK I can't explain the lack of TRP files, but you're still (not unexpectedly) getting:

--- Code: ---[2023/12/31 22:16:47.037000,  0] ../../source3/lib/util_path.c:322(subdir_of)
  PANIC: assert failed at ../../source3/lib/util_path.c(322): parent[2] == '/'

--- End code ---

But without my logging. Can you run with 'smbd -d 8' and see if that adds the necessary info?

Paul Smedley:

--- Quote from: David McKenna on January 01, 2024, 04:33:01 am --- I tried this smbd.exe, and did the exact same routine as the last logs (start server, then attach client to share, then try browsing with WPS (shows 0 files or directories), then dir on root of share drive from command line (says pipe has ended), then stopped server and collected logs. No exceptq file was created this time, and no trap shows in the logs - attached.

--- End quote ---

I  can reproduce when attaching to a share that is a whole drive.

Working Share - u:/website
Non-working Share -  c:/

Edit: So the trailing / is getting stripped somewhere, so parent ended up just being c: -  so checking the a / to confirm a drive failed:

Updated code to:

--- Code: ---#ifndef __OS2__
SMB_ASSERT(parent[0] == '/');
SMB_ASSERT(subdir[0] == '/');
#else
SMB_ASSERT(parent[1] == ':');
SMB_ASSERT(subdir[1] == ':');
#endif

--- End code ---

And a share of a whole drive works now. Updated smbd at https://smedley.id.au/tmp/smbd-4.18.9-20240101b.zip

David McKenna:
Hey Paul!

  Now it works... thanks! I'll test for awhile and see if I get any of the issues I got with the last 2 versions - but a quick test shows I can browse with the WPS and open files (JPG and MP3) and move stuff around...

Regards,

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version