mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Add sid_string_dbg
This makes use of the just added debug_ctx and will kill many
sid_string_static() calls
(This used to be commit 3e4148c280
)
This commit is contained in:
@ -223,6 +223,11 @@ char *sid_string_talloc(TALLOC_CTX *mem_ctx, const DOM_SID *sid)
|
||||
return result;
|
||||
}
|
||||
|
||||
char *sid_string_dbg(const DOM_SID *sid)
|
||||
{
|
||||
return sid_string_talloc(debug_ctx(), sid);
|
||||
}
|
||||
|
||||
char *sid_string_tos(const DOM_SID *sid)
|
||||
{
|
||||
return sid_string_talloc(talloc_tos(), sid);
|
||||
|
Reference in New Issue
Block a user