mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli: Remove unused security_token_is_sid_string()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
5b331443d0
commit
ef990008f2
@ -74,20 +74,6 @@ bool security_token_is_sid(const struct security_token *token, const struct dom_
|
||||
return false;
|
||||
}
|
||||
|
||||
bool security_token_is_sid_string(const struct security_token *token, const char *sid_string)
|
||||
{
|
||||
bool ret;
|
||||
struct dom_sid sid;
|
||||
|
||||
ret = dom_sid_parse(sid_string, &sid);
|
||||
if (!ret) {
|
||||
return false;
|
||||
}
|
||||
|
||||
ret = security_token_is_sid(token, &sid);
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool security_token_is_system(const struct security_token *token)
|
||||
{
|
||||
return security_token_is_sid(token, &global_sid_System);
|
||||
|
@ -41,8 +41,6 @@ void security_token_debug(int dbg_class, int dbg_lev, const struct security_toke
|
||||
|
||||
bool security_token_is_sid(const struct security_token *token, const struct dom_sid *sid);
|
||||
|
||||
bool security_token_is_sid_string(const struct security_token *token, const char *sid_string);
|
||||
|
||||
bool security_token_is_system(const struct security_token *token);
|
||||
|
||||
bool security_token_is_anonymous(const struct security_token *token);
|
||||
|
Loading…
Reference in New Issue
Block a user