s4-dsdb: don't change replPropertyMetaData if the value hasn't changed
authorAndrew Tridgell <tridge@samba.org>
Mon, 15 Feb 2010 11:49:35 +0000 (22:49 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 15 Feb 2010 12:22:48 +0000 (23:22 +1100)
commit4edbb255998269f848636669c6d358f194c5eedd
tree7681cb8798e1fd398f17c683adc7d0c2ecc2cef7
parent694ab7c5fffa6a4599ee1d80717f11b8ae7983a1
s4-dsdb: don't change replPropertyMetaData if the value hasn't changed

When updating replPropertyMetaData, check if the value being stored is
the same as the current value, and skip the update if it is.

This is based on a patch by Fernando J V da Silva <fernandojvsilva@yahoo.com.br>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c