I have a perfectly working network with a few windows machines and samba as a pdc.
I have one problem i would like to understand though: why can`t the users write on the windows` machine partition? They need to be registered as users on the pc to be able to write or am i using some config that is blocking the acess?
Although it can be a good thing i need to solve this as i will probably have to allow write acess on those partitions.
My smb.conf:
Code:
[global]
workgroup = local
netbios name = server
server string = CRUX
passdb backend = tdbsam
security = user
username map = /etc/samba/smbusers
name resolve order = wins bcast hosts
domain logons = yes
preferred master = yes
domain master = yes
local master = yes
wins support = yes
os level = 100
logon drive = Z:
add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
idmap uid = 15000-20000
idmap gid = 15000-20000
template shell = /bin/bash
log level = 3
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
hide unreadable = yes
hide dot files = yes
[homes]
comment = directorio do utilizador
valid users = %S
read only = no
browsable = no
veto files = /*.exe/
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon/
admin users = Administrador
valid users = %U
read only = no
guest ok = yes
writable = no
share modes = no
browsable = no
[producao]
comment = directorio da producao
path = /home/samba/tecnico/producao
public = yes
valid users = @tecnico
force group = tecnico
create mask = 0660
directory mask = 0771
writable = yes
veto files = /*.mp3/*.wma/*.wmv/*.avi/*.mpg/*.wav/*.exe/
case sensitive = yes
preserve case = yes