s4-drs: validate RODC credentials via the user_sid
commite7262b51d1a8905ba3b874f5d48eab4292ebca4d
authorAndrew Tridgell <tridge@samba.org>
Thu, 22 Apr 2010 06:56:40 +0000 (22 16:56 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 22 Apr 2010 09:36:16 +0000 (22 19:36 +1000)
treef0ee713edc851370524f8c78b850d8d3de8e3f5c
parentbb1ba4ff76eb90d0d62dd3edbe288f45cf7a0a1e
s4-drs: validate RODC credentials via the user_sid

This checks whether a replication client is a RODC by inclusion of the
the DOMAIN_RID_ENTERPRISE_READONLY_DCS sid in the users token

Pair-Programmed-With: Rusty Russell <rusty@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/drsuapi/getncchanges.c