diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-09-17 13:08:59 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-14 02:35:04 +0000 |
commit | deb7c0243663d3fa435531bad77d2897b1d15285 (patch) | |
tree | 61a4500d22c3641aa161dfa4dd053c1527503a7c /source3/utils/net_rpc.c | |
parent | c41bb6e846b61b92295887fcbfa670e3f5fbbb46 (diff) | |
download | samba-deb7c0243663d3fa435531bad77d2897b1d15285.tar.gz samba-deb7c0243663d3fa435531bad77d2897b1d15285.tar.bz2 samba-deb7c0243663d3fa435531bad77d2897b1d15285.zip |
s3 Replace is_sid_in_token() with security_token_has_sid() from common code
The two routines are identical, so there is no need to keep both.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r-- | source3/utils/net_rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index d6fa4ab418..c60887c319 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -4138,7 +4138,7 @@ static void free_user_token(struct security_token *token) static void add_sid_to_token(struct security_token *token, struct dom_sid *sid) { - if (is_sid_in_token(token, sid)) + if (security_token_has_sid(token, sid)) return; token->sids = SMB_REALLOC_ARRAY(token->sids, struct dom_sid, token->num_sids+1); |