Operating System - HP-UX
1753757 Members
4890 Online
108799 Solutions
New Discussion юеВ

Re: How to mapping folder from WinNT to HP-UX server

 
SOLVED
Go to solution
Hoang Minh Tuan
Regular Advisor

How to mapping folder from WinNT to HP-UX server

Hi All,

I have a task in which mapping a folder from WinNT to HP-UX to become a file system in Unix server like NFS mechanism. I know how to configurate NFS to map between Unix servers but as I know it only support Unix servers and I also know a Samba software could map file system from Unix to WinNT server.
My question is what software and how to configurate to map folder from NT to Unix server (especially HP-UX server).

Thanks and highly appreciate your help,
HMT
Bus wait at bus station, Work wait at my work station
9 REPLIES 9
Joseph Loo
Honored Contributor

Re: How to mapping folder from WinNT to HP-UX server

hi,

use HP CIFS (previously called Samba). u may like to read the doc before beginning your configuration:

http://docs.hp.com/en/B8724-90067/ch01s01.html

download here:
CIFS client:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA

CIFS server:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

regards.
what you do not see does not mean you should not believe
Olivier Masse
Honored Contributor

Re: How to mapping folder from WinNT to HP-UX server


If for whatever reason you can't or don't want to use CIFS, an alternative is using the free Windows Unix Services which include an NFS server. I never tried it though, so your mileage may vary. CIFS might be easier to implement if you don't have admin access on the Wintel box.

It can be downloaded here:
http://www.microsoft.com/windowsserversystem/sfu/default.mspx

Good luck
Hoang Minh Tuan
Regular Advisor

Re: How to mapping folder from WinNT to HP-UX server

Thanks Joseph for quick reply,

I followed your link but as I know CIFS server sofware only support HP-UX so that it doesn't meet my techical requirement (meaning Windows CIFS server and HP-UX CIFS client).
If you have already installed and used it, could you please give me in more detail?

HMT
Bus wait at bus station, Work wait at my work station
Victor_101
Regular Advisor

Re: How to mapping folder from WinNT to HP-UX server

hi ,
i think these links should help solve your problem..

http://www.samba.org/samba/docs/man/smbclient.1.html
http://www.samba.org/samba/docs/man/smbmount.8.html

cheers
Victor
Stefan Schulz
Honored Contributor

Re: How to mapping folder from WinNT to HP-UX server

Hi,

Joseph pointed in the right direction. You can us CIFS Client for this. If you have a CIFS Client installed you can access Windows shares and mount them to your HP-UX filesystem.

You need to start the cifsclient. Then you can access the Windows share with:

cifsmount /// / -U

If you stop the cifsclient (cifsclient -stop) the Windows share is unmounted.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.

Re: How to mapping folder from WinNT to HP-UX server

Hello,

On HP-UX, do the following:
cifsclient start
( this starts the samba client daemon - see /opt/cifsclient )
cifsmount /// / -U -P
( see cifsmount -h )

This should mount your Windows share under the directory ( which must already exist ! ).
Hoang Minh Tuan
Regular Advisor

Re: How to mapping folder from WinNT to HP-UX server

Thanks Stephan and Philipe,

I do following your guide but when I give out the command cifsmount //10.1.20.252/share /windows -U Admin -P 123 it displayed:
"LOC: Netbios session refused
LOC: Netbios session refused"
so that I can't mount win's folder.

10.1.20.252: windows IP address
share: win shared folder
windows: mountpoint at HP-UX server
Bus wait at bus station, Work wait at my work station
Stefan Schulz
Honored Contributor
Solution

Re: How to mapping folder from WinNT to HP-UX server

Hi again,

i remember that i also had a problem using an IP Adress. As far as i remember the solution was to include the windows server in the /etc/host with its full and short name.

Like:

172.10.10.1 servname.domain.com servname

This did the trick here, hope this will work for you too.

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
sombriks
Advisor

Re: How to mapping folder from WinNT to HP-UX server

hello all,

i have the very same problem, cifslogin/cifsmount at all

here i have an public share so i don't specify any username/password, but if i try "ls" on the mount point i get "not found".

already tried name alias, but it doesn't work.

but if i try to mount a samba share (i.e. linux machine instead windows) it works pretty well...

any advices?