Operating System - HP-UX
1847443 Members
3050 Online
110265 Solutions
New Discussion

Share a HP-UX directory with a Windows 2000 machine

 
SOLVED
Go to solution
Jesse Delk
Frequent Advisor

Share a HP-UX directory with a Windows 2000 machine

HP Unix 11i Version 1

I want to be able to access a HP-unix directory from a Windows machine.

I need to be able to move forms from the Windows machine to the unix directory....not using FTP but seeing the directory as another networked drive on my windows machine.

I've heard of Samba being thrown around...is this where I need to go? I do not believe Samba is loaded on my HPUX box.

Anyone have some steps I could follow written down?
10 REPLIES 10
Victor BERRIDGE
Honored Contributor
Solution

Re: Share a HP-UX directory with a Windows 2000 machine

Hello,
All good HPUX 11i have samba installed...
To convince yourself do a man samba, you will need to configure a /etc/users.map and a smb.conf file...


All the best
Victor
Jesse Delk
Frequent Advisor

Re: Share a HP-UX directory with a Windows 2000 machine

You are right. I did a FIND on samba and seen a few files around with that name.
Victor BERRIDGE
Honored Contributor

Re: Share a HP-UX directory with a Windows 2000 machine

I to not mess up other admins habits made links in /etc:
/etc $ r ll
ll smb.conf
lrw-rw-r-T 1 root sys 23 Sep 27 12:22 smb.conf -> /etc/opt/samba/smb.conf
username = Windows users name minus domain name
syntax: , , etc...
valid users = unix users name...

That is why you will have to use a users.map file, format:
! =

All the best
Victor
Jesse Delk
Frequent Advisor

Re: Share a HP-UX directory with a Windows 2000 machine

Unfortunately Samba to me only sounds like a characters name on The Lion King.

Could anyone point me to any documentation on how to use or provide me steps in setting this file share up.

The directory I want to share (with many Windows machines)is /u01/at/forms

Victor has given me some information on needing to step up a /etc/users.map and a smb.conf file. I'm just not exactly clear on what to put in them and how these are used.
Christian Tremblay
Trusted Contributor

Re: Share a HP-UX directory with a Windows 2000 machine

man samba would be a good start, it will list samba commands then you can man each of those commands for more details.

Ex:man smbstatus.... etc.

Chris



Yang Qin_1
Honored Contributor

Re: Share a HP-UX directory with a Windows 2000 machine

Hi, you can find pdf/html documents in /opt/samba/docs. normally, you should be able to configure your samba with those docs.

If you share your Unix directories to windows network, it will be fairly easy. You just need to join your Unix samba to Windows BDC/PDC. When you type (samba) "join" command on your Unix machine. It will ask you to provide Windows network Admin user name password.

You can use SWAT (Samba Web Administration Tool) -- a web interface to configure your samba share. Try http://unixserver:901 you may need to logon as root with you Unix root password.

Yang
Stefan Schulz
Honored Contributor

Re: Share a HP-UX directory with a Windows 2000 machine

Hi Jesse,

samba is the easiest way to go, as you allready have it and you dont need to configure your Windows clients (except adding a new net use ... in the logon batch).

Besides the mentioned documentations and informations you might want to have a look at http://www.samba.org. Here you will find more information than process.

But there is a good section "learn samba" which might be really helpfull for you.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Stefan Schulz
Honored Contributor

Re: Share a HP-UX directory with a Windows 2000 machine

Hi again,

the one sentence above should read: ... more than you can process at the moment.

Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Yogeeraj_1
Honored Contributor

Re: Share a HP-UX directory with a Windows 2000 machine

Hi Jesse,

Also ensure that your files are being copied in binary format and that you recompile them on the HP-UX platform (assuming you are using Oracle Forms). The runtime versions will not work on the HP-UX same as on the windows platform...

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Jesse Delk
Frequent Advisor

Re: Share a HP-UX directory with a Windows 2000 machine

Thanks for all your help.

I can connect to the Unix Directory from Windows now. Still need to research some security matters but almost there.