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.




210 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



210 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 »

New Zealand hits peak broadband data
Posted 18-Jan-2018 12:21


Amazon Echo devices coming to New Zealand early February 2018
Posted 18-Jan-2018 10:53


$3.74 million for new electric vehicles in New Zealand
Posted 17-Jan-2018 11:27


Nova 2i: Value, not excitement from Huawei
Posted 17-Jan-2018 09:02


Less news in Facebook News Feed revamp
Posted 15-Jan-2018 13:15


Australian Government contract awarded to Datacom Connect
Posted 11-Jan-2018 08:37


Why New Zealand needs a chief technology officer
Posted 6-Jan-2018 13:59


Amazon release Silk Browser and Firefox for Fire TV
Posted 21-Dec-2017 13:42


New Chief Technology Officer role created
Posted 19-Dec-2017 22:18


All I want for Christmas is a new EV
Posted 19-Dec-2017 19:54


How clever is this: AI will create 2.3 million jobs by 2020
Posted 19-Dec-2017 19:52


NOW to deploy SD-WAN to regional councils
Posted 19-Dec-2017 19:46


Mobile market competition issues ComCom should watch
Posted 18-Dec-2017 10:52


New Zealand government to create digital advisory group
Posted 16-Dec-2017 08:47


Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39



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.