Realm change

Andrew Bartlett abartlet at
Mon Dec 21 22:49:36 UTC 2015

On Thu, 2015-06-11 at 19:12 +0100, Rowland Penny wrote:
> On 11/06/15 18:31, bogdan_bartos wrote:
> > I provisioned a domain with samba4 as "FILESERVER" and the name
> > seemed logic
> > at the time since they had only one server, but as I expanded the
> > network,
> > it seems like it was a bad choice. Is there any way to change it to
> > something more general and logical in this case like... "AD"? Can
> > the realm
> > be changed without re-provisioning?
> > 
> > 
> > 
> > --
> > View this message in context:
> > alm-change-tp4687124.html
> > Sent from the Samba - samba-technical mailing list archive at
> >
> It should be possible, see here:
> x
> I don't think there are any samba tools to do this, you will probably
> have to do it with windows tools, that is if it will work.

I looked into this a little, while wondering what the extra interface
documented in MS-DRSR was.  There is this strange preparescript
interface, and what is done is that a bulk XML set of changes is
uploaded, to be done in a single transaction.

That allows the massive set of updates required to do a rename to
happen 'at once'.

We don't provide that interface yet, but it would be interesting to add
(but I don't have any plans, patches welcome etc).

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team
Samba Development and Support, Catalyst IT

More information about the samba-technical mailing list