1832609 Members
2458 Online
110043 Solutions
New Discussion

Re: UNC paths

 
Jacques Carriere
Regular Advisor

UNC paths

What is the correct syntax to map unix mount point on a Windows work station.
server name: tuxtst02
mount point : ccm_test
7 REPLIES 7
Court Campbell
Honored Contributor

Re: UNC paths

if you are not running HP CIFS or samba on the HP-UX server then you cannot do this. But the UNC path would be

\\tuxtst02\ccm_test

If you have the server setup correctly.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Jacques Carriere
Regular Advisor

Re: UNC paths

samba must be installed and the mount point exported. correct?
Yogeeraj_1
Honored Contributor

Re: UNC paths

hi Jacques,

CIFS/SAMBA should be installed on the Unix host and configured accordingly. It is not an NFS export.

read the docs

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Steven E. Protter
Exalted Contributor

Re: UNC paths

Shalom,

samba does not export like NFS does.

You set up shares in the smb.conf file

There are good examples near the bottom of the smb.conf file so you can pick the one you want, copy, paste and uncomment to meet your needs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jacques Carriere
Regular Advisor

Re: UNC paths

Do I need to use samba?
Court Campbell
Honored Contributor

Re: UNC paths

Install HP CIFS. It is based on samba. You should probably start here:

http://docs.hp.com/en/B8725-90103/index.html
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Alzhy
Honored Contributor

Re: UNC paths

Correct Syntax (assuming you want CMD/DOS command line) is:

NET USE Z: \\tuxtst02\ccm_test

That will "map" the UNC \\tuxtst02\ccm_test to your Windows Workstation's Drive Z:

Otherwise, you probly know this already.. do your usual MAP a Drive procedure in Windows File Explorer, etc.

Note that you will need to set up a UNIX sharing software first on your UNIX server end. Most popular of course is SAMBA which HP supplies free and is fully supported on HP-UX 11.11 upwards and should already be installed. HP However calls it the "HP CIFS Server" product.

Set up is easy .. specially if you're Windows Network and LAN/Manager literate. On the UNIX end, add in:

/etc/services:
swat 901/tcp # SAMBA Web-based Admin Tool

/etc/inetd.conf:
swat stream tcp nowait.400 root /opt/samba/bin/swat swat

Then on any PC on your LAN, connect to http://name_of_your_SAMBA_server:901 to launch the SAMBA Admin Tool. Access is your root/rootpass of the SAMBA Unix Host.

Set up Samba and your shares, start it and you're good to go. Do read the excellent documentation and examples in SWAT.

Enjoy.
Hakuna Matata.