[Samba] Multithread via Perl

Jeremy Allison jra at samba.org
Wed Jun 1 18:40:09 GMT 2005

On Wed, Jun 01, 2005 at 02:13:18PM -0400, Chao, Simon wrote:
> I am executing a command in a perl script using system($command) to get
> a file from a server. The command is "smbclient [various options and
> login info] 'get <remote file> <local file>'
> I run this perl script 4 times, one after another, with an ampersand (to
> run in background) within a shell script. There seem to be problems. I
> get the file, then zip it up afterwards. The zip is stating that the
> file is not there. When I run this withOUT the ampersand (that is, I run
> the 4 perl scripts in succession versus concurrently, I do not get this
> problem). Is there an issue with concurrent calls using the samba
> client?

Running concurrent separate processes via system() shouldn't cause
problems. There is no known issue here.


More information about the samba mailing list