[Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND

BEDDA Fadhel fadhel.bedda at gmail.com
Fri May 21 18:44:56 UTC 2021


Hello,
where I can find recent and detailed documentation for the
configuration of a SAMBA domain controller
Thank you



Le ven. 21 mai 2021 à 20:29, Carlos via samba <samba at lists.samba.org> a
écrit :

> 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
> <http://xxx.xxxx.com.br/Policies/%5C%7BD79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC%5C%7D/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
> <http://xxx.xxx.com.br/Policies/%7BD79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC%7D/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
> <http://xxx.xxx.com.br/Policies/%5C%7BD79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC%5C%7D/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
> <http://xxx.xxxx.com.br/Policies/%7BD79B199C-B2CC-4A0C-A0AB-DBF6C8C9FBAC%7D/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
> >
> >
> >
>
> --
> 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