1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

lib: Remove sid_string_dbg

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Volker Lendecke
2018-12-15 15:22:25 +01:00
committed by Andrew Bartlett
parent fc51f82407
commit 131ee1b2db
2 changed files with 0 additions and 12 deletions

View File

@ -467,7 +467,6 @@ bool is_setuid_root(void) ;
/* The following definitions come from lib/util_sid.c */
char *sid_to_fstring(fstring sidstr_out, const struct dom_sid *sid);
char *sid_string_dbg(const struct dom_sid *sid);
bool sid_linearize(uint8_t *outbuf, size_t len, const struct dom_sid *sid);
bool non_mappable_sid(struct dom_sid *sid);
char *sid_binstring_hex_talloc(TALLOC_CTX *mem_ctx, const struct dom_sid *sid);

View File

@ -39,17 +39,6 @@ char *sid_to_fstring(fstring sidstr_out, const struct dom_sid *sid)
return sidstr_out;
}
/*****************************************************************
Useful function for debug lines.
*****************************************************************/
char *sid_string_dbg(const struct dom_sid *sid)
{
char *result = dom_sid_string(talloc_tos(), sid);
SMB_ASSERT(result != NULL);
return result;
}
/*****************************************************************
Write a sid out into on-the-wire format.
*****************************************************************/