Samba How To, Using “system-config-samba” – Fedora 9

Required packages:

  • samba-3.2.4-0.21.fc9.i386
  • system-config-samba-1.2.63-1.fc9.noarch
  • samba-common-3.2.4-0.21.fc9.i386
  • samba-client-3.2.4-0.21.fc9.i386

Installing the required packages using yum:

#yum -y install samba system-config-samba samba-common samba-clients

Then execute system-config-samba to set the configurations for the samba server. The samba configuration file is /etc/samba/smb.conf






Your samba configuration file (/etc/samba/smb.conf) is going to be something like this:

workgroup = milton
server string = Milton’s Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
cups options = raw
username map = /etc/samba/smbusers

comment = Home Directories
browseable = no
writable = yes

comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes

path = /tmp
writeable = yes
valid users = milton

After a user login using a windows machine, It will have access to two folders, their home directory and the tmp folder.

If you have some problems in the server, just go to the folder /var/log/samba and check the log files:

  • log.nmbd
  • log.smbd

Actually I don’t like to use graphical tools to set up my servers, but this tools can really save you some time.


5 Responses to “Samba How To, Using “system-config-samba” – Fedora 9”

  1. BossaNesta Says:

    hey, we dun need to post this lab in planet..
    u.. blog blaster.. ;-p

  2. Iqbal Says:

    why when i run command

    bash: /etc/samba/smb.conf: Permission denied

    cant you tell me what happen.



  3. Richard Says:


    Try running that command sudo.

    sudo gedit /etc/samba/smb.conf for example.

  4. scholarship Says:


    […]Samba How To, Using “system-config-samba” – Fedora 9 « Milton Paiva’s Weblog[…]…

Leave a Reply to miltonpaiva Cancel reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: