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

Min Wai Chan dcmwai at gmail.com
Sun Jun 14 12:01:15 MDT 2015


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
>>
>
>


More information about the samba mailing list