ferrarini
(usa Fedora)
Enviado em 28/09/2012 - 14:27h
consegui resolver o problema para você
veja minhas configurações
#======================= Global Settings =====================================
[global]
# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = CASA
# A share allowing administrators to set ACLs on, or access for backup purposes
# all files (as root).
#[admin]
# path = /
# admin users = @"Domain Admins"
# valid users = @"Domain Admins"
# browseable = no
# writeable = yes
# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba/public
; public = yes
; writable = no
; write list = @staff
# Audited directory through experimental VFS audit.so module:
# Uncomment next line.
# vfs object = /usr/lib/samba/vfs/audit.so
# Other examples.
#
# A private printer, usable only by Fred. Spool data will be placed in Fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
# A private directory, usable only by Fred. Note that Fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
[pchome]
# ; comment = PC Directories
# ; path = /m/PC02FILHA/%m ===========você não precisa colocar autorização nos 200 computadores. segue::::
# ; public = yes
#; writable = yes
#hosts deny = 192.168.25.102 =====aqui esta desabilitado mas é o IP que não pode acessar sua distro
hosts allow = 192.168.25. ========== Aqui é a faixa do meu roteador ! todos que estão nessa faixa de endereço estão permitidos a entrar na minha distro !!! mesmo que lá em baixo oh .. o (valid users =m) esteja comentado !! mas se você colocar o (invalid users = m) ai todos usuários m não vão acessar !!!
tudo isso testado e aprovado aqui em meus sistemas !!!
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
[myshare]
comment = Mary's and Fred's stuff
path = /home/m
# valid users = m ======Aqui você coloca todos usuários que podem ser acessados com sua senha
public = no
writable = yes
printable = no
create mask = 0765
# invalid users = m ============Aqui é o usuário que são Bloqueados