1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/setup/adprep
Stefan Metzmacher c405f21176 setup/adprep: import the latest {Domain-Wide,Forest-Wide,Read-Only-Domain-Controller,Schema}-Updates.md
We have Domain-Wide-Updates.md and Read-Only-Domain-Controller-Updates.md only
for completeness, they are not parsed/used yet, so we added .unused in
order to avoid confusion in future.

Initially I tried to go with an ms_domain_updates_markdown.py,
but it is easier to add the current updates by hand to
domain_update.py, which will follow in the next commits.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-03-22 22:10:32 +00:00
..
WindowsServerDocs setup/adprep: import the latest {Domain-Wide,Forest-Wide,Read-Only-Domain-Controller,Schema}-Updates.md 2023-03-22 22:10:32 +00:00
fix-forest-rev.ldf provision: RODC revision level should be at 2 2017-12-14 08:20:17 +01:00
README.txt WindowsServerDocs: Update README for clarity 2017-12-20 23:13:11 +01:00
samba-4.7-missing-for-schema45.ldif 2008R2: Missing flags on optional features container for objectVersion 45 2017-12-14 08:20:16 +01:00

The following files in the WindowsServerDocs folder have been sourced from a
Microsoft Github repository.

project: https://github.com/MicrosoftDocs/windowsserverdocs/

License files (LICENSE and LICENSE-CODE) have also been included in the
./WindowsServerDocs directory for reference.


===============================================================================

The Schema updates file is taken from this repository:

file: WindowsServerDocs/identity/ad-ds/deploy/Schema-Updates.md

./WindowsServerDocs/Schema-Updates.md is our current version of the file
(last updated Jun 1, 2017, commit SHA f79755b75d2810b8a4).

The ms_schema_markdown.py script was then used to produce the .ldf files.

However, this schema didn't work. The ./WindowsServerDocs/*.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 WindowsServerDocs/*.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).


===============================================================================

The Forest Wide updates file is taken from this repository:

file: WindowsServerDocs/identity/ad-ds/deploy/RODC/Forest-Wide-Updates.md

./WindowsServerDocs/Forest-Wide-Updates.md is our current version of the file
(last updated Dec 15, 2017, commit SHA f209fb9101ee87107).

The ms_forest_updates_markdown.py script is used to extract the add portions of
the updates. The rest are handled manually in forest_updates.py by interpreting
this documentation (as they are not as well-structured).