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 - David McKenna

Pages: 1 2 3 [4] 5 6 ... 51
46
Networking / Re: Samba Users and Groups
« on: January 19, 2024, 06:07:44 pm »
Neil,

  That's what I've been doing for testing - stop the server, then just unzip over the old files, then restart the server. Keep a zipped backup of the old so you can easily unzip that over the new one if needed.

Regards,

47
Networking / Re: Updated Samba Client
« on: January 19, 2024, 06:04:30 pm »
Paul,
Interesting:
Code: [Select]
[2024/01/19 18:12:12.072000,  3] ../../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_NO_EAS_ON_FILE] || at ../../source3/smbd/smb2_getinfo.c:159

 I'm not seeing that error on either the client (4.19) or server (neither 4.11 nor 4.19). Using log level = 8 on both. All I see on the client side (both 4.11 and 4.19 server) is many dozens of:

[2024/01/19 11:32:59.648000,  3] ../../source3/libsmb/clierror.c:91(cli_status_to_errno)
  cli_status_to_errno: 0xc0000034 -> 2

 On the server side, the logged errors I see are:

[2024/01/19 10:01:17.493000,  2] ../../source3/nmbd/nmbd_winsserver.c:634(initialise_wins)
  initialise_wins: Can't open wins database file wins.dat. Error was No such file or directory**

[2024/01/19 10:01:40.006000,  5] ../../source3/nmbd/nmbd_namequery.c:77(query_name_response)
  query_name_response: On subnet UNICAST_SUBNET - negative response from IP 192.168.21.2 for name IBMPEERS<1b>. Error code was 3.**

[2024/01/19 10:19:00.702000,  0] ../../lib/util/pidfile.c:240(pidfile_unlink)
  Failed to delete pidfile C:\MPTN\ETC/samba/pid/nmbd.pid. Error was No such file or directory.**

[2024/01/19 10:18:30.430000,  3] ../../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_NO_MEMORY] || at ../../source3/smbd/smb2_create.c:360

[2024/01/19 10:18:30.622000,  5] ../../source3/smbd/dosmode.c:418(fget_ea_dos_attribute)
  fget_ea_dos_attribute: Cannot get attribute from EA on file .: Error = Attribute not found

[2024/01/19 10:18:32.229000,  3] ../../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_OBJECT_PATH_NOT_FOUND] || at ../../source3/smbd/smb2_create.c:360


 There were many multiples of each of the above - only one shown.

** Indicate errors seen with both the 4.11 and 4.19 server. The last three are only seen with the 4.19 server.

 One thing I have noticed - I have 'max log size = 2048' in the server smb.conf, but it seems to be ignored because I get logs over 10MB all the time, especially with log level = 8. Maybe a bug?

Thinking out loud:

 wins.dat does exist in the C:\MPTN\ETC\samba\lock directory - maybe the server is looking in the wrong place?

 nmbd.pid is deleted when the server is stopped - maybe that error comes after it has been deleted?

 The 'attribute not found' might be because I have EA's turned off with SET LIBC_UNIX_EAS= on the shared drive?

 The name of the computer at 192.168.21.2 is MAINMACHINE. IBMPEERS is the workgroup. Maybe some kind of confusion?


Regards,

48
Networking / Re: Updated Samba Client
« on: January 19, 2024, 12:12:47 pm »
Paul,

  How do I view EA's? Is that something that can be done directly, or are you looking in a log file?

  I see stuff like this in an smbd log on the server:

os2getxattr : (Software/Windows/DRIVERS:0) user.DOSATTRIB 32
os2getxattr : (Software/Windows/DRIVERS:0) user.DOSATTRIB 32
os2getxattr : (Software/Windows/DRIVERS:0) user.DOSATTRIB 32
os2getxattr : (SOFTWARE:0) user.DOSATTRIB 32
os2getxattr : (SOFTWARE:0) user.DOSATTRIB 32
os2getxattr : (SOFTWARE:0) user.DOSATTRIB 32
os2getxattr : (SOFTWARE/WINDOWS:0) user.DOSATTRIB 32
os2getxattr : (SOFTWARE/WINDOWS:0) user.DOSATTRIB 32
os2getxattr : (SOFTWARE/WINDOWS:0) user.DOSATTRIB 32
os2getxattr : (SOFTWARE/WINDOWS/DRIVERS:0) user.DOSATTRIB 32
os2getxattr : (SOFTWARE/WINDOWS/DRIVERS:0) user.DOSATTRIB 32
os2getxattr : (SOFTWARE/WINDOWS/DRIVERS:0) user.DOSATTRIB 32

 This is with EA's disabled on both client and server, and using Rich's SET LIBC_UNIX_EAS=C,!D to turn off EA's on the shared drive.

Regards,

49
Networking / Re: Updated Samba Client
« on: January 15, 2024, 11:33:15 pm »
 Arggh! Just got the 'out of memory' error again! Rats - thought it was defeated, but apparently not. SMBCLIENT still works without timing out though, so apparently that was unrelated.

Regards,

50
Networking / Re: Updated Samba Client
« on: January 15, 2024, 11:19:25 pm »
Rich,

 Thanks for that! I'll try using it on my shared drive. Hopefully SAMBA won't object...but we'll see.

Regards,

51
Networking / Re: Updated Samba Client
« on: January 15, 2024, 10:19:12 pm »
Hey Dave,

 Do you know if there is a way to turn that off?

Regards,

52
Networking / Re: Updated Samba Client
« on: January 15, 2024, 10:06:44 pm »
 OK, I replaced the old rotating 2TB drive with a brand new 2TB PCIe 4x4 NVMe drive (plugged into a PCIe 4 slot). Went to my backup drive and ran 'eaclean -c2 -s *' on it. It removed a good many EA's. Copied the cleaned data on the backup drive onto the new drive via ndpsmb 4.19 to the new drive on the SAMBA 4.11 server. EA support was off on the client, server was default (which I believe is to support EA's). Used 'xcopy D: N: /H /O /T /S /E /R /V' and everything got copied back over via SAMBA in about 30 minutes.

 Then on the server I ran 'eaclean -c2 -s *' on the copied data on the shared drive and it removed A LOT of EA's! I didn't think EA's would be copied (because support was off on the client), and even so, I had already cleaned all the files before copying. Maybe I misunderstand what 'EA support' does. Can anyone explain?

 Anyway, the real punch line is that now it works with the 4.19 server. SMBCLIENT does not time out, it works. I don't know if it is because the new drive is so much faster, or because 'broken EA's' are gone. Still early, but so far I have not got an out of memory condition, and it is very much faster to display files in the WPS.

 Has EA support been changed since 4.11? Maybe something there is slowing things down - like checking EA's - in 4.19 it didn't do in 4.11?

Regards,

53
Networking / Re: Updated Samba Client
« on: January 14, 2024, 11:30:49 am »
Paul,

 Do you want a log or an actual 'broken EA' file?

Regards,

54
Networking / Re: Updated Samba Client
« on: January 14, 2024, 11:29:40 am »
Dave,

 Tried eaclean on the shared drive, but it crashes:

[D:\]eaclean -c2 -s *
SYS1808:
The process has stopped.  The software diagnostic
code (exception code) is  0005.

 It works on my desktop though, so this is not a good sign. The shared drive is an old-fashioned rotating drive. I have a 2TB NVMe drive on my desk I'm going to replace the old drive with. Gotta copy all the data first. Of course, this doesn't explain why 4.11 works and 4.19 has trouble...

Regards,

55
Networking / Re: Updated Samba Client
« on: January 14, 2024, 01:16:13 am »
Paul,

 I'm seeing some 'Broken Extended Attributes detected for:' messages in some of the server logs for some directories and files. Is that a problem? Is there a way to repair EA's (if they really are broken)?

Regards,

56
Networking / Re: Updated Samba Client
« on: January 13, 2024, 02:21:16 pm »
Hi Paul,

  I uploaded the logs you requested to your Mantis. Can also confirm the \lock\msg.lock directory is cleared when the server is shutdown - thanks for that!

  One thing I think I already mentioned is that I can use the 4.19 server from Windows without losing the connection (so far). I am going to set up a Virtual Box on my Windows machine, install ArcaOS to it and see how it works from there (since that is how you are doing it). Can you try connecting from a bare metal OS/2 install to your server? Wondering if the forwarding by Windows (or Linux as the case may be) is somehow masking the issue...

Regards,

57
Applications / Re: Update of ScummVM possible?
« on: January 13, 2024, 01:51:23 pm »
Hey Martin,

  Were you able to get anything to work with this latest one?

Regards,

58
Networking / Re: Updated Samba Client
« on: January 12, 2024, 10:21:21 pm »
 Hey Paul,

  Tried the new 4.19 client and it works great with the 4.11 server with no issues whatever, so I'm leaving that installed on the client.

  Tried the new 4.19 server and I have the same issues as before - eventually I get the 'out of memory' error on the command line, and '0 files' with the WPS. SMBCLIENT will also time out on the \software\os2 directory without the -t 60 directive. All this with the default inetcfg.ini just like yours on server and client, so that isn't the culprit.

  The fact it works for you and not me implies my configuration is somehow different. Need to figure out what - what NICs are you using on the server and client? My server has an Intel NIC, and client has a Realtek.

  I'm interested in any ideas what might influence SAMBA in the OS/2 system that could be changed in the normal course of usage...

Regards,

59
Networking / Re: Updated Samba Client
« on: January 08, 2024, 12:16:31 pm »
 Thanks Paul. Wonder if I could see your inetcfg.ini file? At one point I spent some time tuning mine for internet performance, maybe something there is tripping up SAMBA? I could test here with yours...

Regards,

60
Applications / Re: NewView - control over NEW window placement?
« on: January 08, 2024, 01:34:39 am »
 FYI - there is a new NewView release on Hobbes - seems to fix this issue... thanks Alex!

Regards,

Pages: 1 2 3 [4] 5 6 ... 51