GSOC report 3: Improvements in smbclient backup mode

David Disseldorp ddiss at
Sun Jul 14 17:39:45 MDT 2013

Hi Aurélien,

On Sun, 14 Jul 2013 21:46:06 +0200
Aurélien Aptel <aurelien.aptel at> wrote:

> Hi all,
> This week I've reimplemented most of the tar mode features using
> libarchive. smbclient can now read all the formats supported by
> libarchive (tar, tar.gz, zip, 7z, ...) when restoring an archive.
> Since most of the code in clitar.c used to parse and write tar achives
> and was pretty old and hard to maintain I started from scratch. The
> code is now easier to follow and half the size.

Sounds great!

> It's not complete yet:
> - no interactive mode
> - some tests fail
> - no regex switch

Given the smbclient man page's ambiguity regarding regex support (that
it requires an unused HAVE_REGEX_H), I think it should be sufficient to
simply mark the -r switch as deprecated, document the existing wildcard
support, and move on.

Cheers, David

More information about the samba-technical mailing list