Operating System - Linux
1828041 Members
1787 Online
109973 Solutions
New Discussion

Re: Quick Configuration Of Samba

 
John CLARK_5
Frequent Advisor

Quick Configuration Of Samba

Dear friends,

Can you tell me the steps that i must follow to have communication between my server and clietns(Win XP Pro)?
What sould i put in "/etc/smb.conf" ?


Ps : I have Linux Redhat 4 ES.

Thank you in advance for your help.


Best Regards.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Quick Configuration Of Samba

[global]

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = INVESTMENTTOOL
netbios name = shalom
hosts allow = 192.168.0.

# server string is the equivalent of the NT Description field
server string = shalom production server dns1.investmenttool.com


You have to set a workgroup, to make windows life easier set a netbios name.

For security's sake limit your hosts allow.

security = user


Then:

service smb restart

You will need to have user id's set up on both Linux and Windows to make this work.

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
Steven E. Protter
Exalted Contributor

Re: Quick Configuration Of Samba

Yes John, I forgot something.

Its helpful to set up a machine account on the Windows Domain controller for each Linux box.

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
Stuart Browne
Honored Contributor

Re: Quick Configuration Of Samba

If you want an easy way to configure Samba on a Linux box, and you're not comfortable manually editing the config files, enable 'swat' (using 'chkconfig swat on'), and pointing a browser to http://server:901/ .

This will give you a web-based configuration tool (provided by the 'samba-swat' package).
One long-haired git at your service...
Ross Minkov
Esteemed Contributor

Re: Quick Configuration Of Samba


John,

If you don't feel comfortable editing text files under Linux, you can use system-config-samba.

Regards,
Ross