[Samba] Rsync GPOs Erro Sysvol

Carlos A. P. Cunha carlos.hollow at gmail.com
Tue Jun 14 15:19:27 UTC 2016


DC 1 ->

ls -l /opt/samba/var/locks/sysvol/sysvol/
ls: cannot access /opt/samba/var/locks/sysvol/sysvol/: No such file or 
directory

ls -l /opt/samba/var/locks/sysvol/
total 8
drwxrwx---+ 4 root 3000000 4096 Jan  4 17:34 mydominio.local


DC 2 ->

ls -l /opt/samba/var/locks/sysvol/sysvol/
ls: cannot access /opt/samba/var/locks/sysvol/sysvol/: No such file or 
directory

ls -l /opt/samba/var/locks/sysvol/
total 8
drwxrwx---+ 4 root 3000000 4096 Jan  4 17:34 mydominio.local

Thanks

Em 14-06-2016 12:13, lingpanda101 at gmail.com escreveu:
> On 6/14/2016 10:47 AM, Carlos A. P. Cunha wrote:
>>
>> Hello!
>>
>> Rsync:
>>
>> DC1 to DC2
>>
>> rsync  -XAaz --delete-after /opt/samba/var/locks/sysvol/ 
>> root at sambadc-02:/opt/samba/var/locks/sysvol &> /dev/null ; ssh 
>> root at sambadc-02 '/opt/samba/bin/samba-tool ntacl sysvolreset &> 
>> /dev/null'
>>
>> I do not have backup ......
>>
>> Thanks
>>
>>
>> Em 14-06-2016 11:39, lingpanda101 at gmail.com escreveu:
>>> I think you have a issue with your rsync command. Can you post the 
>>> command you are using? Did you make a backup of your sysvol folder 
>>> before using rysnc? 
>>
>
> On your DC2 can you see if you have the following folder structure?
>
> "/opt/samba/var/locks/sysvol/sysvol"
>
> Notice the two sysvol folders mentioned above?
>
> On DC1 do you have contents in your sysvol folder?
>
> -- 
> -James



More information about the samba mailing list