1850568 Members
3538 Online
104054 Solutions
New Discussion

Re: samba configuration

 
Mugilvannan
Valued Contributor

samba configuration

Dear All,

I am having a machine of hp-ux11.11. I would like to have howto document to start samba in my machine. I am a newbie so it would be helpful to have all basic documents.

Thanks.
If U need a helping hand, U will find one at the end of your arm
6 REPLIES 6
Arunvijai_4
Honored Contributor

Re: samba configuration

Hi Mugil,

Take a look at this manual,
http://docs.hp.com/en/B8725-90021/index.html

[Installing and Administering the CIFS/9000 Server]

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Peter Godron
Honored Contributor

Re: samba configuration

Alzhy
Honored Contributor

Re: samba configuration

0. Make sure you are running the current release of Samba (the HP Built one called HP CIFS Server!) at: http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

1. Edit /etc/rc.config.d/samba to enable auto-start at boot.

2. Make sure :

/etc/services:
swat 901/tcp # SAMBA Web-based Admin Tool
/etc/inetd.conf:
swat stream tcp nowait.400 root /opt/samba/bin/swat swat

Add if not there and HUP (kill -HUP PID_of_Inetd)

3. Via a web browser - connect to http://hpserver_running_samba:901 (use root/pass)

SWAT will give you the best window to learn and configure Samba.

Hakuna Matata.
Geoff Wild
Honored Contributor

Re: samba configuration

I agree with Nelson - swat has an excellent source of documentation.

On HP-UX - definately use HP's CIF's server.

If you are integrating with Active Directory, have a read through my post:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365

Good doc:

http://www.docs.hp.com/en/B8725-90079/B8725-90079.pdf

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
eric roseme
Respected Contributor

Re: samba configuration

For a Newbie looking for a Howto, first look at:

Samba-3 By Example (John Terpstra)

This book has step-by-step instructions for multiple configurations, available from Amazon. A good companion is:

The Official Samba-3 Howto and Reference Guide (John Terpstra)

This is the most comprehensive Samba publication, also on Amazon.

Both books apply to HP CIFS Server, but you should also have the HP CIFS Server Admin Guide and Release Notes, especially for installation. Do not use whatever version your system was delivered with. Go to software.hp.com and download the latest version. To install the latest, you may also need to download and install the LDAP-UX Client, and Kerberos client. It's easy and free.

Eric Roseme
Steven E. Protter
Exalted Contributor

Re: samba configuration

Free software source:
http://software.hp.com

Note some points to pay attention to. If you have a Windows PDC you can join this domain but you must have both the samba client and the samba server installed, even if you do not intend to serve.

The net join command is used to join a domain but requires the PDC administrative password to proceed.

security=domain must be activated in smb.conf to join either an LDAP managed domain or an ADS domain.

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