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.


skykissme

219 posts

Master Geek


#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
barf
643 posts

Ultimate Geek


#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



skykissme

219 posts

Master Geek


#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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.