[Samba] Rsync GPOs Erro Sysvol

lingpanda101 at gmail.com lingpanda101 at gmail.com
Tue Jun 14 19:32:09 UTC 2016


On 6/14/2016 11:19 AM, Carlos A. P. Cunha wrote:
> 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
>

What are the contents of

ls -l /opt/samba/var/locks/sysvol/mydominio.local

on DC1?

Does it contain the Policies and scripts folders?

-- 
-James



More information about the samba mailing list