adprep: Add the LDF data needed to upgrade to 2012R2 schema
authorGarming Sam <>
Mon, 2 Oct 2017 21:01:30 +0000 (10:01 +1300)
committerAndrew Bartlett <>
Thu, 14 Dec 2017 07:20:15 +0000 (08:20 +0100)
adprep: Add the LDF data needed to upgrade to 2012R2 schema

This patch adds the LDF files corresponding to the changes that the
Windows Adprep.exe tool makes when upgrading a AD schema to Windows

This is based on information Microsoft has made public on github
( - see the README.txt for more details).

The LDF files 48-56 are for upgrading to Windows Server 2012, and 57-69
are for Windows Server 2012 R2.

Unfortunately, the raw LDF information from Microsoft wasn't enough to
get the schema working. The .diff files contain changes we needed to
make on top of the raw LDF content from Microsoft.

The basic steps to regenerate the .LDF files are documented in the
README.txt file. The files used to generate the .LDF files are in the
WindowsServerDocs/ sub-directory. (The .LDF generation is done at runtime
during provision).

Signed-off-by: Garming Sam <>
Signed-off-by: Tim Beale <>
Reviewed-by: Andrew Bartlett <>
python/samba/ [new file with mode: 0644]
source4/setup/adprep/README.txt [new file with mode: 0644]
source4/setup/adprep/WindowsServerDocs/LICENSE [new file with mode: 0644]
source4/setup/adprep/WindowsServerDocs/LICENSE-CODE [new file with mode: 0644]
source4/setup/adprep/WindowsServerDocs/Sch49.ldf.diff [new file with mode: 0644]
source4/setup/adprep/WindowsServerDocs/Sch50.ldf.diff [new file with mode: 0644]
source4/setup/adprep/WindowsServerDocs/Sch51.ldf.diff [new file with mode: 0644]
source4/setup/adprep/WindowsServerDocs/Sch57.ldf.diff [new file with mode: 0644]
source4/setup/adprep/WindowsServerDocs/Sch59.ldf.diff [new file with mode: 0644]
source4/setup/adprep/WindowsServerDocs/ [new file with mode: 0644]