Amigos ya no doy mas con esto despues de mucho intatnarlo no se que es, pero no tengo permiso de escritura en los recursos compartidos por samba, incluso forzando usuario root.
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
create mask = 0664
directory mask = 0775
[laboratorio]
map hidden = yes
writeable = yes
path = /ghlab/
only user = yes
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