[Samba] OT: suggestion need on Sync in the windows way.

Bob of Donelson Trophy bob at donelsontrophy.net
Mon Jun 15 05:14:49 MDT 2015


 

For bidirectional sync take a look at Unison (file synchronizer.) 

---

-------------------------

Bob Wooden of Donelson Trophy

615.885.2846 (main)
www.donelsontrophy.com [1]

"Everyone deserves an award!!"

On 2015-06-15 01:04, Min Wai Chan wrote: 

> I agree,
> If the synology uid and gid is working right than nfs would be great. it
> would be easy...
> However, it seem that they have something else running under samba/nfs to
> control the permission on the files/folder...
> 
> I would like to use bidir sync because I like some of the synology feature
> on remote sync and etc which is making remote access much easier compare to
> samba...
> 
> But these sync function don't support remote mount so what I'm thinking is
> to do a bidirection-sync the files over...
> 
> Any suggestion?
> 
> On Mon, Jun 15, 2015 at 2:06 AM, Sébastien Le Ray <sebastien-samba at orniz.org
> 
>> wrote:
> Mount wontt be a solution since you'll force things to one uid/gid Why do you need bidir sync? Le 14/06/2015 20:01, Min Wai Chan a écrit : Hi Sebastien, Rsync is only one way right, any 2 way sync solution? Thank you. Sébastien Le Ray <sebastien-samba at orniz.org> 於 2015年6月15日 星期一寫道: Hi rsync -a should be able to perform chown using usernames rather than uids so your files would still be owned by the right user. Regards Le 14/06/2015 16:48, Min Wai Chan a écrit : Dear All, Sorry to post it here as I don't see any better to post this question I've.... I've have a samba 4 files server (Member server of a AD DC) And also a synology diskstation. The AD DC is a Samba 4 AD DC and it have RFC2307 enable and configured. I would like to sync 2 folder so that they can have the same files contents and also controls. But the synology diskstation don't read the RFC2307 uid and gid, when I ssh to the diskstation, it was using a different uid and gid. so I think that 
 the only
way to fix this is to smb mount... But which users I should mount it so that it and how I should sync it so that all the access control is correct? Any suggestion are welcome. Regards, Min Wai
 

Links:
------
[1] http://www.donelsontrophy.com


More information about the samba mailing list