Código PHP:
Ver original
# See smb.conf.example for a more detailed config file or # read the smb.conf manpage. # Run 'testparm' to verify the config is correct after # you modified it. [global] netbios name = laboratorio load printers = yes cups options = raw printing = cups workgroup = laboratorio os level = 20 printcap name = cups security = user passdb backend = tdbsam [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = root create mask = 0664 directory mask = 0775 [laboratorio] map system = yes map hidden = yes writeable = yes path = /ghlab/ only user = yes write list = pcarrasco force directory mode = 777 force group = root force create mode = 777 force user = root comment = Directorio Raiz Servidor Laboratorio. user = pcarrasco create mode = 777 directory mode = 777