1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00
Garming Sam 8519f98677 provision: RODC revision level should be at 2
This number had been mistakenly updated alongside the standard forest
updates revision. This version number appears to be independent of the
other revision levels.

Also add the change to a new .ldf file, which can be used to apply
the schema change to an existing Samba 4.7 (or earlier) instance.
Update the provision/upgrade test to do just this (otherwise it
complains about differences between a new provision and an older Samba
4.0.0 instance).

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:17 +01:00
..

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).