Newsgroup: it.comp.reti.locali
Titolo: Errore configurazione SAMBA

Rete composta da 2 macchine Windows e una Linux con SAMBA SERVER.
Accedendo alla rete da Windows si vede la macchina Linux (Samba
Server) ma non si riesce ad accedere alla direcotry condivisa
configurata in smb.conf
Inoltre provando con il comando smbclient -L nome_macchina_windows
mi ritorna l'errore:
session request to NOME_MACCHINA_WINDOWS failed (Called name not
present)
session request to *SMBSERVER failed (Called name not present)
Superfluo dire che se richiedo i servizi della macchina Linux non mi
da errore e che la rete funziona (ping NOME_MACCHINA_WINDOWS e' OK).
Idee?
Grazie mille.

 session request to *SMBSERVER failed (Called name not present)
nmbd e smbd sono attivi?
Ciao
Luca

 Luca
Grazie,
Andrea

 ha scritto nel messaggio
news:3B65153D...@impactdome.com...


 3.)hai piazzato un public=yes sulla dir che vuoi condividere?
Certamente si. L'errore di cui sotto ora e' sparito. Dal Samba
Server accedo tranquillamente alle macchine Windows, monto gli HD
senza problemi. E' l'inverso che non funziona!!!
Provando da una macchina Windows ad accedere al Samba Server (che
vedo in risorse di rete col giusto nome e nel quale ho condiviso la
directory /home/andrea) mi dice:
"Impossibile accedere a //samba_server
Impossibile trovare il computer o la condivisione. Verificare di
aver digitato il nome corretto e quindi riprovare."
E' un problema di protocolli? NetBeui e TCP sopno ovviamente attivi
funzionando anche la rete interna Windows, come pure le condivisioni
di stampanti.
Cosa sbaglio? Vi allego il smb.conf. Grazie mille.
Andrea
#======================= Global Settings
=====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = IMPACT
# server string is the equivalent of the NT Description field
   server string = Samba Server
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
   hosts allow = 192.168.1.
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   printcap name = /etc/printcap
   load printers = yes
# It should not be necessary to spell out the print system type
unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
   printing = lprng
# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb).
   max log size = 100
# The following is needed to keep smbclient from spouting spurious
errors
# when Samba is built with support for SSL.
   ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS
names
# via DNS nslookups. The built-in default for versions 1.9.17 is
yes,
# this has been changed in version 1.9.18 to no.
   dns proxy = no 
#============================ Share Definitions
==============================
[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
   public = yes
# Un-comment the following and create the netlogon directory for
Domain Logons
[andrea]
   comment = Directory principale Andrea
   path = /home/andrea
   guest ok = yes
   writable = yes
   share modes = yes
   public = yes
# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   printable = yes

io proverei a commentare qualche riga finche non salta fuori il problema e
comincierei con smb.conf più semplice tipo il mio:
 [global]
# workgroup = NT-Domain-Name or Workgroup-Name
# controlla se il pc client appartiene a questo gruppo
workgroup = IMPACT
 # server string is the equivalent of the NT Description field
#  server string = Samba Server
 null password = yes
 # This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
 # following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
# anche questa riga mi ha creato ambiguità io la commenterei per adesso
# hosts allow = 192.168.1.
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
# printcap name = /etc/printcap
# load printers = yes
# solo per non complicare le cose e momentaneamente
 # It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
# printing = lprng
 # this tells Samba to use a separate log file for each machine
# that connects
  log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb).
max log size = 100
# The following is needed to keep smbclient from spouting spurious errors
 # when Samba is built with support for SSL.
# lasia stare le cose complicate finchè i collegamenti non funzionano
# ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
 # Most people will find that this option gives better performance.
 # See speed.txt and the manual pages for details
# socket options = TCP_NODELAY SO_RCVBUF=8192 #
# SO_SNDBUF=8192
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOSm mes
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
# dns proxy = no
 #============================ Share Definitions =========================
[homes]
comment = Home Directories
path= /home
browseable = yes
writable = yes
public = yes
 # Un-comment the following and create the netlogon directory for Domain
Logons
 [andrea]
 comment = Directory_principale_Andrea
 path = /home/andrea
# guest ok = yes
writable = yes
browsable = yes
# share modes = yes
public = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
#[printers]
#   comment = All Printers
#    path = /var/spool/samba
#    browseable = no
# # Set public = yes to allow user 'guest account' to print
#    guest ok = no
#   printable = yes
## x la stampa vediamo dopo
# prova così e poi aggiungi o togli