[Samba] fix duplicated sambaSID

Rowland Penny rpenny at samba.org
Thu Aug 2 14:33:14 UTC 2018

On Thu, 2 Aug 2018 16:20:30 +0200
basti mueller via samba <samba at lists.samba.org> wrote:

> Hi,
> I just want to migrate my Samba PDC (with LDAP backend) to a Active
> Directory. On the migration page
> (https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_Domain_to_Samba_AD_(Classic_Upgrade[https://deref-web-02.de/mail/client/IywWde3X0uo/dereferrer/?redirectUrl=https%3A%2F%2Fwiki.samba.org%2Findex.php%2FMigrating_a_Samba_NT4_Domain_to_Samba_AD_%28Classic_Upgrade]))
> is a section "Prevent failure due to duplicate SID's". I executed the
> script and got the following output: Duplicate id:  sambaSID:
> S-1-5-21-3094887387-3947034481-3986156802 How can I fix that?

It would seem that 'sambaSID' is in your ldap database twice.
You will need to search in ldap for the sambaSID and remove the


More information about the samba mailing list