auth: Use only security_token_is_system to determine that a user is SYSTEM
commite49656e2ee596a481277a5a2c3dd5d3969411c19
authorAndrew Bartlett <abartlet@samba.org>
Sun, 3 Jun 2012 12:34:13 +0000 (3 22:34 +1000)
committerAndreas Schneider <asn@samba.org>
Tue, 19 Jun 2012 08:38:13 +0000 (19 10:38 +0200)
tree73a3810c85f79ad85f23a3f3a20cf7018fe9c3b5
parent873ec60f5406aecdbb1f6a1149af517f21939e43
auth: Use only security_token_is_system to determine that a user is SYSTEM

This removes the duplication on how to detect that a user is system in Samba
now that the smbd system account is also only SID_NT_SYSTEM we can use the same
check everywhere.

Andrew Bartlett

Signed-off-by: Andreas Schneider <asn@samba.org>
librpc/idl/auth.idl
source3/auth/auth_util.c
source3/rpc_server/samr/srv_samr_nt.c
source4/auth/unix_token.c