B
Brandon McCombs
Hey guys,
I've seen a few other posts about DC replication issues, the newest one
in my list being the error I get, however I know my problem isn't
related to DNS.
I'm actually having other issues and they may all be related but I don't
know. I have the replication issue due to a custom dc policy and it
also causes servers to not be able to grab their policies if I apply it
on the first DC before the other servers get their policy settings.
Basically my setup is that I have a 2 separate (separate networks)
domains with 2 domain controllers and 2 file/print servers ( as far as
servers are concerned) on each domain. I created a custom DC policy in
AD and it works fine for a single DC and when no other servers are in
the domain. WHen 2 DCs exist (as well as fileprint servers) I have to
make sure the 2nd DC and the fileprint servers get updated with their
respective policy setings or otherwise they are never allowed to access
the first DC. After they get their policy then I can run gpupdate on
the first DC so that it gets its settings. That problem exists on both
of thos domains b/c I used the same policies. On one of those domains I
also have ldap replication issues because of something in my custom DC
policy I believe. For some reason ldap replication using Sites and
Services generate access denied errors. File replication service errors
appear as well. Sometimes all 3 default parittions in the directory
fail to replicate, other times the schema and configuration parittions
replicate fine but the main dc component level of the directory gets
access denied (i noticed that when I was fiddling around, not sure what
made 2 out of 3 work compared to when they would sometimes all fail to
replicate).
I know it's not a DNS issue because if I use the default DC policy
everything works. Licenses are also not replicating across the DCs
(this licensing problem is on both domains, the ldap replication is only
on one oddly enough) which may be related to this issue. Basically, I
need to know where is the access denied coming from concerning the ldap
replication. I've looked at permissions on the partitions in AD (using
ADSI) that are being replicated and they are correct. Since the default
DC policy works fine I figured it's just something in my custom policy
but I haven't hit upon what it is yet. When I lookup this issue on
google and visit websites none of them ever mention an issue with a
setting in User Rights Assignment or Security Options in the DC policy
other than Enterprise Domain Controllers needs to be an entry for
"Access this computer from the network" and Administrators have to be
listed for "Give user and machine accounts delegation control" or
something like that. Both of those settings are correct in my policy so
I don't know why else I get access denied.
The relevant services that are running are :
File replication service
licensing logging (for the license issue I brought up)
DFS and
MS software shadow copy (which i just turned on and may have been the
issue but I haven't confirmed that yet).
Am I missing one , like Background Intelligent transfer service or
anything like that? Unneeded services are disabled but maybe i disabled
too many.
I've been testing by opening up AD Sites and Services and forcing a
replication. It fails mainly when the 2nd DC has to contact the 1st DC
to do a replication from 1 to 2 (although sometimes I was good enough to
make it fail both ways but i dont know how). I've tried to run repadmin
and replmon and they all show the access denied error so that has pretty
much been drilled into my head, except I don't know what is actualy
being accessed other than the schema and configuration CNs in LDAP and
their permissions are okay so I don't know what else the problem is. I
also know the 2nd DC had issues being added to the domain because of my
policy and we disabled it and was able to get the 2nd DC added. It
seemed to be fine once I got all the servers with their policy settings
in teh right order. I checked the userAccountControl value for the 2nd
DC and it is the correct one for a DC.
The replication issue is a big one and if we fix that then it may fix
the issue where servers can't get their policy updates unless the first
dc has the custom dc policy disabled. That second issue is a problem
due to the fact if a server has to be rebuilt then for a few minutes the
custom DC policy must be disabled and the default DC policy enabled so
that the new server can have its settings updated and then we have to
reapply the custom DC policy. That presents a security issue.
Oddly enough, we can add workstaions to the domains w/o having a policy
yet and when I run gpupdate on them they can grab the workstation policy
just fine. Sorry for the long post as well but I wanted to try to
include as much info as possible.
thanks for any extra input. this is driving me crazy
Brandon
I've seen a few other posts about DC replication issues, the newest one
in my list being the error I get, however I know my problem isn't
related to DNS.
I'm actually having other issues and they may all be related but I don't
know. I have the replication issue due to a custom dc policy and it
also causes servers to not be able to grab their policies if I apply it
on the first DC before the other servers get their policy settings.
Basically my setup is that I have a 2 separate (separate networks)
domains with 2 domain controllers and 2 file/print servers ( as far as
servers are concerned) on each domain. I created a custom DC policy in
AD and it works fine for a single DC and when no other servers are in
the domain. WHen 2 DCs exist (as well as fileprint servers) I have to
make sure the 2nd DC and the fileprint servers get updated with their
respective policy setings or otherwise they are never allowed to access
the first DC. After they get their policy then I can run gpupdate on
the first DC so that it gets its settings. That problem exists on both
of thos domains b/c I used the same policies. On one of those domains I
also have ldap replication issues because of something in my custom DC
policy I believe. For some reason ldap replication using Sites and
Services generate access denied errors. File replication service errors
appear as well. Sometimes all 3 default parittions in the directory
fail to replicate, other times the schema and configuration parittions
replicate fine but the main dc component level of the directory gets
access denied (i noticed that when I was fiddling around, not sure what
made 2 out of 3 work compared to when they would sometimes all fail to
replicate).
I know it's not a DNS issue because if I use the default DC policy
everything works. Licenses are also not replicating across the DCs
(this licensing problem is on both domains, the ldap replication is only
on one oddly enough) which may be related to this issue. Basically, I
need to know where is the access denied coming from concerning the ldap
replication. I've looked at permissions on the partitions in AD (using
ADSI) that are being replicated and they are correct. Since the default
DC policy works fine I figured it's just something in my custom policy
but I haven't hit upon what it is yet. When I lookup this issue on
google and visit websites none of them ever mention an issue with a
setting in User Rights Assignment or Security Options in the DC policy
other than Enterprise Domain Controllers needs to be an entry for
"Access this computer from the network" and Administrators have to be
listed for "Give user and machine accounts delegation control" or
something like that. Both of those settings are correct in my policy so
I don't know why else I get access denied.
The relevant services that are running are :
File replication service
licensing logging (for the license issue I brought up)
DFS and
MS software shadow copy (which i just turned on and may have been the
issue but I haven't confirmed that yet).
Am I missing one , like Background Intelligent transfer service or
anything like that? Unneeded services are disabled but maybe i disabled
too many.
I've been testing by opening up AD Sites and Services and forcing a
replication. It fails mainly when the 2nd DC has to contact the 1st DC
to do a replication from 1 to 2 (although sometimes I was good enough to
make it fail both ways but i dont know how). I've tried to run repadmin
and replmon and they all show the access denied error so that has pretty
much been drilled into my head, except I don't know what is actualy
being accessed other than the schema and configuration CNs in LDAP and
their permissions are okay so I don't know what else the problem is. I
also know the 2nd DC had issues being added to the domain because of my
policy and we disabled it and was able to get the 2nd DC added. It
seemed to be fine once I got all the servers with their policy settings
in teh right order. I checked the userAccountControl value for the 2nd
DC and it is the correct one for a DC.
The replication issue is a big one and if we fix that then it may fix
the issue where servers can't get their policy updates unless the first
dc has the custom dc policy disabled. That second issue is a problem
due to the fact if a server has to be rebuilt then for a few minutes the
custom DC policy must be disabled and the default DC policy enabled so
that the new server can have its settings updated and then we have to
reapply the custom DC policy. That presents a security issue.
Oddly enough, we can add workstaions to the domains w/o having a policy
yet and when I run gpupdate on them they can grab the workstation policy
just fine. Sorry for the long post as well but I wanted to try to
include as much info as possible.
thanks for any extra input. this is driving me crazy
Brandon