tiago.antunes
(usa Fedora)
Enviado em 08/12/2011 - 13:13h
Olá Pessoal tudo bém ?
estou com dificuldades para instalar configurar um servidor de compartilhamento de arquivos Samba. irei postar o retorno do testparm e se alguém souber debugar o erro abaixo favor me ajudar com a resposta
quando executo o comando testparm surge o seguinte ERRO,
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[netlogon]"
Processing section "[publica]"
WARNING: The "share modes" option is deprecated
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
==== SAMBA ====
# ======================== Configuração Global =========================#
[global]
workgroup = HOFIG
netbios name = PDC-ah
server string = FILE SERVER
# interfaces = lo eth1 192.168.0.6/72
# hosts allow = 127. 192.168.0.
#; add user script = /usr/sbin/useradd "%u" -n -g users
#; add group script = /usr/sbin/groupadd "%g"
add machine script = /usr/sbin/useradd -d /dev/null -g 102 -s /bin/false -M %u
#; delete user script = /usr/sbin/userdel "%u"
#; delete user from group script = /usr/sbin/userdel "%u" "%g"
#; delete group script = /usr/sbin/groupdel "%g"
#--------------------------- Opções de Log -----------------------------#
#log file = /var/log/samba/%m.log
#max log size = 70
#log level = 1
# ----------------------- Standalone Server Options --------------------#
#security = user
#passdb backend = tdbsam
#encrypt passwords = yes
#socket options = TCP_NODELAY, IPTOS_LOWDELAY, SO_KEEPALIVE, SO_SNDBUF=14596, SO_RCVBUF=14596
keepalive = 300
deadtime = 10
logon script = %U.bat
logon path =
#logon drive = w:
domain logons = yes
os level = 100
prefered master = yes
domain master = yes
security = user
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
passwd program = /usr/bin/passwd %u
passwd chat = "*New*UNIX*password*" %n\n "*Retype*new*UNIX*password*" %n\n" *passwd:*all*authentication*tokens*updated*successfully*"
#============================ Lixeira ==============================
#recyclebin options
vfs objects = recycle
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.DBF *.dbf *.ntx *.bat *.DBF *.BAT *.NTX *.SYS
recycle:keeptree = True
recycle:touch = True
recycle:versions = True
recycle:noversions = .doc|.xls|.ppt
recycle:repository = .recycle
recycle:maxsize = 620000
recycle:create mode = 0777
recycle:directory mode = 0777
[netlogon]
comment = Servico de logon
path = /home/netlogon
guest ok = yes
browseable = no
[publica]
path = /publica
comment = Publica
writable = yes
guest ok = no
force create mode = 777
force directory mode = 0777
browseable = yes
valid users = @users
read only = no
dos filemode = yes
dos filetimes = yes
veto oplock files = */*_*.DBF/*.dbf/*.ntx/*.exe/*.bat/*.DBF/*.EXE/*.BAT/*.NTX/*.SYS/
share modes = yes
blocking locks = no
fake oplocks = no
locking = no
oplocks = no
level2 oplocks = no
#oplock contention limit = 2
strict locking = no