[Samba] Change user SID on Samba 4.1

Daniel Carrasco Marín danielmadrid19 at gmail.com
Tue Apr 28 05:39:04 MDT 2015

I had troubles with classicupgrade and linux machines, and i'm creating a
new AD (for now works perfect). I want to keep the same SID of the old AD
to avoid to move all users profiles.

El 28/4/2015 1:07 p. m., "Andrew Bartlett" <abartlet at samba.org> escribió:

> On Tue, 2015-04-28 at 11:27 +0200, Daniel Carrasco Marín wrote:
> > Hi, Is there any way to change the SID of an user on Samba 4.1?. I've
> tried:
> >
> > pdbedit -U newSID -u user
> > pdbedit -u user -U newSID
> > pdbedit --'user SID'=newSID -u user
> >
> > but it shows the user infor without change anything.
> Changing a user's sid is a really bad idea, so in the AD DC (at least)
> is is made quite difficult.
> In particular, it is critical that it remain unique, and be removed from
> the RID pool.  When we do a classicupgrade, we take care to ensure all
> RID pools start above the users we import.  That is really the only time
> it is safe to force a RID.
> Why do you need to change it?
> --
> 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