Operating System - HP-UX
1833589 Members
3806 Online
110061 Solutions
New Discussion

Re: How to access windows 2003 share in hpux11.1

 
SOLVED
Go to solution
Md. Shafiullah
Advisor

How to access windows 2003 share in hpux11.1

Hi all,

I have a windows 2003 Enterprise server where there are two shared folder. I want to access those share from a hpux11.1 server. How to do it?

Thanks.
Shafi
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: How to access windows 2003 share in hpux11.1

You need to install CIFS/9000 also known as Samba. All you need is the CIFS client.

http://h20293.www2.hp.com/portal/swdepot/displayProductsList.do?category=NSM
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: How to access windows 2003 share in hpux11.1

Shalom Shafi,

From the link above you need to install the client choice. For this purpose you probably don't need the server software.

The CIFS/9000(Samba) client will reboot your system after install.

swinstall -x autoreboot=true -s /pathtosamba.depot \*

After installation you use the command smbmount or smbclient or cifsmount to connect to the Windows 2003 share. You will need a user Id and password to access that system.

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
Khile Klock
Frequent Advisor

Re: How to access windows 2003 share in hpux11.1

This all depends upon what sort of access you wish to have from UX..
If it is short term, I woudl say CIFS (Samba)

Another option is to install Services for Unix on your Win2k3 server, and just use NFS...

See http://www.microsoft.com/sfu
Md. Shafiullah
Advisor

Re: How to access windows 2003 share in hpux11.1

I am trying by using cifsmount but it is not working. I want to mount windows share //192.168.82.57/shafi to /home/shafi/shafi directory. I will access continuously to send file to windows server. do i need any configuration in any file?

test:/#cifsmount //192.168.82.57/shafi /home/shafi/shafi/ -U Administrator
Remote user Administrator's password:
Connecting Server: UNIX: Connection refused
Khile Klock
Frequent Advisor

Re: How to access windows 2003 share in hpux11.1

WHen specifying the -User have you attempted \\\\\\Administrator to force it to realize you are trying to use the LOCAL Admin account?
Eric Raeburn
Trusted Contributor

Re: How to access windows 2003 share in hpux11.1

Hello, Shafi,

This is Eric in the HP CIFS Client software lab.

First, a few clarifications:

1. The software that will fulfill your requirements best is the HP CIFS Client (not the HP CIFS Server--you don't need the server for the task you describe).

2. It appears you are using an old version of the Client (A.01.xx--the error message you show is different in the current version, A.02.xx). Perhaps that older version was already present on your system. We urge you to install the latest CIFS Client from software.hp.com; A.02 has many significant improvements over A.01. You can read about those in the Release Notes here: http://www.docs.hp.com/en/B8724-90080/B8724-90080.pdf

3. On HP-UX 11.11, installation of the Client does cause a system reboot. Note that on 11.23 and later, in versions A.02.xx, there is support for dynamically loaded kernel modules (DLKM), so installation does not cause a reboot.

4. The HP CIFS Server is based on Samba; the HP CIFS Client is not.

Regarding your cifsmount failure, the correct syntax is:

cifsmount //server/share /mountpoint [options]

Where 'server' is the NetBIOS name of the server (usually, but not necessarily, the same as its DNS name). If the ip address of the server cannot be resolved and you need to specify it explicitly, that is done in the '-I ip_address' option to cifsmount. 'server' must be the NetBIOS name because the SMB connection between client and server is initiated with the NetBIOS Session Service; the server will respond only if its NetBIOS name is given.

I should point out, as added incentive to upgrade your version of the CIFS Client, that starting with A.02.02 we have implemented support for SMB-over-TCP; there is a configuration option that allows the Client to bypass the NetBIOS Session Service.

Please post your progress, or let me know if I can provide any further assistance.

-Eric
Zinky
Honored Contributor

Re: How to access windows 2003 share in hpux11.1

And if I ay add, CIFS Client's download/home page is at:

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

And thanks Eric for the Clarification... I am on a crusade to correct the misconception about "Samba" as the solution for UNIX (HP-UX in particular) to "mount" Windows or other CIFS Server shares. CIFS Client is NOT SAMBA but a product licensed (OEM'd?) from Sharity, Inc.

We are finding the later incarnations of the CIFS Client product( 2.x) on 11.11 more robust than the previous 1.X releases.

Configuration should be easy as depicted in the guide and as illustrated by Eric.

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Md. Shafiullah
Advisor

Re: How to access windows 2003 share in hpux11.1

I have used CIFS Client to mount windows share to my hpux box. Thanks buddies for all of your help and comments.