[Samba] Samba processes lifetime

Matteo Rosati rosati.matteo at gmail.com
Mon Jun 11 10:45:03 GMT 2007


Hi,
i use the "smbstatus -b" command to check the users connected to my
network (the clients are windows XP, and they connect to a samba PDC).
but i notice thar often, even if a user logs-off from windows xp,
using smbstatus i see that he is connected yet. this is very annoying
because i cant obtain raliable informations from smbstatus!
is there a way to set a sort of "lifetime" for samba processes? a wayo
to check "this user is REALLY connected? yes? ok, no? kill the
process!"

here is a sample output:

25943   inttarog      users         bellini_d    (157.138.67.118)
 8784   lauram        presidenza    lauram       (157.138.67.202)
15480   norsk         users         savonarola_d (157.138.67.117) (FALSE!!!)
 6641   demone        laboratorio   157.138.67.150 (157.138.67.150)
13308   valecerbtv    users         tiziano_d    (157.138.67.108)
 8609   federica_p    presidenza    ibm-7d481071513 (157.138.67.209)
15170   onscolit      users         tiepolo_d    (157.138.67.115)
10898   venone        users         carpaccio_d  (157.138.67.120) (FALSE!!!)
 6587   demone        laboratorio   gardenia     (157.138.67.151)
13308   fatina        users         tiziano_d    (157.138.67.108)
13269   giacomo       users         guardi_d     (157.138.67.116)
 6639   demone        laboratorio   157.138.67.150 (157.138.67.150)
 6474   lallo         presidenza    claudio_o    (157.138.67.200)
 6466   francescac    presidenza    presidenza2  (157.138.67.208)
13070   norsk         users         brunelleschi_d (157.138.67.113)
 6640   demone        laboratorio   157.138.67.150 (157.138.67.150)
10898   lucky         users         carpaccio_d  (157.138.67.120)
 8795   norsk         users         mantegna_d   (157.138.67.104) (FALSE!!!)
25943   cannipede     users         bellini_d    (157.138.67.118)
 6642   demone        laboratorio   157.138.67.150 (157.138.67.150)
12884   francescac    presidenza    eleonora1    (157.138.67.203)
 4361   demone        laboratorio   cavalcanti   (157.138.67.152)
 8795   morgana       users         mantegna_d   (157.138.67.104)
25525   etnos         users         tintoretto_d (157.138.67.109)

the entries with "FALSE" are users thar are not connected, so is a
pending process...

thanks everybody

-- 
Matteo Rosati
Web: http://wwwstud.dsi.unive.it/~mrosati
PGP: http://wwwstud.dsi.unive.it/~mrosati/pgp.html
GNU/Linux registered user #398557


More information about the samba mailing list