Hello
There are a couple of problems with smbclient connected with the socket timeout in the select operation. The default value of the timeout in smblib is about 20 seconds. Smbclient does not override this value. So, when a file is big enought, the checking procedure by antivirus can be more that 20 seconds, so samba does not send to smbclient anything and a timeout happens. In this case smbclient is coredumped. This feature is in all the versions of Samba. I think that an additional option where a user could set a timeout he wanted would be well. I attached a patch, that solve this problem(problem with coredump and an additional option). With Best Regards, Sergey Ivanov Software Engineer /Kaspersky Lab.Ltd, __________________________________________________ 10, Geroyev Panfilovtsev Str., 125363, Moscow, Russia Tel.: +7 095 797-8700; Fax: +7 095 948-4331; http://www.kaspersky.com; http://www.viruslist.com
samba-2.2.4-client.patch.gz
Description: Binary data
