Hi, I want close all session on samba at the night for save user profile. I have try to do this with the net command : Net rap session close client_name but nothing effect Someone have an idea please, Thanks
I have a linux machine (1.4GHz) which shares filesystems to two Windows machines, (a) Windows 2000 (300MHz) and (b) Windows XP (2.4GHz). The XP machine, which should be faster, is about 10 times slower than the 2000 machine. Anybody any ideas. Malcolm % cat /etc/samba/smb.conf [global] workgroup = MALCOLM.NET server string = Samba Server cups options = raw interfaces = eth1, 192.168.15.1/255.255.255.0 map to guest = Bad User log level = 3 log file = /var/log/samba/%m time server = Yes socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY printcap name = CUPS add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = Yes os level = 65 preferred master = Yes domain master = Yes locking = Yes posix locking = Yes strict locking = No oplocks = No kernel oplocks = No blocking locks = No veto files = /*.eml/*.nws/riched20.dll/*.{*}/ local master = Yes security = user wins support = yes name resolve order = wins lmhosts hosts bcast
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ronan LANORE escreveu:> Hi, > I want close all session on samba at the night for save > user profile. I have try to do this with the net command :Sorry, I don't understand quite right why are you trying to do this. =)> Net rap session close client_name > but nothing effect > Someone have an idea please,Why don't you restart samba processes/daemons? Kind regards, - -- ////////// // Felipe Augusto van de Wiel <felipe@paranacidade.org.br> // CTI/Suporte - SEDU/PARANACIDADE // http://www.paranacidade.org.br/ ////////// -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFDU6MoCj65ZxU4gPQRAmUOAJ9LnEkNB3pzAre6recCX83dF0QgpwCgoN6k lBUVz+2kPHzCG0XIz4wfxLo=yr9D -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 malcolm escreveu:> I have a linux machine (1.4GHz) which shares filesystems > to two Windows machines, (a) Windows 2000 (300MHz) and > (b) Windows XP (2.4GHz).> The XP machine, which should be faster, is about 10 times > slower than the 2000 machine.Hmmm... I know that the processor speed is really different (eight times faster), but there are other things that you should consider on this, NIC, RAM memory, network infra structure and specially configuration. =)> Anybody any ideas.[...]> socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAYWhat about add: "SO_RCVBUF=8192 SO_SNDBUF=8192" to socket options, in GNU/Linux systems it should bring better results to you. ;) Also came to my mind things like DNS and WINS, which should affect w2k and xp in different ways. Kind regards, - -- ////////// // Felipe Augusto van de Wiel <felipe@paranacidade.org.br> // CTI/Suporte - SEDU/PARANACIDADE // http://www.paranacidade.org.br/ ////////// -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFDU6QzCj65ZxU4gPQRAhAjAKC4Gva9d2fm8aAgC7Dmlrju4LnhawCfeY3S B6WfxmjcLAt/QvXr6rBveBk=g1DC -----END PGP SIGNATURE-----