Newsgroup: it.comp.os.linux.sys
Titolo: samba..gnafaccio3!

C'eravamo lasciati prima dlle brevissime vacanze con samba che non ne vuole
sapere di funzionare...
dopo aver provato e riprovato, letto e riletto, la mia domanda è: ma qui
dentro c'è qualcuno che utilizza samba con client WinXp?
Perchè samba in sè funzia, i client WinXp vedono la risorsa di rete, ma non
riescono ad accedere (gli utenti sono stati creati con sambapassword..
username uguale al nome della macchina...gruppo di lavoro creato...).
Ho modificato il registro di WinXp seguendo le istruzioni dei vari siti che
spiegano come utilizzare samba con winXp ma nisba..
idee? o devo lasciare perdere? :-)
mk


Ci sto lavorando proprio in questi giorni...prova a settare in smb.conf
security + share , in questo modo eviti le password, oppure ti sei
dimenticato di configurare la variabile
encrypted password.
Cippa Lippa
--------------------------------
Inviato via 
http://usenet.libero.it

 encrypted password.
Io con WinXP accedo tranquillamente alla macchina Linux, prelevo file, li
salvo ecc ecc.
--
LukeNukem

 cut
settato la passwd di samba per ogni utente con smbpasswd -a nomeutente?

che versione hai di samba?

 ha scritto nel messaggio
news:aki90v$mnb$1...@serv1.albacom.net...

mi puoi spiegare la procedura che hai seguito per configurare il client?
e magari postare il conf si samba?
grazie,
mk

 settato la passwd di samba per ogni utente con smbpasswd -a nomeutente?
sģ
mk

 che versione hai di samba?
2.2.1.a
mk

 wrote:
a me funziona (e con le possword crittate, quindi senza modificare il 
registro di xp, quindi non credo che ci siano problemi in quel senso)
Però se vedi la rete la macchina e non riesci ad accedervi o si tratta
di un porblema di password oppure l'indirizzo della tua macchina xp
non è fra quelli ammessi.
Ad ogni modo nel file di configurazione di samba  puoi specificare il
livello di debug Mettilo a 10
poi vai sotto /var/log/samba e cancella i file di log a questo
punto da xp prova a vare un accesso e vai ad esaminare i
log appena creati. Nel mio caso sono stati molto significativi.
 Ed eventualmente se non li capisci prova a postarli qui sul ng
Questo ad ogni modo è stato il problema che ho avuto io con 
samba.... Magari capita lo stesso anche a tè.
Avevo casualmente installato samba con openldap attivato , ma non
avevo configurato correttamente ldap (che avrebbe dovuto validarmi la
password) quindi non mi faceva accedere. Poichè quest'ultimo non mi
serve ho reinstallato samba escludendolo escludendo il supporto per
openldap

 e magari postare il conf si samba?
Ecco il mio smb.conf:
[Global]
    server string = server Giove con Samba %v
    workgroup = OLIMPO
    encrypt passwords = yes
    security = user
    map to guest = never
    password level = 0
    null passwords = no
    os level = 0
    preferred master = no
[progetti]
    comment = Directory contenente i Progetti
    available = yes
    browseable = yes
    path = /home/progetti
    writable = yes
    valid users = @std
    force create mode = 0775
    force directory mode = 0775
[documenti]
    comment = Directory contenente i Documenti
    available = yes
    browseable = yes
    path = /home/documenti
    writable = yes
    valid users = @std
    force create mode = 0775
    force directory mode = 0775
[backup]
    comment = Directory contenente i Backup
    available = yes
    browseable = yes
    path = /home/backup
    writable = yes
    valid users = administrator
    force create mode =0700
[administrator]
    comment = Directory personale Administrator
    available = yes
    browseable = yes
    path = /home/administrator
    writable = yes
    valid users = administrator
    force create mode = 0775
    force directory mode = 0775
[web]
    comment = Directory WEB Server
    available = yes
    browseable = yes
    path = /var/www
    writable = yes
    valid users = administrator
    force create mode = 0775
    force directory mode = 0775
--
LukeNukem

 dentro c'č qualcuno che utilizza samba con client WinXp?
Io lo uso a rovescio, cioe' monto il volume condiviso sulla mia linux box.
L'accesso da XP a Linxu dopo 3 giorni di cristonate l'ho messo da parte, per 
ora ;-)
Ciaps
-- 
..::Neo@TheZion::.. & Rotella (CBR 600 F Rosso Blu) Da Campi Bisenzio
www.federicocampoli.com
************************************
ICQ #42292922
Webmaster di 
www.thezion.net
Registered Linux User #277621 - 
http://counter.li.org
************************************

  Ed eventualmente se non li capisci prova a postarli qui sul ng
ecco l'errore che mi dà nei log:
[data] smbd/connection.c:yeld_connection(62)
yeld_connection: tdb_delete failed with error Record does not exist
(sulla macchina winXp invece l'errore quando cerco di accedere al servwer
samba è "Impossibile accedere a \\Pippo. L'utente potrebbe non disporre
dell'autorizzazione necessaria per l'utilizzo della risorsa di rete. Per le
autorizzazioni di accesso, contattare l'amministratore del server.
Impossibile trovare il percorso di rete)
mk

yeld_connection: tdb_delete failed with error Record does not exist
sig! non mi dice nulla, 
Questo parametro è settato bene vero?
smb passwd file = /etc/.....
mi interesserebbe sapere se ti funziona 
il comando 
smbpasswd utenteXP
password 
conferma password
Forse lo avevi già detto, ma ho impostato 
una bassa persistenza dei messaggi e non li ho più.

 conferma password
quando do il comando, crea l'utente e gli dà la password..
ecco il log file, dallo start del demone (poi modifica, stop e restart):
[2002/09/02 09:50:48, 0] smbd/server.c:sig_hup(374)
  Got SIGHUP
[2002/09/02 09:52:32, 1] lib/debug.c:debug_message(245)
  INFO: Debug class all level = 10   (pid 2515 from pid 2515)
  doing parameter log file = /var/log/samba/log.%m
  doing parameter max log size = 50
  doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
  doing parameter printcap name = lpstat
  doing parameter logon script = logon.cmd
  doing parameter logon drive = H:
  doing parameter domain logons = Yes
  doing parameter preferred master = True
  doing parameter domain master = True
  doing parameter dns proxy = No
  doing parameter wins support = Yes
  doing parameter printing = cups
[2002/09/02 09:52:32, 2] param/loadparm.c:do_section(2845)
  Processing section "[homes]"
  doing parameter comment = Home Directories
  doing parameter path = /
  doing parameter read only = No
  doing parameter guest ok = Yes
[2002/09/02 09:52:32, 2] param/loadparm.c:do_section(2845)
  Processing section "[printers]"
  doing parameter comment = All Printers
  doing parameter path = /var/spool/samba
  doing parameter create mask = 0700
  doing parameter guest ok = Yes
  doing parameter printable = Yes
  doing parameter print command = lpr-cups -P %p -o raw %s -r   #
using client side printer drivers.
  doing parameter lpq command = lpstat -o %p
  doing parameter lprm command = cancel %p-%j
  doing parameter browseable = No
[2002/09/02 09:52:32, 4] param/loadparm.c:lp_load(3283)
  pm_process() returned Yes
[2002/09/02 09:52:32, 3] param/loadparm.c:lp_add_ipc(1867)
  adding IPC service IPC$
[2002/09/02 09:52:32, 3] param/loadparm.c:lp_add_ipc(1867)
  adding IPC service ADMIN$
[2002/09/02 09:52:32, 2] lib/interface.c:add_interface(85)
  added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
[2002/09/02 09:52:32, 2] lib/interface.c:add_interface(85)
  added interface ip=192.168.0.1 bcast=192.168.0.255
nmask=255.255.255.0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 16384
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 16384
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2002/09/02 09:52:32, 5] lib/hash.c:hash_table_init(72)
  Hash size = 521.
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-32 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-32-546 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-1 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-1-0 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-3 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-3-0 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-0-0 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-11 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-2 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-7 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-21-954794950-2471907762-384239900
   ok
[2002/09/02 09:52:32, 3] smbd/oplock.c:init_oplocks(1200)
  open_oplock_ipc: opening loopback UDP socket.
[2002/09/02 09:52:32, 3] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 0
[2002/09/02 09:52:32, 3]
smbd/oplock_linux.c:linux_init_kernel_oplocks(293)
  Linux kernel oplocks enabled
[2002/09/02 09:52:32, 3] smbd/oplock.c:init_oplocks(1230)
  open_oplock ipc: pid = 2515, global_oplock_port = 1029
[2002/09/02 09:52:32, 4] lib/time.c:TimeInit(110)
  Serverzone is -7200
[2002/09/02 09:52:32, 10] lib/util_sock.c:read_socket_data(472)
  read_socket_data: recv of 4 returned 0. Error = Success
[2002/09/02 09:52:32, 10] lib/util_sock.c:receive_smb(652)
  receive_smb: length < 0!
[2002/09/02 09:52:32, 3] smbd/process.c:timeout_processing(1062)
  end of file from client
[2002/09/02 09:52:32, 3] smbd/sec_ctx.c:set_sec_ctx(316)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/02 09:52:32, 5] smbd/uid.c:unbecome_user(216)
  unbecome_user now uid=(0,0) gid=(0,0)
[2002/09/02 09:52:32, 2] smbd/server.c:exit_server(448)
  Closing connections
[2002/09/02 09:52:32, 1] lib/debug.c:debug_message(245)
  INFO: Debug class all level = 10   (pid 2517 from pid 2517)
  doing parameter log file = /var/log/samba/log.%m
  doing parameter max log size = 50
  doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
  doing parameter printcap name = lpstat
  doing parameter logon script = logon.cmd
  doing parameter logon drive = H:
  doing parameter domain logons = Yes
  doing parameter preferred master = True
  doing parameter domain master = True
  doing parameter dns proxy = No
  doing parameter wins support = Yes
  doing parameter printing = cups
[2002/09/02 09:52:32, 2] param/loadparm.c:do_section(2845)
  Processing section "[homes]"
  doing parameter comment = Home Directories
  doing parameter path = /
  doing parameter read only = No
  doing parameter guest ok = Yes
[2002/09/02 09:52:32, 2] param/loadparm.c:do_section(2845)
  Processing section "[printers]"
  doing parameter comment = All Printers
  doing parameter path = /var/spool/samba
  doing parameter create mask = 0700
  doing parameter guest ok = Yes
  doing parameter printable = Yes
  doing parameter print command = lpr-cups -P %p -o raw %s -r   #
using client side printer drivers.
  doing parameter lpq command = lpstat -o %p
  doing parameter lprm command = cancel %p-%j
  doing parameter browseable = No
[2002/09/02 09:52:32, 4] param/loadparm.c:lp_load(3283)
  pm_process() returned Yes
[2002/09/02 09:52:32, 3] param/loadparm.c:lp_add_ipc(1867)
  adding IPC service IPC$
[2002/09/02 09:52:32, 3] param/loadparm.c:lp_add_ipc(1867)
  adding IPC service ADMIN$
[2002/09/02 09:52:32, 3] smbd/connection.c:yield_connection(50)
  Yielding connection to
[2002/09/02 09:52:32, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
[2002/09/02 09:52:32, 3] smbd/server.c:exit_server(483)
  Server exit (normal exit)
[2002/09/02 09:52:32, 2] lib/interface.c:add_interface(85)
  added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
[2002/09/02 09:52:32, 2] lib/interface.c:add_interface(85)
  added interface ip=192.168.0.1 bcast=192.168.0.255
nmask=255.255.255.0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 16384
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 16384
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2002/09/02 09:52:32, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2002/09/02 09:52:32, 5] lib/hash.c:hash_table_init(72)
  Hash size = 521.
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-32 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-32-546 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-1 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-1-0 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-3 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-3-0 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-0-0 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-11 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-2 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-7 ok
[2002/09/02 09:52:32, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-21-954794950-2471907762-384239900
   ok
[2002/09/02 09:52:32, 3] smbd/oplock.c:init_oplocks(1200)
  open_oplock_ipc: opening loopback UDP socket.
[2002/09/02 09:52:32, 3] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 0
[2002/09/02 09:52:32, 3]
smbd/oplock_linux.c:linux_init_kernel_oplocks(293)
  Linux kernel oplocks enabled
[2002/09/02 09:52:32, 3] smbd/oplock.c:init_oplocks(1230)
  open_oplock ipc: pid = 2517, global_oplock_port = 1029
[2002/09/02 09:52:32, 4] lib/time.c:TimeInit(110)
  Serverzone is -7200
[2002/09/02 09:52:33, 10] lib/util_sock.c:read_socket_data(472)
  read_socket_data: recv of 4 returned 0. Error = Success
[2002/09/02 09:52:33, 10] lib/util_sock.c:receive_smb(652)
  receive_smb: length < 0!
[2002/09/02 09:52:33, 3] smbd/process.c:timeout_processing(1062)
  end of file from client
[2002/09/02 09:52:33, 3] smbd/sec_ctx.c:set_sec_ctx(316)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/02 09:52:33, 5] smbd/uid.c:unbecome_user(216)
  unbecome_user now uid=(0,0) gid=(0,0)
[2002/09/02 09:52:33, 2] smbd/server.c:exit_server(448)
  Closing connections
[2002/09/02 09:52:33, 3] smbd/connection.c:yield_connection(50)
  Yielding connection to
[2002/09/02 09:52:33, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
[2002/09/02 09:52:33, 3] smbd/server.c:exit_server(483)
  Server exit (normal exit)
[2002/09/02 09:52:47, 1] lib/debug.c:debug_message(245)
  INFO: Debug class all level = 10   (pid 2526 from pid 2526)
  doing parameter log file = /var/log/samba/log.%m
  doing parameter max log size = 50
  doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
  doing parameter printcap name = lpstat
  doing parameter logon script = logon.cmd
  doing parameter logon drive = H:
  doing parameter domain logons = Yes
  doing parameter preferred master = True
  doing parameter domain master = True
  doing parameter dns proxy = No
  doing parameter wins support = Yes
  doing parameter printing = cups
[2002/09/02 09:52:47, 2] param/loadparm.c:do_section(2845)
  Processing section "[homes]"
  doing parameter comment = Home Directories
  doing parameter path = /
  doing parameter read only = No
  doing parameter guest ok = Yes
[2002/09/02 09:52:47, 2] param/loadparm.c:do_section(2845)
  Processing section "[printers]"
  doing parameter comment = All Printers
  doing parameter path = /var/spool/samba
  doing parameter create mask = 0700
  doing parameter guest ok = Yes
  doing parameter printable = Yes
  doing parameter print command = lpr-cups -P %p -o raw %s -r   #
using client side printer drivers.
  doing parameter lpq command = lpstat -o %p
  doing parameter lprm command = cancel %p-%j
  doing parameter browseable = No
[2002/09/02 09:52:47, 4] param/loadparm.c:lp_load(3283)
  pm_process() returned Yes
[2002/09/02 09:52:47, 3] param/loadparm.c:lp_add_ipc(1867)
  adding IPC service IPC$
[2002/09/02 09:52:47, 3] param/loadparm.c:lp_add_ipc(1867)
  adding IPC service ADMIN$
[2002/09/02 09:52:47, 6] param/loadparm.c:lp_file_list_changed(2144)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon
Sep  2 09:52:29 2002
[2002/09/02 09:52:47, 2] lib/interface.c:add_interface(85)
  added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
[2002/09/02 09:52:47, 2] lib/interface.c:add_interface(85)
  added interface ip=192.168.0.1 bcast=192.168.0.255
nmask=255.255.255.0
[2002/09/02 09:52:47, 5] lib/hash.c:hash_table_init(72)
  Hash size = 521.
[2002/09/02 09:52:47, 6] lib/charset.c:codepage_initialise(339)
  codepage_initialise: client code page = 850
[2002/09/02 09:52:47, 5] lib/charset.c:load_client_codepage(196)
  load_client_codepage: loading codepage 850.
  Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
  Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
  Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
  Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
  Adding chars 0x84 0x8e (l->u = True) (u->l = True)
  Adding chars 0x86 0x8f (l->u = True) (u->l = True)
  Adding chars 0x91 0x92 (l->u = True) (u->l = True)
  Adding chars 0x87 0x80 (l->u = True) (u->l = True)
  Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
  Adding chars 0x82 0x90 (l->u = True) (u->l = True)
  Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
  Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
  Adding chars 0x8d 0xde (l->u = True) (u->l = True)
  Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
  Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
  Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
  Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
  Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
  Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
  Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
  Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
  Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
  Adding chars 0x94 0x99 (l->u = True) (u->l = True)
  Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
  Adding chars 0x97 0xeb (l->u = True) (u->l = True)
  Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
  Adding chars 0x96 0xea (l->u = True) (u->l = True)
  Adding chars 0x81 0x9a (l->u = True) (u->l = True)
  Adding chars 0xec 0xed (l->u = True) (u->l = True)
  Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
  Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
[2002/09/02 09:52:47, 5] lib/util_unistr.c:load_unicode_map(532)
  load_unicode_map: loading unicode map for codepage 850.
[2002/09/02 09:52:47, 3] smbd/server.c:main(721)
  loaded services
[2002/09/02 09:52:47, 3] smbd/server.c:main(729)
  Becoming a daemon.
[2002/09/02 09:52:47, 8] lib/util.c:fcntl_lock(1313)
  fcntl_lock 7 13 0 1 1
[2002/09/02 09:52:47, 8] lib/util.c:fcntl_lock(1353)
  fcntl_lock: Lock call successful
[2002/09/02 09:52:47, 5] smbd/connection.c:claim_connection(171)
  claiming  100000
[2002/09/02 09:52:47, 3] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 139
[2002/09/02 09:52:47, 2] smbd/server.c:open_sockets(194)
  waiting for a connection
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 1
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 1
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 50532
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 87808
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 1
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 1
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 1
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 16384
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 1
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2002/09/02 09:52:50, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2002/09/02 09:52:50, 6] param/loadparm.c:lp_file_list_changed(2144)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon
Sep  2 09:52:29 2002
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-32 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-32-546 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-1 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-1-0 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-3 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-3-0 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-0-0 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-11 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-2 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-7 ok
[2002/09/02 09:52:50, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-21-954794950-2471907762-384239900
   ok
[2002/09/02 09:52:50, 3] smbd/oplock.c:init_oplocks(1200)
  open_oplock_ipc: opening loopback UDP socket.
[2002/09/02 09:52:50, 3] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 0
[2002/09/02 09:52:50, 3]
smbd/oplock_linux.c:linux_init_kernel_oplocks(293)
  Linux kernel oplocks enabled
[2002/09/02 09:52:50, 3] smbd/oplock.c:init_oplocks(1230)
  open_oplock ipc: pid = 2529, global_oplock_port = 1030
[2002/09/02 09:52:50, 4] lib/time.c:TimeInit(110)
  Serverzone is -7200
[2002/09/02 09:52:51, 10] lib/util_sock.c:read_socket_data(472)
  read_socket_data: recv of 4 returned 0. Error = Success
[2002/09/02 09:52:51, 10] lib/util_sock.c:receive_smb(652)
  receive_smb: length < 0!
[2002/09/02 09:52:51, 3] smbd/process.c:timeout_processing(1062)
  end of file from client
[2002/09/02 09:52:51, 3] smbd/sec_ctx.c:set_sec_ctx(316)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/02 09:52:51, 5] smbd/uid.c:unbecome_user(216)
  unbecome_user now uid=(0,0) gid=(0,0)
[2002/09/02 09:52:51, 2] smbd/server.c:exit_server(448)
  Closing connections
[2002/09/02 09:52:51, 3] smbd/connection.c:yield_connection(50)
  Yielding connection to
[2002/09/02 09:52:51, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 1
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 1
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 50532
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 87808
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 1
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 1
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 1
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 16384
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDLOWAT = 1
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVLOWAT = 1
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDTIMEO = 0
[2002/09/02 09:52:51, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVTIMEO = 0
[2002/09/02 09:52:51, 6] param/loadparm.c:lp_file_list_changed(2144)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon
Sep  2 09:52:29 2002
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-32 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-32-546 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-1 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-1-0 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-3 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-3-0 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-0-0 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-11 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-2 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-7 ok
[2002/09/02 09:52:51, 7] lib/util_sid.c:string_to_sid(415)
  string_to_sid: converted SID S-1-5-21-954794950-2471907762-384239900
   ok
[2002/09/02 09:52:51, 3] smbd/oplock.c:init_oplocks(1200)
  open_oplock_ipc: opening loopback UDP socket.
[2002/09/02 09:52:51, 3] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 0
[2002/09/02 09:52:51, 3]
smbd/oplock_linux.c:linux_init_kernel_oplocks(293)
  Linux kernel oplocks enabled
[2002/09/02 09:52:51, 3] smbd/oplock.c:init_oplocks(1230)
  open_oplock ipc: pid = 2530, global_oplock_port = 1031
[2002/09/02 09:52:51, 4] lib/time.c:TimeInit(110)
  Serverzone is -7200
[2002/09/02 09:52:51, 3] smbd/server.c:exit_server(483)
  Server exit (normal exit)
[2002/09/02 09:52:51, 10] lib/util_sock.c:read_socket_data(472)
  read_socket_data: recv of 4 returned 0. Error = Success
[2002/09/02 09:52:51, 10] lib/util_sock.c:receive_smb(652)
  receive_smb: length < 0!
[2002/09/02 09:52:51, 3] smbd/process.c:timeout_processing(1062)
  end of file from client
[2002/09/02 09:52:51, 3] smbd/sec_ctx.c:set_sec_ctx(316)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/02 09:52:51, 5] smbd/uid.c:unbecome_user(216)
  unbecome_user now uid=(0,0) gid=(0,0)
[2002/09/02 09:52:51, 2] smbd/server.c:exit_server(448)
  Closing connections
[2002/09/02 09:52:51, 3] smbd/connection.c:yield_connection(50)
  Yielding connection to
[2002/09/02 09:52:51, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
[2002/09/02 09:52:51, 3] smbd/server.c:exit_server(483)
  Server exit (normal exit)
[2002/09/02 09:52:57, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 1
[2002/09/02 09:52:57, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 1
[2002/09/02 09:52:57, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/02 09:52:57, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 0
[2002/09/02 09:52:57, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/02 09:52:57, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[20
grazie :-)
mk

  yield_connection: tdb_delete failed with error Record does not exist.
hazz! 
In effetti da quel lunghissimo log che hai postato, l'unica cosa
interessante (almeno per quanto ne capisco io) è quella che
avevi già detto nel messaggio precedente.
ho scritto questo su 
www.google.it
 yield_connection tdb_delete failed
ha me risponde con  trovato 29 link al riguardo, ad una rapida scorsa
sono tutte richieste di aiuto senza risposta (qualcuna in giapponese)
a parte uno che credo contenga il codice sorgente che genera quel
messaggio.
Direi che le righe che generano il messaggio interessate sono quelle
che vanno da 00061 a 00064 (chiaramente la condizione di errore 
è nell IF appena prima)
A naso, non mi sembra che sia un problema di permessi, perchè
altrimenti si fermerebbe alla 00046 ad ogni modo prova a dere il
permesso di lettura scrittura a tutti ai due file delle password)
Noto però che il codice del messaggio e leggermente diverso.
qui c'è un informazione in più che sul tuo...
<< for name %s >> dove in %s viene stampato il valore della variabile
name che potrebbe essere interessante, magari contiene il nome dell pc
windows che per qualche motivo (non dovrebbe tenerne conto, ma magari
problemi maiuscole minuscole) potrebbe essere diverso da quello che tu
hai messo nel file delle password
Io ricompilerei il pacchetto mettendo magari la riga 61-64 uguale a
questa.
e comunque cercherei se è disponibile un aggiornamento o una patch.
ho avuto l'impressione di un bug (nota è solo un sospetto, non ho
trovato riscontri in proposito). 
http://samba.org/doxygen/samba/2.2/connection_8c.html
00042 {
00043         struct connections_key key;
00044         TDB_DATA kbuf;
00045 
00046         if (!tdb) return False;
00047 
00048         DEBUG(3,("Yielding connection to %s\n",name));
00049 
00050         ZERO_STRUCT(key);
00051         key.pid = sys_getpid();
00052         key.cnum = conn?conn->cnum:-1;
00053         fstrcpy(
key.name
, name);
00054         dos_to_unix(
key.name
, True);           /* Convert key to
unix-codepage */
00055 
00056         kbuf.dptr = (char *)&key;
00057         kbuf.dsize = sizeof(key);
00058 
00059         if (tdb_delete(tdb, kbuf) != 0) {
00060                 int dbg_lvl = (!conn && (tdb_error(tdb) ==
TDB_ERR_NOEXIST)) ? 3 : 0;
00061                 DEBUG(dbg_lvl,("yield_connection: tdb_delete for
name %s failed with error %s.\n",
00062                         name, tdb_errorstr(tdb) ));
00063                 return (False);
00064         }
00065 
00066         return(True);
00067 }

 e comunque cercherei se è disponibile un aggiornamento o una patch.
ottimo, grazie mille :-)))
in effetti samba ha versioni più recenti...
com'è il comando (grazie :-P) per installare solo gli aggiornamenti, senza
dover rifare il tutto?
(e senza compilare?)
mk