1. Un log para que diga quien borro algun archivo de las carpetas compartidas de samba.
2. Que salga el nombre de la persona que creo el archivo en propiedades.
3. Que cada subcarpeta de la carpeta compartida "Documentos" tenga sus respectivos permisos segun la unidad.
Por favor si me pueden ayudar se les agradece, les pego mi archivo de configuracion smb.conf
Código:
#======================= Global Settings ===================================== [global] passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* delete user from group script = /usr/sbin/groupmod -R %u %g passwd program = /usr/bin/passwd %u dns proxy = no netbios name = SERVIDOR default = netlogon local master = yes preferred master = yes workgroup = her.local debug level = 1 os level = 34 security = user add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u delete user script = /usr/sbin/userdel -r %u max log size = 50 log level = 4 log file = /var/log/samba/%m.log smb passwd file = /etc/samba/smbpasswd add group script = /usr/sbin/groupadd %g socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/groupmod -A %u %g client ntlmv2 auth = yes logon drive = H: client use spnego = yes null passwords = yes domain master = yes encrypt passwords = yes winbind use default domain = no logon home = template shell = /bin/false wins support = true server string = Servidor Hospital El Rosario unix password sync = yes logon path = client lanman auth = no add user script = /usr/sbin/useradd -m %u bind interfaces only = Yes domain logons = yes domain admin group = @sysadmin admin users = @sysadmin printer admin = @sysadmin #============================ Share Definitions ============================== [netlogon] locking = no writeable = yes path = /etc/samba/netlogon force directory mode = 777 force group = root force create mode = 777 force user = root comment = Servicios de Logon de Red public = no share modes = yes browsable = yes [Documentos] vfs objects = recycle audit writable = yes path = /var/docs force directory mode = 0777 force group = root recycle:exclude = *.att|*.mai|*.ini|*.ini|*.exe|*.idx|*.tmp|*.mp3|*.jpg|~$* recycle:keeptree = true force create mode = 0777 force user = root comment = Documentos Hospital El Rosario public = yes [Produc] comment = Drivers writable = yes public = yes path = /usr/prod [Aplicaciones] vfs objects = recycle audit writable = yes path = /var/aplic force directory mode = 0777 force group = root recycle:keeptree = true force create mode = 0777 recycle:exclude = *.att|*.mai|*.ini|*.ini|*.exe|*.idx|*.tmp|*.mp3|*.jpg|~$* force user = root comment = Aplicaciones de Hospital El Rosario public = yes [Desarrollo] vfs objects = recycle audit writable = yes path = /usr/desarr force directory mode = 0777 recycle:exclude = *.att|*.mai|*.ini|*.ini|*.exe|*.idx|*.tmp|*.mp3|*.jpg|~$* force create mode = 0777 recycle:keeptree = true public = yes [Prueba] force create mode = 0777 writable = yes public = yes path = /usr/pru force directory mode = 0777 [Public] force create mode = 0777 force user = root writable = yes public = yes path = /usr/pub force directory mode = 0777 force group = root [BdAccess] recycle:touch = yes vfs objects = recycle audit writable = yes path = /usr/bda force directory mode = 755 force group = root recycle:keeptree = yes recycle:exclude = *.att|*.mai|*.ini|*.ini|*.exe|*.idx|*.tmp|*.mp3|*.jpg|~$* force create mode = 755 force user = root comment = Bases de Datos Access Hospital El Rosario public = yes recycle:versions = yes recycle:repository = .recycle/%U [imagenes] force create mode = 777 force user = root browseable = no writable = yes public = yes path = /usr/imagenes force directory mode = 777 force group = root