Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: [1] 2 3 ... 140
1
Networking / Re: Updated Samba Client
« on: February 12, 2024, 09:38:00 am »
OK - if my  theory is right -  I know what's going wrong, and think I know how to fix it....

2
Applications / Re: Update of ScummVM possible?
« on: February 12, 2024, 09:28:34 am »
It'd be interesting if you see similar patterns with other SDL apps - I'd have to guess this is due to SDL, not the scummvm port - as I recall seeing sluggishness with openttd as well

3
Networking / Re: Updated Samba Client
« on: February 10, 2024, 08:44:14 am »
Maybe making some  progress.... error from  net is now:
Code: [Select]
cli_rpc_pipe_open_noauth: rpc_pipe_bind for pipe samr failed with error NT_STATUS_IO_TIMEOUT
Corresponding  server log is:
Code: [Select]
[2024/02/10 17:13:02.532000, 10, pid=50843, effective(109, 514), real(0, 0), class=smb2] ../../source3/smbd/smb2_ioctl_named_pipe.c:168(smbd_smb2_ioctl_pipe_read_done)
  smbd_smb2_ioctl_pipe_read_done: np_read_recv nread = -1 is_data_outstanding = 0, status = NT_STATUS_CONNECTION_DISCONNECTED
[2024/02/10 17:13:02.536000, 10, pid=50843, effective(109, 514), real(0, 0), class=smb2] ../../source3/smbd/smb2_ioctl.c:314(smbd_smb2_request_ioctl_done)
  smbd_smb2_request_ioctl_done: smbd_smb2_ioctl_recv returned 4280 status NT_STATUS_CONNECTION_DISCONNECTED
[2024/02/10 17:13:02.536000,  3, pid=50843, effective(109, 514), real(0, 0), class=smb2] ../../source3/smbd/smb2_server.c:4033(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_CONNECTION_DISCONNECTED] || at ../../source3/smbd/smb2_ioctl.c:353
[2024/02/10 17:13:02.536000, 10, pid=50843, effective(109, 514), real(0, 0), class=smb2] ../../source3/smbd/smb2_server.c:3918(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: mid [5] idx[1] status[NT_STATUS_CONNECTION_DISCONNECTED] body[8] dyn[yes:1] at ../../source3/smbd/smb2_server.c:4084

4
Networking / Re: Updated Samba Client
« on: February 10, 2024, 02:53:38 am »
Thanks Dave, I'll try review over the weekend. I've been busy on some stuff for OpenHAB this week.

Edit: net.exe  is bailing here for some reason - https://github.com/psmedley/samba-os2/blob/samba-os2-4.19.x/source3/rpc_client/cli_pipe.c#L3278

Interesting. net.exe seems to be working - it may be a server issue.

running:
Code: [Select]
net rpc user -S 192.168.1.200works -  where 192.168.1.200 is the IP of my linux server.  Using the IP of the OS/2 server doesn't work. Using an older client against the new OS/2 server also doesn't  work.  Using an older client against my linux server works.

Next step is to get some server logs of the attempt to run net.exe.

Update, found the below in the server logs:
Code: [Select]
[2024/02/10 13:09:48.555000, 10, pid=35737, effective(109, 514), real(0, 0)] ../../source3/rpc_client/local_np.c:391(start_rpc_host_send)
  start_rpc_host_send: posix_spawn() failed: No such file or directory
[2024/02/10 13:09:48.555000, 10, pid=35737, effective(109, 514), real(0, 0)] ../../source3/rpc_client/local_np.c:739(local_np_connect_started)
  local_np_connect_started: start_rpc_host_recv failed: No such file or directory
[2024/02/10 13:09:48.555000, 10, pid=35737, effective(109, 514), real(0, 0), class=rpc_srv] ../../source3/rpc_server/srv_pipe_hnd.c:91(np_open)
  np_open: local_np_connect failed: No such file or directory
[2024/02/10 13:09:48.555000, 10, pid=35737, effective(109, 514), real(0, 0)] ../../source3/smbd/smb2_pipes.c:141(open_np_file)
  np_open(samr) returned NT_STATUS_OBJECT_NAME_NOT_FOUND

OK couple of problems - it's trying to spawn samba-dcerpcd (which wasn't built), and it was also being attempted to run from the wrong directory.  However, hardcoding the path to one that's valid, we get a new error:
Code: [Select]
[2024/02/10 14:24:03.708000, 10, pid=37058, effective(109, 514), real(0, 0)] ../../source3/rpc_client/local_np.c:179(np_sock_connect_connected)
  np_sock_connect_connected: async_connect_recv returned Can't assign requested address
[2024/02/10 14:24:03.708000, 10, pid=37058, effective(109, 514), real(0, 0)] ../../source3/rpc_client/local_np.c:703(local_np_connect_connected)
  local_np_connect_connected: np_sock_connect failed: Can't assign requested address

5
Networking / Re: Updated Samba Client
« on: February 09, 2024, 07:27:04 am »
Thanks Dave, I'll try review over the weekend. I've been busy on some stuff for OpenHAB this week.

Edit: net.exe  is bailing here for some reason - https://github.com/psmedley/samba-os2/blob/samba-os2-4.19.x/source3/rpc_client/cli_pipe.c#L3278

6
Networking / Re: Updated Samba Client
« on: February 05, 2024, 08:21:41 am »
Confirming 'net rpc user' lack of output seems to be a bug. On my linux box running Samba 4.18 it shows a list of users. If I run 'net rpc user -d 10' it shows me:
Code: [Select]
tconx ok
     NetQueryDisplayInformation: struct NetQueryDisplayInformation
        out: struct NetQueryDisplayInformation
            entries_read             : *
                entries_read             : 0x00000000 (0)
            result                   : UNKNOWN_ENUM_VALUE (2152)
return code = 2152
Freeing parametrics:

I assume this is the same for you?

Edit: the output of 'net rpc user -d 10' from a working (4.15?) and non-working net.exe  might be interesting.

I'll have to work out what's going on with smbtree.... Is there anyway to determine how smbtree is being called? ie what command line parameters are used.

7
Networking / Re: Updated Samba Client
« on: February 04, 2024, 03:24:06 am »
Client 20240127 seems to work fine...

...re-tried here and still getting a TRAP-D.
Unfortunately I have no real  clue why this is happening.

8
Networking / Re: Updated Samba Client
« on: February 03, 2024, 10:09:34 pm »
Thanks - I'll revert the last commit

9
Networking / Re: Updated Samba Client
« on: February 03, 2024, 09:48:48 pm »
Just tried again with the 20240131 client version you list (also checked md5sum), and when I drag and drop from a local drive to the shared drive, the copied file has a truncated 8.3 style name on the share - does it every time. Hadn't tried before, but when doing it from a command line it works correctly.  Strange it doesn't happen for you...   
I used WPS Move command  -  drag/drop is too hard in Virtualbox.  For interest, can you try with ndpsmb-20240127.zip ? the only difference is the return code of the check for A.+,;=[].B
ie https://github.com/psmedley/ndpsmb/commit/0fb2bbc232ea9d5d0e360fc24fb265462e55d956

10
Networking / Re: Updated Samba Client
« on: February 03, 2024, 09:13:20 pm »
Hey Paul,

 Thanks for that update - WINBINDD is now fine again and the lock files are deleted when the server is stopped just like before.

 One weird thing I just noticed - when I copy a file to the server (from an OS/2 client - both 4.19) the file name is truncated to 8.3 format. Do you see that? I tried both EA's on and off, but still the same. I know this didn't used to happen, but not sure when it crept in (first noticed in the 20240202 drop).

EDIT: I backlevelled the ndpsmb.dll on the client to the 20240110 version, and now files are copied with the full name. So it's not the server, it's the 20240131 client plugin causing this.

  Like Neil, I also don't see shares with the ArcaMapper browser (AN 5.1). Is there something that can be added to smb.conf to allow displaying shares? SMBTREE works fine (once the password is added).

 One question - the 4.11 version of smbcl411 came with some binaries of things like net.exe and smbtree.exe etc. that were considerably smaller than the ones that come with the server. Is it OK to replace the old ones on the client with the new ones from the server package?

I'll  try take these in order:
1) truncation of files names - I'm not seeing this with:
31/01/24  17:50          50,526    124  ndpsmb.dll
md5sum: fbdf044abee62c4fa6020f04a041695b *ndpsmb.dll
Tested against linux and OS/2  servers - and copying from command line and via WPS.

2) the older client had net.exe and others built using smbcl4xx.dll  (hence they were smaller) - there's no harm  dropping in the larger ones

3) I need to do some testing with arcamapper against OS/2 and unix hosts. My test machines are still AOS 5.0 though, will need to spin up  a 5.1 VM.

11
Networking / Re: Updated Samba Client
« on: February 03, 2024, 08:57:50 am »
Network browsing is still not working, same as before.

Clarifying - is this with Arcamapper from 5.0 or 5.1? They use quite different approaches...

12
Networking / Re: Updated Samba Client
« on: February 03, 2024, 04:41:10 am »
  I'm having trouble with this one - get a trap in WINBINDD.EXE at start. Logs attached. Went back to previous and all is well...
Interesting. There were no *intentional* changes for winbindd  - I'll have to figure out how to use it. You backlevelled just winbindd.exe?

Edit:  I can reproduce this... investigating now.

Edit2: This is due to my  uncommitted changes to https://github.com/psmedley/samba-os2/blob/samba-os2-4.19.x/lib/messaging/messages_dgm.c (to fix all the leftover files in msg.lock) Will investigate...

Edit3:  https://smedley.id.au/tmp/samba-4.19.4-os2-20240203.zip contains a change that seems to fix startup of winbindd but may cause message files in msg.lock to not be removed -  needs testing...

13
Networking / Re: Updated Samba Client
« on: February 02, 2024, 10:03:03 pm »
I didn't detect any regressions on the server side. The latest build of smbd, samba-4.19.4-os2-20240202.zip, shares files here, just like the previous build. Network browsing is still not working, same as before.

Thanks Neil -  I need to test arcamapper  against my Samba server running on Ubuntu -  to see if the issue is specific to the OS/2 port, or if it's a change in Samba Server behaviour.

14
Networking / Re: Updated Samba Client
« on: February 02, 2024, 09:21:56 am »
I rebuilt Samba 4.19.4 to ensure the latest fixes to smbd are also reflected in any other executables that share common libraries.

Latest Server is https://smedley.id.au/tmp/samba-4.19.4-os2-20240202.zip
Latest Netdrive Plugin: https://smedley.id.au/tmp/ndpsmb-20240131.zip
Latest smbcl419.dll: https://smedley.id.au/tmp/smbcl419-4.19.4-20240202.zip

I also updated the 1st post  to include these links to make them easier to find.

15
Paul, here is Uniaud testlog, I hope that is what you are looking for.

Additional information: I tried to switch the devices mit the unimix command and the parameters on, each line said it had success, but in fact it does not switch the devices on. The remain silent.

Ok some quick analysis:
Adapter 0 (which is the default) is routing audit via HDMI  -  which is currently not supported.
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 3.01.01
Detected 2 audio adapter(s)
Error: invalid number of PCM instances for adapter 1
Card info for adapter 0:
  num: 0
  id: Generic
  driver: HDA-Intel
  name: HD-Audio Generic
  longname: HD-Audio Generic at 0x905c8000 irq 39
  mixer: ATI R6xx HDMI
  componenets: HDA:1002aa01,00aa0100,00100800

It would be interesting to see  'unimix -card' output with  the /a:1 parameter to uniaud32.sys - I know it states 'Error: invalid number of PCM instances for adapter 1' but that may be fixable.

Pages: [1] 2 3 ... 140