[Samba] convert from synology

Rowland Penny rpenny at samba.org
Fri Oct 7 16:10:04 UTC 2022

On 07/10/2022 14:45, Peter Carlson via samba wrote:
> Here is that entry: it in fact has an invalid xidNumber.
> # record 69
> dn: CN=S-1-5-32-544
> cn: S-1-5-32-544
> objectClass: sidMap
> objectSid: S-1-5-32-544
> type: ID_TYPE_GID
> xidNumber: 3208642592
> distinguishedName: CN=S-1-5-32-544
> The other entries appear to be ok.  Would it help for me to send the 
> whole file?
> # record 70
> dn: CN=S-1-5-21-185628584-2620904409-2800336372-1115
> cn: S-1-5-21-185628584-2620904409-2800336372-1115
> objectClass: sidMap
> objectSid: S-1-5-21-185628584-2620904409-2800336372-1115
> type: ID_TYPE_UID
> xidNumber: 3030385755
> distinguishedName: CN=S-1-5-21-185628584-2620904409-2800336372-1115
> Why might this one entry be off?  In fact looking into all of the 
> entries, all of my xids are in the 10 digit range and not 7 digit range 
> 3#########

This is probably down to one word 'Synology'. They take the Samba code 
and 'improve' it (I call it mangling), this is probably one of their 

Do you have a contract with Synology ? If you do, you could ask them why 
you are getting xidNumbers in the '3000000000' range instead of the 
expected Samba '3000000' range ? You could also ask them how you join 
Samba as another AD DC to their version of AD DC.

The other thing you could try, do not use the idmap.lbd from the 
synology device, use the one that the join created, the one that you 
backed up.


More information about the samba mailing list