OS/2, eCS & ArcaOS - Technical > Networking

Universal Naming Convention (UNC) on Samba?

<< < (2/2)

Doug Clark:
Looks like Dave's answer is, unfortunately correct.

For Darius:

UNC =  \\machineName\shareName

machineName originally was a netbios name.  ShareName was a shared resource on machineName, i..e a drive or a directory.

Microsoft "enhanced"  UNC later for networked windows machines to allow IP addressing for the machineName, and now other
addressing

I don't know where IBM file/print client resolves netbios names but
it looks like Samba on OS/2 (more specifically ArcaMap) uses the LMHosts file in
C:\MPTN\ETC\samba

for resolving netbios machine names to IP addresses

Mine looks like
-------------------------------------------------------------
dir \\req1\# Created by ARCAMAP Version 2.6.20180125 on 20 Jun 2021 at 17:18:03
# Syntax:
# IP-address             NetBIOS-name     [Role]
192.168.32.125           REQSRV1         
192.168.32.243           SERVERS1         
------------------------------------------------------------

It appears that when the redirector mechanism for remote file system requests was created for Samba on OS/2 it did not include UNC resolution, only drive letter resolution.

I am not complaining.  I was just wondering if there was some service I needed to start or some configuration I needed to do in Samba to make UNC work in Samba - and the answer apparently is no.


Dariusz Piatkowski:
Hi Doug,


--- Quote from: Doug Clark on June 21, 2021, 02:53:42 am ---Looks like Dave's answer is, unfortunately correct.

For Darius:

UNC =  \\machineName\shareName

machineName originally was a netbios name.  ShareName was a shared resource on machineName, i..e a drive or a directory.
..

--- End quote ---

Right, I got that. My NAS maps to 192.168.1.4 and is present in LMHOSTS file as well. My expectation was that the Samba client would automatically show all shares that are present, sort of similar to what smbtree shows, albeit with actual contents listed. That may have been too wide of a sweep though! lol

It would appear that as of right now the UNC resolution, when attempting to access Samba shares, does not work on our platform. ('ls' did not work either)

Navigation

[0] Message Index

[*] Previous page

Go to full version