2012年1月11日 星期三

[Fedora 10] Samba setting


Platform : Fedora 10


1. Install samba

2. Set smb.conf ( Reference  1 )

3. Close SELINUX

vi  /etc/selinux/config 
SELINUX=disabled


4. echo 0 > /selinux/enforce


5. Type "setup" --> setting up firewall to become disable


6. Using another computer --> connect to samba server.

7. Samba Configuration file

#=== Global Settings ===
[global]
        workgroup = MYGROUP
        server string = Samba Server Version %v
        log file = /var/log/samba/log.%m
        max log size = 50
        security = share # ( 3 setting : user, share, domain )
        passdb backend = tdbsam
        load printers = yes
        cups options = raw
        follow symlinks = yes
        wide links      = yes
        unix extensions = no

#=== Share Definitions ===
[homes]
        comment = Home Directories
        browseable = no
        writable = yes

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


[home]
        guest ok = yes
        browseable = yes
        wide links = Yes
        writable = yes
        path = /home/
        follow symlinks = Yes

[temp]                                     
        comment    = Temporary file space  
        path       = /tmp                  
        writable   = yes                   
        browseable = yes

0 意見:

張貼留言