Redes

editar

/etc/samba/smb.conf

[global]
    workgroup = grupodetrabajo
    netbios name = nombreserver
    netbios aliases = nombreserver
    server string = (comentario delserver)
    security = SHARE
    log file = /var/log/samba/%m
    max log size = 50
    hosts allow = 192.168.x.0/24, 127.0.0.1 (el rango ahi)
    hosts deny = 0.0.0.0/0

[etiqueta]
    comment = comentario del recurso
    path = /mnt/ptah del directorio/
    force user = nobody
    force group = nobody
    read only = No
    acl check permissions = No
    guest ok = Yes
    nt acl support = No
    map readonly = no

smbusers

# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest

reiniciar el servicio

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.