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] 4 5 ... 140
31
Networking / Re: Updated Samba Client
« on: January 27, 2024, 10:04:36 pm »
Hi Dave,

Thanks Paul!

 This one does seem to work well - no OOM yet. The last one I never got an OOM either, so you may have squashed that bug. I'll attach logs for the new one. By far the most common line in it is:

2024/01/27 07:50:34.55: 9 2: NdpQueryPathInfo in [0x317ac0] <A.+,;=[].B>

so still see the A.+,;=[].B.

 On a different subject - on directories with windows exe files, the WPS blocks while apparently it tries to determine the icons for the files. If the files are large it can take a very long time (minutes - like it reads the whole file) to display and free the WPS. I have 'SET NOLARGENTEXEICON=1' in CONFIG.SYS, but apparently SAMBA doesn't honor that? Have you seen this?

The log line:
Code: [Select]
2024/01/27 07:50:34.55: 9 2: NdpQueryPathInfo in [0x317ac0] <A.+,;=[].B>
Is expected. What has changed in the plugin is the code at https://github.com/psmedley/ndpsmb/blob/samba-4.19.x/src/ndpsmb.c#L1008 where if the WPS is testing A.+,;=[].B,  we return immediately rather than calling smbwrp_getattr()

If I can find a windows exe file, I'll see what the client logs  are saying.  I have no idea what the NOLARGENTEXEICON setting does and there is  definitely no code  in Samba that would handle it.

32
Networking / Re: Updated Samba Client
« on: January 27, 2024, 09:22:27 am »
https://smedley.id.au/tmp/ndpsmb-20240127.zip should be functionally identical to 20240126b but has some cleanups to the code.

33
Networking / Re: Updated Samba Client
« on: January 26, 2024, 09:58:01 pm »
Wow! That is promising. I'll clean up the changes and commit them anyway -  even if they don't 100% fix your issue,  they still reduce unnecessary traffic between the  client and server which is a good thing.

34
Networking / Re: ArcaMapper and Network Protocols
« on: January 26, 2024, 09:56:51 pm »
Given we're now seeing  a connection (which we weren't previously),  and that  Windows can connect without modification, I would remove the following from smb.conf:
Code: [Select]
   client lanman auth = yes
   client min protocol = NT1
   client NTLMv2 auth = no
   client plaintext auth = yes

and try with the defaults. Is that the full log.smbc? It seems shorter than I would expect...

35
Networking / Re: ArcaMapper and Network Protocols
« on: January 26, 2024, 04:14:12 am »
Hey Mark - glad we're making progress -  if you re-enable log level in smb.conf, and recreate ndpsmb.dbg and capture a log - the full log may tell us what the authentication problem is and guide how to fix it.

36
Networking / Re: Updated Samba Client
« on: January 26, 2024, 01:04:28 am »
ok,  https://smedley.id.au/tmp/ndpsmb-20240126b.zip  should get rid of the remaining cases like:
Code: [Select]
2024/01/25 18:28:32.09: 9 2: NdpQueryPathInfo in [0x317ac0] <Great Defrost 2012, LW pics\A.+,;=[].B>
2024/01/25 18:28:32.09: 9 2: dircache_find_path [Great Defrost 2012, LW pics\A.+,;=[].B]
2024/01/25 18:28:32.09: 9 2: dcFindPath: [Great Defrost 2012, LW pics][A.+,;=[].B]
2024/01/25 18:28:32.09: 9 2: dircache: FindPath Great Defrost 2012, LW pics\A.+,;=[].B not found
2024/01/25 18:28:32.09: 9 2: NdpQueryPathInfo pathparser for <\A.+,;=[].B> rc=0
2024/01/25 18:28:32.09: 9 2: NdpQueryPathInfo smbwrp_getattr for <\A.+,;=[].B>

I don't think this is going to fix things, but it makes the code more efficient by not calling smbwrp_getattr() on every folder to check file attributes for A.+,;=[].B which are never going to exist.

37
Networking / Re: Updated Samba Client
« on: January 26, 2024, 12:23:33 am »

38
Networking / Re: ArcaMapper and Network Protocols
« on: January 26, 2024, 12:20:52 am »
Try using the IP  instead of paladin

The error suggests paladin is unreachable -  you can ping the server?

39
Networking / Re: Updated Samba Client
« on: January 25, 2024, 10:42:09 pm »
Paul,

No help - log attached, OOM toward the end of 6:16. I never noticed that 'A.+,;=[].B' before, but the log is riddled with it - must be a code error somewhere...

EDIT: tried running the 4.11 server with the 4.19 client (where I do not get the OOM) and I see those 'A.+,;=[].B' in the log all over the place there too.

Regards,

I think this is still the old plugin. The first line reports: Samba client 4.19-1 build 202401xx based on 4.19.4
I changed the build date for this one to 20240125

It's still showing:
Code: [Select]
2024/01/25 06:16:45.02: 9 2: NdpQueryPathInfo smbwrp_getattr for <\A.+,;=[].B>
2024/01/25 06:16:45.02: 4 2: getattr 0 16 <\A.+,;=[].B>
2024/01/25 06:16:45.02: 4 2: smbwrp_getattr, calling cli_qpathinfo3
2024/01/25 06:16:45.02: 9 2: NdpQueryPathInfo smbwrp_getattr, rc = 8

Whereas I would expect to see:
Code: [Select]
2024/01/25 17:49:56.99: 9 2: NdpQueryPathInfo in [0x4928e0] <A.+,;=[].B>
2024/01/25 17:49:56.99: 9 2: NdpQueryPathInfo in [0x4928e0] <A.+,;=[].B> - return ERROR_FILE_NOT_FOUND

Let me also double check that I zipped the right file....

bldlevel on ndpsmb.dll should show:
Description:     NDPSMB - SMBFS NetDrive External Plugin Build 20240125

40
Networking / Re: Updated Samba Client
« on: January 25, 2024, 10:36:22 pm »
must be a code error somewhere...

AFAIR, it's the WPS checking for long file name support. If that file operation produces a specific error, a FAT-like file system is assumed. The WPS will then shorten file names and store the originals in EAs.

Yeah it's definitely a WPS thing....

41
Networking / Re: Samba Users and Groups
« on: January 25, 2024, 10:34:48 pm »
Can you try changing the \ to a /
ie F:/Programs/samba/usermod.cmd

42
Networking / Re: ArcaMapper and Network Protocols
« on: January 25, 2024, 09:26:33 am »
Client logs might help us understand more.

Add to smb.conf:
log level = 8

Create a file in the root of the OS drive - ndpsmb.dbg

Reboot or restart ndctl.exe
try to connect

zip/share x:\var\log\log.ndpsmb & x:\var\log\log.smbc

Once logs are captured - you can reset log level  and remove x:\ndpsmb.dbg

43
Networking / Re: Samba Users and Groups
« on: January 25, 2024, 09:24:22 am »
I don't understand how:
Code: [Select]
sh.exe: 1: F:Programssambausermod.cmd: not foundis being called if my smbpasswd  is being used?

You are running smbpasswd.exe directly from a command line, or via the WPS objects from AOS?

44
Networking / Re: Updated Samba Client
« on: January 25, 2024, 09:22:30 am »
Does  https://smedley.id.au/tmp/ndpsmb-20240125.zip help?  If  it doesn't, can I have a new log.ndpsmb please?

45
Networking / Re: Updated Samba Client
« on: January 25, 2024, 09:01:03 am »
Here's a corresponding log from the client:
Code: [Select]
2024/01/23 09:38:27.27: 9 2: NdpQueryPathInfo in [0x342160] <Music\Pearl Jam\A.+,;=[].B>
2024/01/23 09:38:27.27: 9 2: dircache_find_path [Music\Pearl Jam\A.+,;=[].B]
2024/01/23 09:38:27.27: 9 2: dcFindPath: [Music\Pearl Jam][A.+,;=[].B]
2024/01/23 09:38:27.27: 9 2: dircache: FindPath Music\Pearl Jam\A.+,;=[].B not found
2024/01/23 09:38:27.27: 9 2: NdpQueryPathInfo pathparser for <\A.+,;=[].B> rc=0
2024/01/23 09:38:27.27: 9 2: NdpQueryPathInfo smbwrp_getattr for <\A.+,;=[].B>
2024/01/23 09:38:27.27: 4 2: getattr 0 16 <\A.+,;=[].B>
2024/01/23 09:38:27.27: 4 2: smbwrp_getattr, calling cli_qpathinfo3
2024/01/23 09:38:27.28: 9 2: NdpQueryPathInfo smbwrp_getattr, rc = 2
2024/01/23 09:38:27.28: 9 2: NdpQueryPathInfo <Music\Pearl Jam\A.+,;=[].B> (\A.+,;=[].B) 2
2024/01/23 09:38:27.28: 9 3: NdpQueryPathInfo in [0x317ac0] <Music\Pearl Jam\A.+,;=[].B>
2024/01/23 09:38:27.28: 9 3: dircache_find_path [Music\Pearl Jam\A.+,;=[].B]
2024/01/23 09:38:27.28: 9 3: dcFindPath: [Music\Pearl Jam][A.+,;=[].B]
2024/01/23 09:38:27.28: 9 3: dircache: FindPath Music\Pearl Jam\A.+,;=[].B not found
2024/01/23 09:38:27.28: 9 3: NdpQueryPathInfo pathparser for <\A.+,;=[].B> rc=0
2024/01/23 09:38:27.28: 9 3: NdpQueryPathInfo smbwrp_getattr for <\A.+,;=[].B>
2024/01/23 09:38:27.28: 4 3: getattr 0 16 <\A.+,;=[].B>
2024/01/23 09:38:27.28: 4 3: smbwrp_getattr, calling cli_qpathinfo3
2024/01/23 09:38:27.28: 9 3: NdpQueryPathInfo smbwrp_getattr, rc = 8
2024/01/23 09:38:27.28: 9 3: NdpQueryPathInfo <Music\Pearl Jam\A.+,;=[].B> (\A.+,;=[].B) 3

The WPS seems to try and open 'A.+,;=[].B'  in each folder  and somehow this triggers an OOM error in the server. Interesting....

Pages: 1 2 [3] 4 5 ... 140