Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


216 posts

Master Geek


Topic # 8119 5-Jun-2006 12:59
Send private message

Hi All

I'm trying to config Samba Server on RedHat 7.2 to work with Win98, W2K, and XP with a Proxy server as part of CTC course.

I don't really understand the concept and how to get through the configuration. Could anyone PM me with some explaination on smb.conf config. Or some example I can have a look at.

I try reading the RedHat manual and Samba build-in  Manual. But not clear about it. Please help.

Thank you

Pimmy




We'll never be too old to learn, and we learn at least one new thing every day.

Create new topic
643 posts

Ultimate Geek


Reply # 37734 5-Jun-2006 17:13

using a text editor, edit the file /etc/samba/smb.conf
there are easier ways and even GUIs to do this, but you always learn more by learning how to do it the 'old-skool way' first
the smb.conf file is split into a [global] configuration section and per-share configuration(s)
if you have a smb.conf that is full of comments and example configurations, rename it (mv) and start with a new, blank smb.conf
lets look at a simple smb.conf
----- begin smb.conf ----
[global]
workgroup = WORKGROUP
server string = Test Samba Server
security = share

[warez]
path = /home/warez
comment = My Warez
writable = no
public = yes
----- end smb.conf ------
if you have a little intuition the function of most of these lines should be clear or even obvious, what will need explaining is the security line
the access-control to the 'warez' share (a share is in this example is [warez] and the lines below) is controlled by the 'public = yes' parameter

using security = share is the easiest way to get your samba server up and running. user-based access (security = user) and replacing a domain controller I dont want to get into right away ;-)

once you've edited your smb.conf don't forget to run '/etc/init.d/smb restart' to activate the changes to the configuration file.




Sniffing the glue holding the Internet together



216 posts

Master Geek


Reply # 37884 7-Jun-2006 12:24
Send private message

Thank you very much barf. I finally found the problem on RH7.2 that stop it from working properly. Something to do with hostname, it's not saving the change, as soon as I restart the daemon, hostname got switch back to default. But all beside that, it's working. Thank you again.




We'll never be too old to learn, and we learn at least one new thing every day.

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.