[Samba] samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "

Rowland penny rpenny at samba.org
Tue Feb 2 09:51:03 UTC 2016

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 ?


More information about the samba mailing list