Restored support for initial databases
This commit is contained in:
parent
8860b4cbcc
commit
a0ca560659
|
@ -176,6 +176,9 @@
|
|||
this.ServerReference = context.DistinguishedNameResolver.Resolve(this.ServerReferenceDNT.Value);
|
||||
}
|
||||
|
||||
// The crossRefContainer does not exist in initial DBs, as it is created during dcpromo.
|
||||
if (this.State != DatabaseState.Boot)
|
||||
{
|
||||
// Construct crossRefContainer DN (CN=Partitions,CN=Configuration,...)
|
||||
var crossRefContainer = new DistinguishedName(CrossRefContainerRDN);
|
||||
crossRefContainer.AddParent(this.ConfigurationNamingContext);
|
||||
|
@ -210,6 +213,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int NTDSSettingsDNT
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue