[Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND

Carlos
Fri, 21 May 2021 18:28:30 -0000

Yes, in DC1 and DC2, sysvol is equal(i think)

DC1 :

getfacl
/usr/local/samba/var/locks/sysvol/xxx.xxxx.com.br/Policies/\{D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC\}/GPT.INI

getfacl: Removing leading '/' from absolute path names
# file:
usr/local/samba/var/locks/sysvol/xxx.xxx.com.br/Policies/{D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC}/GPT.INI
# owner: 3000008
# group: 3000008
user::rwx
user:3000002:rwx
user:3000006:rwx
user:3000010:r-x
user:3000018:r-x
user:3000776:r-x
group::rwx
group:3000002:rwx
group:3000006:rwx
group:3000008:rwx
group:3000010:r-x
group:3000018:r-x
group:3000776:r-x
mask::rwx
other::---

samba-tool? gpo show {D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC}
GPO????????? : {D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC}
display name : GPO_XXX_XXX_128
path???????? :
\\xxx.xxx.com.br\SysVol\xxxx.xxxx.com.br\Policies\{D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC}
dn?????????? :
CN={D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC},CN=Policies,CN=System,DC=xxxx,DC=xxxx,DC=com,DC=br
version????? : 2359302
flags??????? : NONE
ACL????????? : <hidden>

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

DC2

getfacl
/usr/local/samba/var/locks/sysvol/xxx.xxx.com.br/Policies/\{D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC\}/GPT.INI
getfacl: Removing leading '/' from absolute path names
# file:
usr/local/samba/var/locks/sysvol/xxx.xxxx.com.br/Policies/{D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC}/GPT.INI
# owner: 3000008
# group: 3000008
user::rwx
user:3000002:rwx
user:3000006:rwx
user:3000010:r-x
user:3000018:r-x
user:3000776:r-x
group::rwx
group:3000002:rwx
group:3000006:rwx
group:3000008:rwx
group:3000010:r-x
group:3000018:r-x
group:3000776:r-x
mask::rwx
other::---


samba-tool? gpo show {D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC}
GPO????????? : {D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC}
display name : XXXX_XXXX_UNIDADE_128
path???????? :
\\xxxx.xxxx.com.br\SysVol\xxx.xxxx.com.br\Policies\{D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC}
dn?????????? :
CN={D79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC},CN=Policies,CN=System,DC=grupo,DC=xxxx,DC=com,DC=br
version????? : 2359302
flags??????? : NONE
ACL????????? : <hidden>


========================

regards


Em 21/05/2021 14:58, Rowland penny via samba escreveu:
> On 21/05/2021 18:44, Carlos via samba wrote:
>> 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:
>
>
> GPO's are stored in two places, on disk in the sysvol directory and in
> AD. The error 'NT_STATUS_OBJECT_NAME_NOT_FOUND' usually occurs when
> the GPO is in AD, but not in sysvol. Have you checked the GPO is
> visible in sysvol ?
>
> Rowland
>
>
>