Operating System - HP-UX
1833555 Members
3108 Online
110061 Solutions
New Discussion

Writing to a Windows server from an HPUX box

 
SOLVED
Go to solution
Charles Holland
Trusted Contributor

Writing to a Windows server from an HPUX box

Source is an HPUX 11.11 box
target is Windows 2008 r2 SP2

I have a new need to write to a windows server.
On one of the servers I have:
CIFS-Client A.02.02.02 HP CIFS Client
CIFS-Development A.02.04.01 HP CIFS Server
CIFS-Server A.02.04.01 HP CIFS Server

Now working with the Server section I allow windows servers and workstations to access, read, write to the HPUX files system.

Working with the Client side on this one HPUX server I can write to the windows file systems and I think the HP part number is B8724AA.

Now I have looked everywhere I can but I find no method to use the Server side to write to the windows file system, although I get the impression that the Server (or Samba) is supposed to be able "do it all".

Am I all confused here? Do I need to install the client part to write to the windows file system?

Thanks in advance.
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein
6 REPLIES 6
John Guster
Trusted Contributor

Re: Writing to a Windows server from an HPUX box

configure HP as CIFS client, and mount -F cifs "window share" onto HP system, so one can write to the window share from HP-UX platform.
Charles Holland
Trusted Contributor

Re: Writing to a Windows server from an HPUX box

John,
Are you indicating that I don't have to install B8724AA but only do a mount command on the HPUX boxes after sharing out the directory on the windows box?

Chuck
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein
nightwich
Valued Contributor
Solution

Re: Writing to a Windows server from an HPUX box

Hi ..


You need to configure the cifs client on wour HPUX machine.

First you need to enable cifs:

vi /etc/rc.config.d/cifsclient

RUN_CIFSCLIENT=1


Then start cifs client.

/sbin/init.d/cifsclient start


Then configure the mount point in the fstab. Here is one exemple of what you may need in you /etc/fstab:

Windows_server:/windows_share$ /mount_point_on_unix_machine cifs username="login_in_windows_machine",password="password_for_windows_login 0 0


Then mountall.

If you have any trouble please reply.
Charles Holland
Trusted Contributor

Re: Writing to a Windows server from an HPUX box

nightwich,

OK, so I do have to install cifsclient on the HPUX box.

Are you indicating that I don't have to use the cifs commands cifsmount, cifslogin,... etc but simply make an entry in the /etc/fstab file?

Thanks.
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein
TwoProc
Honored Contributor

Re: Writing to a Windows server from an HPUX box

Yes, install the client part, not the server part.

As for cifsmount cifslogin commands - that's just another way to do it, without hitting the /etc/fstab if you'd prefer. Using the method above (/etc/fstab) is much easier naturally.

We are the people our parents warned us about --Jimmy Buffett
Charles Holland
Trusted Contributor

Re: Writing to a Windows server from an HPUX box

Done
"Not everything that can be counted counts, and not everything that counts can be counted" A. Einstein