Monday 10 September 2012

Samba File Shareing


1.       Install samba on your system
2.       Go to /etc/smb.conf
3.       Create a folder for sharing    “mkdir –p /var/www/html/book”
4.       Create a user which you given rights to access it   “adduser test

**
[global]
        workgroup = TEST
        netbios name = BOOKSERVER
        server string = Samba Server Version %v
        log file = /var/log/samba/log.%m
        max log size = 50
        os level = 33
        preferred master = Yes
        local master = No
        security = user 
 [book]
        comment = Book Share
        path = /var/www/html/book
        valid users = test
        writeable = yes
#       write list = test
        directory mode = 0777
        create mask = 0777
For given access to xyz user for sharing:                      smbpasswd –a xyz

1 comment:

  1. Slots Casino in New Jersey - MapYRO
    Slots Casino is a New 서귀포 출장샵 Jersey casino, 이천 출장안마 and you'll find an incredible selection of 밀양 출장샵 casino 속초 출장안마 games and promotions on your 김천 출장샵 favorite slot machines.

    ReplyDelete