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
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 04, 2024, 09:31:02 am »
A copy of my buildenv from April  last year is at https://drive.google.com/file/d/1VPR-z1EPTzrkYwrsvrRw3UOSQ_v7yZV_/view?usp=drive_link - nothing significant would have changed since then...

2
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 03, 2024, 10:57:10 am »
this was my first intention since my old OS/2 machine was already perfectly set up for the job (but currently I can't use it). Sadly, I seem unable to access Paul's build environment anymore - every link I tried was broken.

I'd have preferred his way simply because I like to keep OS volume and application on separated units - albeit logically, or even better on separate drives, in order to keep the OS volume clean and hosting only the system (as much as possible).
Should you have some link for Paul's B.E. may you put it here? TIA.

Did you think to ask me?  I don't recommend it anymore, it's just too hard to maintain,  but I can generate a fresh zip from that vbox machine as required.

3
Networking / Re: Updated Samba Client
« on: March 31, 2024, 11:00:15 am »
Sorry all,  I've  been busy.  I have some ideas from Steven re: the net rpc  user issue,  and I did manage to  merge the 4.20.0  code this evening.  Will see if I can build it tomorrow.

4
Programming / Re: Xpdf v. 4.01
« on: March 28, 2024, 08:11:24 am »
Hey Dave,

At some point could you get a devel package of Qt6 together?

Not sure what's missing here - the current zips include all headers/libs. If you mean an RPM -  I have no time/inclination to put one together - I have little enough free time as it is.

I thought that some of the libs were missing. Perhaps it is plugins where the import libs are missing.

It *should* all be there - if you find an example, lemme know and I can investigate.

5
Programming / Re: Xpdf v. 4.01
« on: March 28, 2024, 05:23:05 am »
Hey Dave,

At some point could you get a devel package of Qt6 together?

Not sure what's missing here - the current zips include all headers/libs. If you mean an RPM -  I have no time/inclination to put one together - I have little enough free time as it is.

6
Programming / Re: Xpdf v. 4.01
« on: March 27, 2024, 09:44:24 pm »
Built xdpf.exe by disabling printing like Windows does. Unluckily it crashes with a sigsegv in qt5core.dll

Can it build against qt6?

7
Networking / Re: Updated Samba Client
« on: February 25, 2024, 08:54:15 pm »
This is a side effect of me trying to fix 'net RPC user'

8
Networking / Re: Updated Samba Client
« on: February 25, 2024, 08:53:49 am »
4.19.5 binaries
smbcl419.dll  (for use with previous 4.19.x ndpsmb.dll): https://smedley.id.au/tmp/smbcl419-4.19.5-20240225.zip
All executables including server: https://smedley.id.au/tmp/samba-4.19.5-os2-20240225.zip

This doesn't fix the bug with 'net rpc user', things now die around:
Code: [Select]
file_new: new file fnum 1809131870
file_name_hash: C:/var/temp/samr hash 0xf50f54d6
local_np_connect_send: socket_dir = C:\MPTN\ETC/samba/ncalrpc, state->socketpath = \socket\samr, lower_case_pipename = samr
np_sock_connect_send: sockpath = \socket\samr
push_sec_ctx(109, 514) : sec_ctx_stack_ndx = 1
push_conn_ctx(2061744258) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
Security token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pop_sec_ctx (109, 514) - sec_ctx_stack_ndx = 0
np_sock_connect_connected: async_connect_recv returned Can't assign requested address
local_np_connect_connected: np_sock_connect failed: Can't assign requested address

9
Networking / Re: Updated Samba Client
« on: February 25, 2024, 05:40:19 am »
Apologies for the delay.  We were away last weekend (16th - 18th) and I was side tracked last week.

I still think I'm right,  but I haven't found the smoking gun yet.  I did manage to patch the source to 4.19.5 last week - will post binaries at some point.

10
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....

11
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

12
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

13
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

14
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

15
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.

Pages: [1] 2 3 ... 140