Operating System - HP-UX
1829075 Members
2510 Online
109986 Solutions
New Discussion

UNIX file system export - mapping in Windows

 
SOLVED
Go to solution
Nikee Reddy
Regular Advisor

UNIX file system export - mapping in Windows

Hello,

I would like to export one of the UNIX file system /common/archive from the system venus and I would like to map it on to one of the Windows system.

Could you please let me know the procedure?

Thanks & regards,
Nikee
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: UNIX file system export - mapping in Windows

Native windows can contact CIFS/9000 samba without any additional software.

Client(optional):
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA

Server(mandatory):
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

Download swinstall.

in the file /etc/opt/samba/smb.conf

Define your shared directories, make sure the HP-9000 box is in the same workgroup as the windows box.

/sbin/init.d/samba stop
/sbin/init.d/samba start

smbpasswd -a

For any windows user that wants to connect.

From Windows:

Click into network neighborhood.

Find the HP-9000 machine.

When you see a share, click right then choose map network drive. You will be prompted for the login credentials you set up with smbpasswd command.

You can go further and use a Windows PDC primary domain controller for authentication. You can even use the HP-9000 server as a PDC if you wish.

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
Bill Hassell
Honored Contributor

Re: UNIX file system export - mapping in Windows

Two methods: NFS (which requires a non-standard NFS client program on Windows) and CIFS/9000 which is called SAMBA. CIFS is also non-standard and must be installed and configured on your system. Then the PC can share a specific filesystem. Note also that Windows' files are not directly compatible with Unix so if this file is ASCII, on the HP-UX side, the file will have ^M (cntrl-M or carriage return) at the end of every line. On the PC side, Notepad and other simple tools will see an HP-UX file with just LF (line feed) betweeen strings of characters. You can use Word or Wordpad to view the because these tools treat the LF character as an end-of-line signal.

HP-UX has a converter for this problem: ux2dos and dos2ux. It must be run according to the system where the file needs to be seen. If the directory has binary files, then your application will have to understand any file format problems.


Bill Hassell, sysadmin
G. Vrijhoeven
Honored Contributor

Re: UNIX file system export - mapping in Windows

Hi Nikee,

You could install SAMBA or CIFS on HPUX of install an nfs client on windows:

SAMBA software and docs:

http://hpux.cs.utah.edu/hppd/hpux/Networking/Misc/samba-3.0.1/


HTH,

Gideon
Darren Prior
Honored Contributor

Re: UNIX file system export - mapping in Windows

Hi Nikee,

Full documentation for CIFS/9000 can be found on http://docs.hp.com

CIFS/9000 also has a web-based gui called SWAT to help in setting up shares, online man pages and the O'Reilly Using Samba book can be accessed from SWAT.

regards,

Darren.
Calm down. It's only ones and zeros...