[Samba] samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
li-mli at gmx.net
Tue Feb 2 11:26:32 UTC 2016
Am Dienstag, 2. Februar 2016, 09:51:03 CET schrieb Rowland penny:
> On 01/02/16 22:24, Markus Dellermann wrote:
> > Hi at all,
> > i´am using samba 4.3.4 as "ad", "migrated by classicupgrade" some time ago
> > from an nt4-domain.
> > By trying
> > samba_upgradedns --dns-backend=BIND9_DLZ
> > i get the following error:
> > Traceback (most recent call last):
> > File "/usr/sbin/samba_upgradedns", line 262, in <module>
> > paths, lp.configfile, lp)
> > File "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py",
> > line
> > 298, in find_provision_key_parameters
> > raise ProvisioningError("Unable to find uid/gid for Domain Admins rid
> > (%s-
> > %s" % (str(names.domainsid), security.DOMAIN_RID_ADMINISTRATOR))
> > samba.provision.ProvisioningError: ProvisioningError: Unable to find
> > uid/gid for Domain Admins rid
> > (S-1-5-21-855155194-824588496-1214258294-500
> > "Domain Admins" seems to be in "ad"
> Domain Admins may be in AD but that is not what is being searched for,
> it is actually searching for Administrator, have you do anything to
> Administrator in AD or idmap.ldb ?
ah, ok -thank your for your answer.
There is a local user named "administrator" in /etc/passwd
There was a username-mapping in /etc/samba/smbusers
#!root = MYDOMAIN\Administrator MYDOMAIN\administrator Administrator
I have changed this two month ago, because that shoudn`t be needed.(?)
Domain-Administrators UID in "aduc" is "10000" -is this korrekt?
In my nt4-domain the domain-administrator was mapped to root and the rid "500"
was assigned to root
Maybe this is missing now?
Do i have to assign this again?
More information about the samba