s4-drs: fixed check for SECURITY_RO_DOMAIN_CONTROLLER
authorAndrew Tridgell <tridge@samba.org>
Tue, 17 Aug 2010 04:11:24 +0000 (14:11 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 17 Aug 2010 11:21:50 +0000 (21:21 +1000)
commit84bedf4028a5c841f08c079bfd20b9111fe52777
tree0fc33b0c1e8a54ea585fe5ccc5626691cc1caa31
parent4e9daa0f032547787a1a1957a6f4f4002aa50371
s4-drs: fixed check for SECURITY_RO_DOMAIN_CONTROLLER

check more than the user_sid, and also check for the right rid value

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/libcli/security/security_token.c