duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] CIFS support?


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] CIFS support?
Date: Sun, 23 Mar 2008 10:50:19 -0500
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Peter Schuller wrote:
>> Would is be possible to get a cifs:// backup scheme, so duplicity
>> manages the connection and the read/write operations itself rather than
>> through a filesystem mount?
> 
> SMB/CIFS seems pretty complex, but that said the operations that duplicity 
> needs are very simple in nature. I suppose that if there exists a library 
> implementation of the protocol that is suitable for use from Python it would 
> not necessarily be entirely unrealistic.
> 
> I Googled and found a modern Java library, and some very old (1999) talk of 
> libsmb. Does anyone know if there are suitable libraries usable today? A 
> quick google/website check on samba did not yield anything entirely obvious, 
> as to whether there is a documented stand-alone library.

I think this is the first time anyone has had the idea to go directly to
the CIIFS protocol rather than just working with a share.  I would think
that libsmb* would be fairly well documented for the developers of Samba
and should be available to us.

The smbclient source would be a good place to see how things are put
together and maybe lift some code from it.  Then we develop a Python
interface to the C libraries and go from there.  A fair amount of work
would be involved in all this.

I know it could be done, but it may be best to work with the Samba folks
to chase down why the mount does not work as well as it should.  There
are perhaps things that could be set during the mount that would help.
It also may be that we could use smbclient like we use ncftp.

In the long run I would rather us work with the Samba folks to make
their product better than go off and do an end run that is not likely to
bear much success if the underlying foundation is not all that strong.

...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]