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

Samba installation in HPUX 11.11

SOLVED
Go to solution
Nagu SR
Frequent Advisor

Samba installation in HPUX 11.11

Hi,

Could anyone guide me how to install samba in HPUX 11.11. Whcih version to be used? from where to download? Procedure to install? and how to configure?

Regards,
Nagu
8 REPLIES
Suraj K Sankari
Honored Contributor

Re: Samba installation in HPUX 11.11

Solution

Re: Samba installation in HPUX 11.11

May this help you,

TO check the CIFS Software is installed or not.
#swlist -l product| grep -i cifs

Edit the file and make the value 1 to stsrt the smb services at every boot.
#vi /etc/rc.config.d/samba

RUN_SAMBA=1

Configure /etc/opt/samba/smb.conf


#vi /etc/opt/samba/smb.conf {Make the changes as per your requirment}
...

[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4

workgroup = UKDOM1

# server string is the equivalent of the NT Description field

server string = CIFS9000 Samba Server

# this tells Samba to use a separate log file for each machine

# that connects

log file = /var/opt/samba/log.%m

log level = 1

# Security mode. Most people will want user level security. See

# security_level.txt for details.

security = user
#=========================== Share Definitions =========================

[homes]

comment = Home Directories

browseable = no

# This one is useful for people to share files

[tmp]

comment = Temporary file space

path = /tmp

read only = no

[ora1]

comment = Shared Database Directory

path = /ora1

writable = yes

browseable = yes

Verify your smb.conf configuration with the testparm utility

#/opt/samba/bin/testparm

Load smb config files from /etc/opt/samba/smb.conf

Processing section "[homes]"

Processing section "[tmp]"

Processing section "[ora1]"

Loaded services file OK.

Processing comments in /etc/opt/samba/smb.conf




The SMB/CIFS password file does not exist by default. We need to create it and ensure that the permissions are correct. Again

#ll /var/opt/samba/private

#touch /var/opt/samba/private/smbpasswd

#chmod 500 /var/opt/samba/private
#chmod 600 /var/opt/samba/private/smbpasswd
#ll /var/opt/samba/private


#/opt/samba/bin/smbpasswd -a

Start the CIFS daemon

#/sbin/init.d/samba start


Verify the configuration with the smbclient utility

#/opt/samba/bin/smbclient -L localhost -U%
Suraj K Sankari
Honored Contributor

Re: Samba installation in HPUX 11.11

Dear Mr.Sushil Srivastava,

Nice job you should get 10 points for this.

Suraj
Steven E. Protter
Exalted Contributor

Re: Samba installation in HPUX 11.11

Shalom,

Note the CIFS client package from HP requires a reboot, the server package does not.

I recommend they both be installed.

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
Ganesan R
Honored Contributor

Re: Samba installation in HPUX 11.11

Hi,

CIFS client configuration in a glance.

Client configuration for windows:

Install client bundle

1./etc/opt/cifsclient/cifsclient.cfg

Domain="workgroup"

2./etc/rc.config.d/cifsclient
RUN_CLIENT=1

3./sbin/init.d/cifsclient start

4.create mount directory

5.edit /etc/fstab

server:/home /home cifs defaults 0 0

6. Mount -aF cifs

7./opt/cifsclient/bin/cifslogin server username

8.cifslist -A --> list the cifs shares.

9./opt/cifsclient/bin/cifslogout server

10.umount -aF cifs
Best wishes,

Ganesh.
Nagu SR
Frequent Advisor

Re: Samba installation in HPUX 11.11

Hi,

Will test this and let you know in 2-3 days.

But to say, these were really nice responses and hope this works out when I test.

Regards,
Nagu
Nagu SR
Frequent Advisor

Re: Samba installation in HPUX 11.11

Thanks Everyone for the useful guidelines

Yesterday, I installed samba successfully.

Nagu