Operating System - HP-UX
1833984 Members
1672 Online
110063 Solutions
New Discussion

Samba User configuration on HP 11.0

 
Sailesh_1
Advisor

Samba User configuration on HP 11.0

Hey folks,

I need help on samba configuration.
One of our User required a Unix directory to be shared and maped on his desktop. Well! I have just installed samba 2.2.2.

Can someone help me with it's configuration and also, how to give access to only that particular user.

Appreciate your help!

Happy new year!

Thanks,
Sailesh


2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Samba User configuration on HP 11.0

I am attaching a smb.conf file that shares /home and /tmp directories, which I map to from my Windows desktop.

Hope it helps.

/sbin/init.d/samba stop
/sbin/init.d/samba start

to make changes available.

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
RAC_1
Honored Contributor

Re: Samba User configuration on HP 11.0

Once you install samba, you need to configure smb.conf file. It is self explainatory and you should not have any problem configuring it.

Add the windows user in samba.(smbpasswd command), set the passwd for user.

Share the directory you want windows user to access.

To allow access to only that user you can use valid users parameter in smb.conf file.

Once done test it with smbclient -L "localhost" -U samba_user
There is no substitute to HARDWORK