Operating System - HP-UX
1819836 Members
2773 Online
109607 Solutions
New Discussion юеВ

Unix to Windows 2000 Export Directories

 
Donald J. Butera
Occasional Advisor

Unix to Windows 2000 Export Directories

Greetings All,

My challenge is to export two Unix filesystems to a single Windows directory. I have been successful using Samba to mount a directory from Windows to Unix but not the opposite. My Unix box is a N4000-55 and the Windows platform is a Windows 2000 Server. Thanks in advance for your collective wisdom.
6 REPLIES 6
Shahul
Esteemed Contributor

Re: Unix to Windows 2000 Export Directories


Hi,

It's possible by enabling pcnfsd under /etc/rc.config.d/nfsconf file, there is a variable PCNFS_SERVER, set this to 1. Then, there are 3rd party product avaialable in site, you can download those and load in windows PC to see exported filesystems from Unix systems.


Good luck
Shahul
Robert-Jan Goossens
Honored Contributor

Re: Unix to Windows 2000 Export Directories

Re: Unix to Windows 2000 Export Directories

Hi

I do not understand the exact problem ...
Can this be a workaround ...

Say you have
HPUX FS1 mounted @ /A
&
HPUX FS2 mounted @ /B

then

mkdir /tmp/C
ln -s /A /tmp/C/A
ln -s /B /tmp/C/B

and "share" /tmp/C with Windows using samba
If your issue is with samba configuration then please specify the errors you get ...
Take a look at the /var/opt/samba logfiles and the documents under /opt/samba

Hope it helps

Christos
Together we stand divided we fall
Alzhy
Honored Contributor

Re: Unix to Windows 2000 Export Directories

UNIX Mounting Windows Shares:
1.\ Use the CIFS9000 product that is now bundled on 11.0/11i systems and very robust at that. BEST solution.

2.\ Install SFU (Services for UNIX) on Windows Server and you can use NFS to mount the Windows shares (varying opinions on this) -- but 2 thumbs up from me nevertheless.


Windows Mounting UNIX Shares:
1.\ SAMBA -- makes your UNIX servers appear as Windows servers so you can mount UNIX filesystems(or directories) natively.. no software required on Windows machines. On HP systems, SAMBA is known as the CIFS/9000 Server package and is always part of the install under 11i. BEST and most common solution... With SAMBA 3.0 (not yet bundled with HPUX), LDAP/ActiveDirectory is supported..

2.\ Use NFS Protocol, either using 3rd party NFS/PCNFS products on Windows side. May or may not require software on UNIX side...


HTH.

Hakuna Matata.
Steven E. Protter
Exalted Contributor

Re: Unix to Windows 2000 Export Directories

This manual may give you some assistance.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8724-90022/B8724-90022_top.html&con=/hpux/onlinedocs/B8724-90022/00/00/15-con.html&toc=/hpux/onlinedocs/B8724-90022/00/00/15-toc.html&searchterms=cifsclient%7cCIFS/9000&queryid=20040108-082731

Getting cifsclient to connect to windows is possible with enough careful effort.

The tough part is when a login fails, windows doesn't often log it anywhere where you can monitor it.

Conversely if you have enhanced loggin on the Unix box, you'll see all cifs login attempts in syslog.log

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
Alzhy
Honored Contributor

Re: Unix to Windows 2000 Export Directories

BTW, we've been heavy users of CIFS/9000 Client (aka CIFS Client) which allows you to mount a Windows share as a Filesystem on your HPUX machine... Just a word of caution.. you should install at least the A.01.09.04 release.. Our site has been instrumental in ironing out some problems mostly relating to WAN connected shares...
Hakuna Matata.