s4-dsdb: disallow changes based on instanceType
authorAndrew Tridgell <tridge@samba.org>
Fri, 23 Sep 2011 07:28:25 +0000 (17:28 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 4 Oct 2011 04:08:56 +0000 (15:08 +1100)
commitf45147b2d9c6b43913d10871564d03307833fbae
treedadea2a4a9b93a72830c84090429309b3d5326ce
parentd3fa49663f37de4c2c35f43a9cf6844a60531db0
s4-dsdb: disallow changes based on instanceType

if instanceType does not include INSTANCE_TYPE_WRITE, then disallow
changes to any replicated attributes. This ensures partial replicates
are not alterered
source4/dsdb/samdb/ldb_modules/repl_meta_data.c