System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Connect HP-UX client to Windows server 2008 fileserver

Maiky
Occasional Advisor

Connect HP-UX client to Windows server 2008 fileserver

Hello,

I've created a fileserver in Windows Storage server 2008. I need that hp-ux client can connect to the windows fileserver.
Can anyone say to me how to do it or pass me a guide to do it?
Via CIFS/SMB or via NFS ?
Anonymous access is not an option but I want to it as easy as if it possible.

Thanks in advance...



9 REPLIES
Shibin_2
Honored Contributor

Re: Connect HP-UX client to Windows server 2008 fileserver

You can choose CIFS option. There are lot of threads related to this available. Do a search. Or get CIFS guide from HP docs.
Regards
Shibin
shanmuhanandam
Regular Advisor

Re: Connect HP-UX client to Windows server 2008 fileserver

Hi,
I hope windows 2008 server has the feature of NFS, so you can use the NFS.
http://technet.microsoft.com/en-us/library/cc753302(WS.10).aspx

Thanks,
Shan.
Maiky
Occasional Advisor

Re: Connect HP-UX client to Windows server 2008 fileserver

Thanks for the responses.

I'll try it.

Otherwise is there anyone that had done it in real enviroment and tell me your experience??

BR,
Miguel Angel
Kenan Erdey
Honored Contributor

Re: Connect HP-UX client to Windows server 2008 fileserver

Hi,

say share is \\file_server\data

install cifs client. than edit /etc/rc.config.d/cifsclient and change the value to 1

edit /etc/opt/cifsclient/cif*.cfg, change the value of smbOverTcp to Yes.

start cifsclient with /sbin/init.d/cifsclient start

at last, mount it cifsmount -U user -P password //fileserver/data /data



Computers have lots of memory but no imagination
Maiky
Occasional Advisor

Re: Connect HP-UX client to Windows server 2008 fileserver

Hi,

In few days I'll try it.

Thanks
Dan Bolton
Frequent Advisor

Re: Connect HP-UX client to Windows server 2008 fileserver

Not sure if newer versions of HP-UX provide an alternative mechanism, but to connect our 11.11 servers to Windows shares we enabled the guestUser option -(search /etc/opt/cifsclient/cifsclient.cfg for 'guest users:')

This allows Unix users to access the shares without needing to be mapped to a CIFS username or explicitly connecting (cifslogin) to the share.

Just create a Windows account and give it the desired default rights to the directories being shared. Then in cifsclient.cfg set guestUser = newly_created_windows_account. After running cifsmount, as root do a cifslogin using newly_created_windows_account and the -s option. Any Unix user that doesn't explicitly cifslogin to the share will, by default, be connected with guestUser permissions.

...skid in sideways, chocolate in one hand, martini in the other, totally worn out and screaming, "WOO HOO what a ride!"
Steven E. Protter
Exalted Contributor

Re: Connect HP-UX client to Windows server 2008 fileserver

Shalom,

The real answer is either will work.

Microsoft does have a Unix package for the server OS and NFS shares can be set up and connected to with the Base HP-UX OS.

CIFS/SMB is somewhat easier to work with and requires installation of two depots available for free at http://software.hp.com

There are some reports of the need to patch Windows to make it play nicely with Linux and HP-UX.

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
Maiky
Occasional Advisor

Re: Connect HP-UX client to Windows server 2008 fileserver

Thanks to everybody for the responses

This morning I've tried to mount and access the share but with no exit :-( (well mount seems to be OK) but logging fails

When i try to do a cifslogin i found this error:
logging in User: UNIX: Connection refused

I've hp-UX 11.23 ia64 and CIFS client A.01.09.03

Monday I'll continue trying it (I don't modify any configuration file because is a production server but I think it can be the problem).

Otherwise more ideas will be welcome accepted :-)



Maiky
Occasional Advisor

Re: Connect HP-UX client to Windows server 2008 fileserver

I continue with the problem but I use this command:

smbclient '\\server\share' -W domain -U username

And I connect with the share.

But when i try this:

cifsmount //ap02/trans /mnt -U cifsclient -I 162.xxx.xxx.xxx

I've encountered this error:

Connecting Share: DOS: Share not exported by server

Any ideas about what is the problem??