OS/2, eCS & ArcaOS - Technical > Networking

Samba client error sys0050 The network request is not supported.

<< < (4/8) > >>

Paul Smedley:

--- Quote from: ivan on August 06, 2019, 12:08:34 pm ---Hi Paul,

I did as you asked and all I get is an empty file even after rebooting the computer.

--- End quote ---

Did you check in X:\var\log\ndpsmb.log ?

roberto:
Hello Paul,
Just for trying to clarify
Some comments about arca504 and samba client.
The smb.conf file is in two places in
C:\MPTN\ETC\samba\smb.conf
C:\var\temp\smb.conf
The debug file is rooted in the system,C:\ndpsmb.dbg, but does not show anything or in my case a single line:
NDPSMB debug flag file


Marking the log, and debug option, in the arcamap shows a window that allows copy paste, which I know is the only way to get a log-file.

Doug Bissett:

--- Quote ---The smb.conf file is in two places in
C:\MPTN\ETC\samba\smb.conf
C:\var\temp\smb.conf
--- End quote ---

The file C:\var\temp\smb.conf Is a work file, in a temporary location. It is used by the program to fill out the defaulted (not defined) settings. Ignore it, although it can tell you what actual settings are being used. C:\MPTN\ETC\samba\smb.conf is the file that you would want to edit, to change default settings.

Note that C:\sys\apps\smbclnt contains the code used by the SAMBA client. It was updated with ArcaOS 5.0.4, and you will see a SYS0050 if that didn't get updated, or if your system has another copy somewhere, that isn't updated, or if your CONFIG.SYS points somewhere else (or...). The contents are:

--- Code: ---[C:\SYS\APPS\SMBCLNT]dir

The volume label in drive C is ARCAOS.
The Volume Serial Number is DFDA:75BB.
Directory of C:\SYS\APPS\SMBCLNT

 8-26-18 12:34p         <DIR>      0 ----  .
 8-26-18 12:38p         <DIR>      0 a---  ..
 8-26-18 12:34p         <DIR>      0 ----  codepages
 7-09-17 12:39a     4,128,772      0 a---  net.exe
 7-09-17 12:39a       765,956      0 a---  nmblookup.exe
 7-09-17 12:39a     3,739,652      0 a---  rpcclient.exe
 7-09-17 12:39a           199      0 a---  smb.conf.sample
 7-09-17 12:39a     3,567,620      0 a---  smbclient.exe
 7-09-17 12:39a     1,867,780      0 a---  smbspool.exe
 7-09-17 12:39a     3,481,604      0 a---  smbtree.exe
 7-09-17 12:39a       716,804      0 a---  testparm.exe
       11 file(s)  18,268,387 bytes used
                    2,651,516 K bytes free
--- End code ---

Note that some of these file names are used in the SAMBA server too, but they are not, necessarily, the same files.

Paul Smedley:

--- Quote from: roberto on August 06, 2019, 05:21:38 pm ---Hello Paul,
Just for trying to clarify
Some comments about arca504 and samba client.
The smb.conf file is in two places in
C:\MPTN\ETC\samba\smb.conf
C:\var\temp\smb.conf
The debug file is rooted in the system,C:\ndpsmb.dbg, but does not show anything or in my case a single line:
NDPSMB debug flag file


Marking the log, and debug option, in the arcamap shows a window that allows copy paste, which I know is the only way to get a log-file.

--- End quote ---

I have no idea why there's a smb.conf in c:\var\temp\smb.conf - the Samba code will only look in %ETC%\samba\smb.conf

If C:\ndpsmb.dbg exists - and ndctl.exe is restarted (this can be done in Arcamapper - the menu option is something like restart control daemon) then logs should be put into %LOGFILES%\ndpsmb.log - IIRC (I don't have an ArcaOS nearby) by default this is c:\var\log\ndpsmb.log

Hope this helps,

Paul.

Paul Smedley:

--- Quote from: Doug Bissett on August 06, 2019, 06:41:16 pm ---
--- Quote ---The smb.conf file is in two places in
C:\MPTN\ETC\samba\smb.conf
C:\var\temp\smb.conf
--- End quote ---

The file C:\var\temp\smb.conf Is a work file, in a temporary location. It is used by the program to fill out the defaulted (not defined) settings. Ignore it, although it can tell you what actual settings are being used. C:\MPTN\ETC\samba\smb.conf is the file that you would want to edit, to change default settings.

Note that C:\sys\apps\smbclnt contains the code used by the SAMBA client. It was updated with ArcaOS 5.0.4, and you will see a SYS0050 if that didn't get updated, or if your system has another copy somewhere, that isn't updated, or if your CONFIG.SYS points somewhere else (or...). The contents are:

--- Code: ---[C:\SYS\APPS\SMBCLNT]dir

The volume label in drive C is ARCAOS.
The Volume Serial Number is DFDA:75BB.
Directory of C:\SYS\APPS\SMBCLNT

 8-26-18 12:34p         <DIR>      0 ----  .
 8-26-18 12:38p         <DIR>      0 a---  ..
 8-26-18 12:34p         <DIR>      0 ----  codepages
 7-09-17 12:39a     4,128,772      0 a---  net.exe
 7-09-17 12:39a       765,956      0 a---  nmblookup.exe
 7-09-17 12:39a     3,739,652      0 a---  rpcclient.exe
 7-09-17 12:39a           199      0 a---  smb.conf.sample
 7-09-17 12:39a     3,567,620      0 a---  smbclient.exe
 7-09-17 12:39a     1,867,780      0 a---  smbspool.exe
 7-09-17 12:39a     3,481,604      0 a---  smbtree.exe
 7-09-17 12:39a       716,804      0 a---  testparm.exe
       11 file(s)  18,268,387 bytes used
                    2,651,516 K bytes free
--- End code ---

Note that some of these file names are used in the SAMBA server too, but they are not, necessarily, the same files.

--- End quote ---

Correction. The files in C:\sys\apps\smbclnt are NOT used by Netdrive or the Samba plugin. They are used for other ArcaOS components, like arcamapper and for printing support.

The only system files used by Netdrive and the Samba plugin are ndpsmb.dll and smbcln49.dll (and things like libc, et al).

Cheers,

Paul.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version