[Samba] Need the ability to edit Samba SIDs.

Rowland penny rpenny at samba.org
Tue Jul 2 10:10:43 UTC 2019

On 02/07/2019 10:31, Zombie Ryushu via samba wrote:
> I have a Samba problem with eGroupware. Samba 4 is screwing with my
> eGroupware UIDs causing Havoc. Samba 4 uses the last four Digits of the
> SID rather than the UID Number.

If you are running Samba as an AD DC, then Unix UID != RID (what you are 
referring to as the 'last four Digits')

>   I need to know how to alter my user
> entry SID so that the last four digits of the SID is congruent with the
> UID Numbers of my users.
Do not even think of doing this, it will break AD.
> To fix this; I need the ability to edit the last digits of the SID. I've
> tried shutting down the Samba server and using ldbmodify, but that isn't
> working. The SiD is in some sort of strange Hash. pdbedit and samba-tool
> gives me the error: ?? - samldb: objectSid must not be specified!
> I'm, quickly approaching the need to re-provision my entire Domain,
> because I Have already corrected this stuff in my older OpenLDAP system.
> I'd have to re-run Classic Upgrade. I'd rather not lose all my progress.
> Please help!

Classicupgrade is probably the way to go.

Sounds like you need to tell us just how you are running Samba at the 



More information about the samba mailing list