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

samba01

samba02

samba03

samba04

samba05

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

[global]
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

[homes]
comment = Home Directories
browseable = no
writable = yes

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

[tmp]
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.

logo_samba

Advertisements

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

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

    cant you tell me what happen.

    trims

    iqbal

  3. Richard Says:

    Iqbal,

    Try running that command sudo.

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

  4. scholarship Says:

    scholarship…

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

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s


%d bloggers like this: