Erro no samba

1. Erro no samba

Idalmo Junior
calaff2

(usa CentOS)

Enviado em 31/08/2009 - 09:15h

Segue abaixo o erro:

tail /var/log/messages

Aug 31 08:03:54 server smbd[25888]: [2009/08/31 08:03:54, 0] lib/util_sock.c:read_data(534)
Aug 31 08:03:54 server smbd[25888]: read_data: read failure for 4 bytes to client 192.168.0.26. Error = Conexão fechada peAug 31 08:03:54 server smbd[25888]: [2009/08/31 08:03:54, 0] lib/util_sock.c:write_data(562)
Aug 31 08:03:54 server smbd[25888]: write_data: write failure in writing to client 192.168.0.26. Error Pipe quebrado
Aug 31 08:03:54 server smbd[25888]: [2009/08/31 08:03:54, 0] lib/util_sock.c:send_smb(769)
Aug 31 08:03:54 server smbd[25888]: Error writing 75 bytes to client. -1. (Pipe quebrado)
Aug 31 08:08:52 server named[2307]: lame server resolving '193.74.201.74.in-addr.arpa' (in '74.201.74.in-addr.arpa'?): 77.24$
Aug 31 08:14:11 server smbd[26040]: [2009/08/31 08:14:11, 0] smbd/service.c:make_connection_snum(849)



Segue abaixo meu smb.conf

# Arquivo de Configuracao do Samba
# Definido por : jasonnfedora
# Criado em : 05/09/2005
# Ultima Alteracao em : 12/08/2007
[global]
add machine script = /usr/sbin/useradd -n -d /dev/null -g machines -c 'Machine Account' -s /bin/false %u
workgroup = quantum
netbios name = quantumnet
server string = Servidor Quantumnet
smb ports = 139
dos charset = utf-8
unix charset = utf-8
display charset = utf-8
hosts allow = 192.168.0. 127. 10.10.10.
# announce as = NT Server
printcap name = cups
load printers = yes
use client driver = Yes
printing = cups
cups options = raw
guest ok = Yes
log file = /var/log/samba/log.%m
max log size = 100
null passwords = no
debug level = 4
security = user
guest account = nobody
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = no
passwd program = /etc/samba/smbpasswd %u
pam password change = true
passwd chat debug = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
# socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
#interfaces = 192.168.1.1/255.255.255.0
remote announce = 192.168.0.255

local master = yes
keep alive = 20
os level = 1000
domain master = yes
preferred master = yes
domain logons = yes
logon script = %U.bat
logon path =
# logon path = \\%L\profiles\%U
logon home = \\%L\%U\.profiles
logon drive = U:
wins support = yes
dns proxy = no
time server = yes
kernel oplocks = yes
deadtime = 1
admin users = root
veto files = /*.eml/*.nws/riched20.dll/

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = no
writable = no
printable = yes



[homes]
comment = Home Directories
browseable = no
writable = yes

[netlogon]
comment = Servidor de Scripts
path = /home/netlogon
public = no
writable = no
browsable = yes


[profiles]
path = /home/profiles
read only = no
create mask = 0600
directory mask = 0700

[public]
comment = Arquivos Publicos
path = /quantumnet/public
valid users = @matriz root
browseable = yes
writable = yes
create mask = 0775
directory mask = 0775
; veto files = /*.mp3/*.wma/*.wmv/*.avi/*.mpg/*.exe/*.pif/*.cmd/*.cmd/*.tif/*.bat/*.src/



[financeiro]
comment = Arquivos do Financeiro
path = /quantumnet/financeiro
valid users = @financeiro root
browseable = yes
writable = yes
create mask = 0775
directory mask = 0775
;veto files = /*.mp3/*.wma/*.wmv/*.avi/*.mpg/*.exe/*.pif/*.cmd/*.cmd/*.tif/*.bat/*.src/

#[dvd]
# comment = Drive DVD (Backup)
# path = /media/cdrom
# valid users = @matriz root
# browseable = yes
# writable = no

[backup]
comment = Pasta do backup
path = /backup_completo
valid users = root @matriz
browseable = yes
writable = no



[restore]
comment = Onde vai ser restaurado os arquivos da unidade de fita
path = /HD500GB/restore
valid users = @matriz @financeiro root
browseable = yes



  


2. Re: Erro no samba

Fabio Maran
maran

(usa Debian)

Enviado em 31/08/2009 - 10:47h

Ele para o serviço e o SAMBA não funciona mais, qual o problema que você vem a enfrentar com estes erros?
[]'s


3. samba

Idalmo Junior
calaff2

(usa CentOS)

Enviado em 02/09/2009 - 06:50h

O serviço não para. os clientes apenas não conseguem conectar no compartilhamento.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts