OS/2, eCS & ArcaOS - Technical > Networking

Updated Samba Client

<< < (5/46) > >>

David McKenna:
 Paul,

  OK, thanks for that info. I still haven't been able to get 4.18 server to work, even with a pared down smb.conf. Always 0 files and directories with the WPS, and 'pipe has been ended' on command line, but 4.11 server works fine.

 How exactly do you start SAMBA? I have been using the Netlabs utilities to start and monitor the server and up to now they have worked well. Maybe they are interfering with 4.18 somehow?

 Also, what Heimdal needs to be installed? I have 'Heimdal' and 'Heimdal-libs' installed (7.7.0), but I notice there are other Heimdal packages available (but not installed). What do you have installed?

Regards,

Paul Smedley:
Weird  - so it *never* serves files at all?  I was thinking that it served files for a period then stopped.

I just start the daemon with an object that starts smbd.exe

Heimdal 7.7.0 libs as included with AOS should be more than enough.

What about trying to connect from another OS? My initial testing was with smbclient from Ubuntu....

David McKenna:
Paul,

 No, don't get anything to show up, although the share is mounted OK. I have now tried Linux Mint, Windows 7 and Windows 11 and they won't work either (Linux gave a 'software error', both Windows appeared to connect, but are blank). Tried starting just smbd.exe object but no help

 I'll attach a log and example exceptq file. The log shows many traps in smbd, but they are all almost exactly like the one uploaded. I started the server, then attached from my ArcaOS client, then tried to browse with the WPS, then did a 'dir' on the command line in the share root, then shut down the server and collected the log. Maybe there is a clue in there somewhere...

Regards,

Paul Smedley:
Thanks Dave - I'll have a look at the log for clues  today. I'm also rebuilding Samba with debug symbols,  which will hopefully  produce a more usable TRP file.

Edit:  OK I see the SIGABRT - but it's not making sense  to me.

--- Code: ---[2023/12/31 09:42:23.143000,  0] ../../source3/lib/util_path.c:321(subdir_of)
  PANIC: assert failed at ../../source3/lib/util_path.c(321): parent[2] == '/'
[2023/12/31 09:42:23.143000,  0] ../../lib/util/fault.c:175(smb_panic_log)
  ===============================================================
[2023/12/31 09:42:23.143000,  0] ../../lib/util/fault.c:176(smb_panic_log)
  INTERNAL ERROR: assert failed: parent[2] == '/' in pid 514 (4.18.9)

--- End code ---

I may need to log  the value of parent to see why the assert is failing.

As a WAG,  can you change "   path = C:\MPTN\ETC\samba\spool\EPSONXP-"  to "path = C:/MPTN/ETC/samba/spool/EPSONXP-" ?

Edit2: this probably won't help  -  I also have a couple of examples of the failed assertion in parent[2] -  I've added some logging to help  understand what's going on.

David McKenna:
 Hey Paul,

 Yeah, I already tried changing to C:/MPTN/ETC/samba/spool/EPSONXP- but it didn't help... left it like that though, just in case.

Regards,

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version