Keresés

Hirdetés

Új hozzászólás Aktív témák

  • vargalex

    Topikgazda

    válasz r3dsnake #15583 üzenetére

    Hi!

    Akkor ez legyen a /etc/samba/smb.conf.template-ban:

    [global]
    netbios name = |NAME|
    workgroup = |WORKGROUP|
    server string = |DESCRIPTION|
    syslog = 10
    encrypt passwords = true
    passdb backend = smbpasswd
    obey pam restrictions = yes
    socket options = TCP_NODELAY
    unix charset = UTF-8
    client code page = 852
    dos charset = 852
    display charset = UTF-8
    character set = ISO8859-2
    preferred master = yes
    os level = 20
    security = user
    guest account = nobody
    invalid users = root
    smb passwd file = /etc/samba/smbpasswd
    null passwords = yes

    Ez pedig a /etc/config/samba-ban:

    config samba
    option 'name' 'TP-Link'
    option 'workgroup' 'OpenWrt'
    option 'description' 'TP-Link shares'
    option 'homes' '1'

    config sambashare
    option 'name' 'mnt'
    option 'path' '/mnt'
    option 'read_only' 'no'
    option 'guest_ok' 'no'
    option 'create_mask' '0770'
    option 'dir_mask' '0770'
    #option 'users' 'abc'

    Alex

Új hozzászólás Aktív témák