[Samba] smbclient's tar_re_search broken?

Luis Benvenutto lbenvenu at mendoza.gov.ar
Wed Sep 15 23:49:26 GMT 2004


Thanks a lot for You, Jeremy!
Have sent a copy to fedora list to.
Luis Benvenutto

On Wed, 2004-09-15 at 18:49, Jeremy Allison wrote:
> On Wed, Sep 15, 2004 at 05:20:56PM -0400, Luis Benvenutto wrote:
> > Hi all,
> > My old and stable backup script don't work anymore.
> > It's based on smbclient's tar command using crX parameters for creating
> > archive, excluding files based on basic regular expressions.
> > The box is running Fedora core 2, fully updated:
> > kernel-2.6.8-1.521
> > samba-common-3.0.7-2.FC2
> > samba-client-3.0.7-2.FC2
> > The error is easily reproducible:
> > 
> > smbclient //ntpdc/share -A credfile \
> >  -c "tar crX ntpdc.share.tar *.tmp"
> > 
> > exits with error 139. Output is:
> > 
> > tar_re_search set
> >                 directory \subdir\
> > Segmentation fault
> > 
> > Is regular expression exclusion broken?
> 
> Thanks - I've found the problem. Here is the patch (attached). I've
> committed this to 3.0.x and HEAD. It'll be in the next release.
> 
> Thanks a *lot*,
> 
> Jeremy.



More information about the samba mailing list