Bug 12238 - Manual forestprep (schema update) to 2012 fails
Summary: Manual forestprep (schema update) to 2012 fails
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-04 13:07 UTC by Marc Muehlfeld
Modified: 2016-09-06 14:22 UTC (History)
1 user (show)

See Also:


Attachments
Logs from the Samba and Windows DCs (97.59 KB, application/x-bzip2)
2016-09-04 13:07 UTC, Marc Muehlfeld
no flags Details
Screenshot adprep.exe /forestprep failure (80.16 KB, image/png)
2016-09-04 13:08 UTC, Marc Muehlfeld
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Muehlfeld 2016-09-04 13:07:34 UTC
Created attachment 12441 [details]
Logs from the Samba and Windows DCs

Description:
The manual forestprep for 2012 R2 schema fails.


Version:
4.6.0pre1-GIT-e0ef054 with patch from Bug #12204.



Steps to reproduce:
- Set up a Samba AD DC
- Join a 2008 R2 DC to the Samba AD
- Move the Schema Master and Infrastructure Master FSMO role to the 2008 R2 DC
  (This is necessary for the 2012 join, because the directory schema is
  updated using the WMI protocol, that Samba does not support yet)
- On the 2008 R2 DC (Has to be the Schema + Infastructure Master):
  - Insert the 2012 R2 installation DVD
  - Open a command line and change into the DVD's directory "support\adprep"
  - Run "adprep.exe /forestprep"



Actual results:
Schema update fails.



Expected results:
Schema update should succeed.



Additional information:
During the dcpromo of the first 2012 R2 DC, the forestprep is executed and succeeds. However using this way, the afterwards executed domainprep run by dcpromo fails and has to be manually executed. See Bug #12237.

We should at least offer one  way that works completely: all done through the 2012 dcpromo or run forestprep/domainprep manually before the join.
Comment 1 Marc Muehlfeld 2016-09-04 13:08:13 UTC
Created attachment 12442 [details]
Screenshot adprep.exe /forestprep failure