[Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND

Carlos carlos.hollow at gmail.com
Fri May 21 17:44:13 UTC 2021


Hi,

I tried sync idmap.ldb yesterday (but with command tdb backups .bak 
/usr/local/samba/private/idmap.ldb) ante copy dc1 to dc2, but error 
continued.

I runed script:


DC1

INFO 2021-05-21 14:39:06,247 pid:544035 
/opt/samba/lib/python3.8/site-packages/samba/netcmd/testparm.py #96: 
Loaded smb config files from /opt/samba/etc/smb.conf
INFO 2021-05-21 14:39:06,248 pid:544035 
/opt/samba/lib/python3.8/site-packages/samba/netcmd/testparm.py #97: 
Loaded services file OK.
Review the file : default-rights-sysvol.acl, these contains the defaults 
for sysvol.
The sysvol ACLS info.....

Please check your share rights for sysvol from within windows.
If these are incorrect, correct them and run this script again.
Set your sysvol SHARE permissions as followed.
EVERYONE: READ
Authenticated Users: FULL CONTROL
(BUILTIN or NTDOM)\Administrators: FULL CONTROL
(BUILTIN or NTDOM)\SYSTEM, FULL CONTROL
User/Group system is added compaired to a win2008R2 sysvol, you need 
this for some GPO settings.

Set your sysvol FOLDER permissions as followed.
Authenticated Users: Read & Exec, Show folder content, Read
(BUILTIN or NTDOM)\Administrators: FULL CONTROL
(BUILTIN or NTDOM)\SYSTEM, FULL CONTROL


DC2

INFO 2021-05-21 14:37:57,628 pid:38461 
/usr/local/samba/lib/python3.8/site-packages/samba/netcmd/testparm.py 
#96: Loaded smb config files from /usr/local/samba/etc/smb.c
onf
INFO 2021-05-21 14:37:57,628 pid:38461 
/usr/local/samba/lib/python3.8/site-packages/samba/netcmd/testparm.py 
#97: Loaded services file OK.
Review the file : default-rights-sysvol.acl, these contains the defaults 
for sysvol.
The sysvol ACLS info.....

Please check your share rights for sysvol from within windows.
If these are incorrect, correct them and run this script again.
Set your sysvol SHARE permissions as followed.
EVERYONE: READ
Authenticated Users: FULL CONTROL
(BUILTIN or NTDOM)\Administrators: FULL CONTROL
(BUILTIN or NTDOM)\SYSTEM, FULL CONTROL
User/Group system is added compaired to a win2008R2 sysvol, you need 
this for some GPO settings.

Set your sysvol FOLDER permissions as followed.
Authenticated Users: Read & Exec, Show folder content, Read
(BUILTIN or NTDOM)\Administrators: FULL CONTROL
(BUILTIN or NTDOM)\SYSTEM, FULL CONTROL


regards;


Em 21/05/2021 11:37, L.P.H. van Belle via samba escreveu:
> So 2 server, then run the script on both servers and compair the output.
>
> Its possible  idmap.tdb isnt in sync.
>
> Stop samba DC1
> Copy /var/lib/samba/private/idmap.ldb to DC2
>
> Start samba DC1
> Stop samba DC2.
> Put idmap.ldb in its place.
> Start DC2.
>
> Verify again.
>
>
> Greetz,
> Louis
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>> Carlos via samba
>> Verzonden: vrijdag 21 mei 2021 16:00
>> Aan: samba
>> Onderwerp: Re: [Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND
>>
>> Hi!
>>
>> Thanks for answer.
>>
>> I Created for RSAT. I have multiples DCs, with rsync
>> replication sysvol,
>> i look for ID and DC1 is equal for DC2.
>>
>>
>> Regards;
>>
>>
>> Em 21/05/2021 10:55, Rowland penny via samba escreveu:
>>> On 21/05/2021 14:48, Carlos via samba wrote:
>>>> HI!
>>>>
>>>> Any suggestion ?
>>>>
>>>>
>>>> Regards;
>>>>
>>> How did you create the GPO ?
>>>
>>> Rowland
>>>
>>>
>>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>>
>



More information about the samba mailing list