1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00
Garming Sam d66cbca4e1 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
2012R2.

This is based on information Microsoft has made public on github
(Schema-Updates.md - 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 <garming@catalyst.net.nz>
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2017-12-14 08:20:15 +01:00

24 lines
959 B
Plaintext

The Schema updates in this directory were based on information retrieved
from Microsoft's Github:
file: WindowsServerDocs/identity/ad-ds/deploy/Schema-Updates.md
project: https://github.com/MicrosoftDocs/windowsserverdocs/
./WindowsServerDocs/Schema-Updates.md is the version of the file we used (last updated
Jun 1, 2017, commit SHA f79755b75d2810b8a4).
License files (LICENSE and LICENSE-CODE) have also been included in the ./gen
directory for reference.
The ms_markdown.py script was then used to produce the .ldf files.
However, this schema didn't work. The ./gen/*.diff files are the changes
we made on top of this to get the schema working on Samba. If you are
re-generating the .ldf files, to apply the patches, use:
for p in `ls gen/*.diff` ; do patch -p 1 < $p ; done
All this is handled at runtime in the provision code, so that we do
not store patched generated files in git (an alternative would have
been to patch the original markdown).