[Samba] classic upgrade error "uncaught exception - Unable to add sam account 'guest', "

Andrew Bartlett abartlet at samba.org
Fri Aug 19 09:24:30 UTC 2016


On Mon, 2016-08-15 at 15:46 +0800, xingya xu via samba wrote:
> hello.these days ,I diceded to migrating a Samba NT4 domain to a
> Samba AD
> domain.I follow all the steps as this link "
> https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_domain_to_a_Sa
> mba_AD_domain_(classic_upgrade)
> "
> but I have error when samba-tool domain classic upgrade using
> sernet-samba-4.4.logs like this:

> ERROR(<class 'passdb.error'>): uncaught exception - Unable to add sam
> account 'guest', (-1073741725,User exists)
> 

It means you have a 'guest' account with an incorrect RID in your
existing passdb.  If it had the right RID (<1000) we would have ignored
it, but instead we collide with the proper guest account during the
upgrade.

Just remove it and try again.

Thanks!

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba mailing list