1831111 Members
2651 Online
110020 Solutions
New Discussion

Re: NFS SERVER/CLIENT

 
Miguel Carabano_1
Regular Advisor

NFS SERVER/CLIENT

Hi team,

I need help!

Steps to setup, client/server of NFS
Client: Windows (Software Client)
Server: HPUX

Thanks.

MC
3 REPLIES 3
Kent Ostby
Honored Contributor

Re: NFS SERVER/CLIENT

http://docs.hp.com/en/B2355-90950/ch04s04.html
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Uday_S_Ankolekar
Honored Contributor

Re: NFS SERVER/CLIENT

CIFS or Samba is the product you need.
Install CIFS on HPUX server and clients can be windoze, you cna just map network drive to cifs directory

For more details:
http://docs.hp.com/en/B8725-90093/ch01s04.html

-USA..
Good Luck..
Mridul Shrivastava
Honored Contributor

Re: NFS SERVER/CLIENT

Note: The following setup is not intended for use on systems where security is paramount. However, CIFS/9000 Server can be secured through further configuration.

1. Login as root

2. Install CIFS/9000 Server with swinstall

3. Run the configuration script

# /opt/samba/bin/samba_setup
- Select Security Level: User
- Set the netbios name of your choice
- Enter the hostâ s domain name or workgroup name

Note: The configuration script should only be run once after installation.
To make changes to the configuration edit the configuration files directly or
use the SWAT tool.

4. Edit /etc/opt/samba/smb.conf and verify that the following fields were set to the values selected during the configuration script:

workgroup = {The selected domain name}
server string = {The selected netbios name}
security = user

5. Edit /etc/opt/samba/smb.conf and create one or more shared directories.
Here is an example:

#====== Share Definitions ==============
[homes]
comment = Home Directories
browseable = no

#This one is useful for people to share files
[tmp]
path = /tmp

[example]
path = /test/eg

The string in the square brackets [] is the name by which the shared directory will be publicly referred to; while the "path" string indicates the fully qualified path of the local directory which will be shared.

6. Start CIFS/9000 Server
# /opt/samba/bin/startsmb

7. Start NetBIOS name server. (If you wish the CIFS/9000 Server to be visible on the "Network Neighborhood" view.)
# /opt/samba/bin/nmbd -D

8. The new shared directory can now be found in the "Network Neighborhood" view
and mapped as a regular network drive on your Windows system or CIFS/9000 Client.

What to do if the CIFS/9000 Server fails to authenticate the users?
--------------------------------------------

While attempting to connect to a share on CIFS/9000 Server, the PC client may receive the following error:
"The account is not authorized to login from this station"

This can be caused by the client using an encrypted password, and the CIFS Server expecting an unencrypted (or clear text) password. The situation can be resolved by enabling clear text passwords on the client side, or by enabling encrypted passwords on the CIFS/9000 Server.

Here are the steps:
1. Edit /etc/opt/samba/smb.conf and add the following entry to the "global" section:
encrypt passwords = yes
2. Grant access to the desired users by executing the following command to add them to /var/opt/samba/private/smbpasswd
/opt/samba/bin/smbpasswd -a {unix_username} {unix_password}
3. The shared directories should now be accessible.


How to automatically start the CIFS/9000 Server at boot-up?
--------------------------------------------

1. Edit the /etc/rc.config.d/samba file.
2. Change the last line of the file to: RUN_SAMBA=1
3. The CIFS server will start at the next boot-up.



Here is a link to complete documentation concerning CIFS/9000:

http://www.docs.hp.com/hpux/netcom/index.html#CIFS/9000

Time has a wonderful way of weeding out the trivial