s4-dsdb: added dsdb_validate_invocation_id()
authorAndrew Tridgell <tridge@samba.org>
Thu, 22 Apr 2010 04:54:52 +0000 (14:54 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 22 Apr 2010 09:36:16 +0000 (19:36 +1000)
commita06b537cc30cb21e77f58b5e9ea2a8f89c4683e0
tree7af4f72e2fe71b9b3033e764c20b809492ca8849
parent1ecefd74a2b7a6cec0c6ef765669eab0635e5568
s4-dsdb: added dsdb_validate_invocation_id()

this validates that a invocationID matches an account sid

This will be used to ensure that we don't allow DRS replication
from someone a non-DC or administrator

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util.c