Web lists-archives.com

Re: [Samba] Failed to find domain 'NT AUTHORITY'




Hello Roland

thank for you support

Il 06/11/2017 17:31, Rowland Penny via samba ha scritto:
There is a bug for this:
https://bugzilla.samba.org/show_bug.cgi?id=12164
are there some workarounds ?

Yes, do not use the DC as a fileserver;-)
If you must, don't run a backup system that relies on IDs

A DC has no concept of 'NT AUTHORITY':

root@dc1:~# wbinfo --sid-to-name S-1-5-18
failed to call wbcLookupSid: WBC_ERR_DOMAIN_NOT_FOUND
Could not lookup sid S-1-5-18
root@dc1:~# wbinfo --name-to-sid='NT Authority\SYSTEM'
failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND
Could not lookup name NT Authority\SYSTEM


my DC works different

[root@apamfs2 ~]# wbinfo --sid-to-name S-1-5-18
NT AUTHORITY\SYSTEM 5
[root@apamfs2 ~]# wbinfo --name-to-sid='NT Authority\SYSTEM'
failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND
Could not lookup name NT Authority\SYSTEM
[root@apamfs2 ~]#

???

But a Unix domain member does:

rowland@devstation:~$ wbinfo --sid-to-name S-1-5-18
NT Authority\SYSTEM 5
wbinfo --name-to-sid=NT Authority\\SYSTEM 5
rowland@devstation:~$ wbinfo --name-to-sid='NT Authority\SYSTEM'
S-1-5-18 SID_WKN_GROUP (5)

You could try running the backup on the DC by compressing whatever it
is you are trying to back up into a tarball and copy this to the NAS.

Rowland


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba