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

Samba Configuration on HP-UX 11i

 
Frequent Advisor

Samba Configuration on HP-UX 11i

Hi,

I have windows 2k3 domain with user ids on it, I want to configured the samba on HP-UX 11i server so all users log on to winnt domain can able to access the shared directories on HP-UX server.
Please suggest what will be my smb.conf files setting.

Thanks a lot.
Regards
VB
7 REPLIES 7
Exalted Contributor

Re: Samba Configuration on HP-UX 11i

Shalom,

Change security=domain

Restart the samba deamon

net join

You will need a windows administrator password to join the 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
Frequent Advisor

Re: Samba Configuration on HP-UX 11i

Hi,


I dont understand when you mean: net join ....type this command????

I m Domain admin....

VB
Honored Contributor

Re: Samba Configuration on HP-UX 11i

run /opt/samba/bin/samba_setup for a guided configuration , it is pretty much straight forward and easy
Respected Contributor

Re: Samba Configuration on HP-UX 11i

If you want to use Kerberos, then you need to sync up some configuration files. Use this whitepaper and just follow the directions and smb.conf example in chapter 4:

http://docs.hp.com/en/14985/HPCIFSKerberosV105.pdf

If you want to learn how to use the Windows 2003DC to store both your HP-UX ID and your Windows IDs (you need both for CIFS/Samba), then use this whitepaper (with smb.conf examples):

http://docs.hp.com/en/16322/CIFSUnifiedLoginV2.pdf

Review: With CIFS/Samba on HP-UX, the Windows DC will *authenticate* a user logon, but the HP-UX system needs a local user to "authorize" a user to access files and directories. You can configure CIFS/Samba to authorize with "username.map" (simplest), "winbind" (easy to set up, hard to maintain), or Unified Login (hard to set up, easy to maintain).

Eric
Exalted Contributor

Re: Samba Configuration on HP-UX 11i

Shalom VB,

From the Unix system.

net join

You set security=domain in the smb.conf file and you as root run the net join command and will then be prompted for a Windows Administrator password.

Then wala, chef of the future the Unix system is integrated in the domain.

Document version.

http://docs.hp.com/en/5990-5133/index.html

As the windows domain administrator all you have to do is hand out the password.

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
Occasional Contributor

Re: Samba Configuration on HP-UX 11i

Oh and the log files are in /var/opt/samba in case someone wondering. Hope this helps.

Frequent Advisor

Re: Samba Configuration on HP-UX 11i

For domain I use:

 

$ /opt/samba/bin/net rpc join -U username