Operating System - HP-UX
1833777 Members
2415 Online
110063 Solutions
New Discussion

Samba Installation and setup

 
SOLVED
Go to solution
Michael Gim
Advisor

Samba Installation and setup

Can anyone shed some light on how to install and configure Samba on a HP UX server? I have an urgent need for Samba services as there are people using NT based platform workstation that need to use the files located on the server
11 REPLIES 11
malay boy
Trusted Contributor

Re: Samba Installation and setup

Hi,
Couldn't help you much on this.I did once installation long-long time ago and now forget.But here are some link for you to start with:

http://sg.samba.org/samba/samba.html

Have fun

regards
mB
There are three person in my team-Me ,myself and I.
Steven E. Protter
Exalted Contributor
Solution

Re: Samba Installation and setup

On HP-UX, samba was ported from Linux and called CIFS/9000.

I have a lot of experience with and love the product.

docs

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8725-90021/B8725-90021_top.html&con=/hpux/onlinedocs/B8725-90021/00/00/8-con.html&toc=/hpux/onlinedocs/B8725-90021/00/00/8-toc.html&searchterms=Setup%7cInstallation%7cCIFS/9000&queryid=20030512-200357

Install Guide.

http://docs.hp.com/hpux/onlinedocs/netcom/cifs_client_manual.pdf

The software

CIFS/9000

Here is a link to the free software:

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8725AA

If the answer helped, please assign points.

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
Michael Gim
Advisor

Re: Samba Installation and setup

I am unable to add the Unix Server as the member of the domain I wanted to join. Is there any reason that the domain server is residing in another segment of the network and linked through a lease line and router?
John Dvorchak
Honored Contributor

Re: Samba Installation and setup

I have used the same situation you have with leased line and router. The Domain controller aquires it's list of clients/servers from the WINS server. Since the HPUX server is on a different subnet you will have to add it statically to the WINS server's list. If you are not a Domain admin then you will have to have a Domain admin add it for you. All he needs is the IP address and machine name. Then the Domain controller can find it. If not you can always have it's workgroup the same as the domain name and with using WINS for resolution it will still be visable to the clients on the LAN/WAN. At that point you can have the users authenticate to the PDC (Primary Domain Controller) via a setting in CIFS/9000 config. I believe it is smb.conf.
If it has wheels or a skirt, you can't afford it.
Michael Gim
Advisor

Re: Samba Installation and setup

I have successfully added the Unix server to the NT domain. But when I try to browse into the server using the Network Neighbourhood under Windows XP, the server prompt me a password to log in. I am unable to login using either the domain ID and password nor with the HPUX login accounts and passwords.
Francisco J. Soler
Honored Contributor

Re: Samba Installation and setup

Hi,
I think you must add users in samba, to do that perform:
smbadduser user:password

this way you can autentificate to samba with this user and password from XP.

Frank
Linux?. Yes, of course.
Michael Gim
Advisor

Re: Samba Installation and setup

I thought the point of joining the Unix server to the NT domain using Samba is that you can use the login account that exist in the NT domain to login to Samba?
Francisco J. Soler
Honored Contributor

Re: Samba Installation and setup

You can do it in the two ways, but be careful with the plain text passwords.
I was in trouble with the autentication, in some sites i needed to install the .reg files to enable the plain text password http://de.samba.org/samba/ftp/docs/Registry/

Frank.
Linux?. Yes, of course.
Michael Gim
Advisor

Re: Samba Installation and setup

Is there any other way other than a registry hack to put out plain test password? I am worried about the security complications.
John Dvorchak
Honored Contributor

Re: Samba Installation and setup

I don't think you'd like the plain text password option anyway. With it set like that your users will have to provide a password every time they reboot. Plain text passwords are not cached on the local NT (Windoze) clients. You need to enable encrypted passwords and get the PDC to authenticate to make it as seamless as possible to the users.

There are many articals on the web concerning just this topic. Google search on XP to Samba??

Good luck
If it has wheels or a skirt, you can't afford it.
Geoff Wild
Honored Contributor

Re: Samba Installation and setup

You need to use either a /etc/opt/samaba/username.map file and/or set

security = SERVER
password server = yourdomaincontroller

where yourdomaincontroller is the name of your Windows domain controller...

Also make sure valid users is correct..

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.