summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-15 21:06:20 +0100
committerVolker Lendecke <vl@samba.org>2007-12-15 22:09:35 +0100
commitf498f661bcd6f2d97d55aa275dcd1eb2cbcda8a4 (patch)
tree1edff490861841796c8f64d25d120ee5302114f5 /source3
parentdb98b921449d8f3d766e5ae2696125d718054a15 (diff)
downloadsamba-f498f661bcd6f2d97d55aa275dcd1eb2cbcda8a4.tar.gz
samba-f498f661bcd6f2d97d55aa275dcd1eb2cbcda8a4.tar.bz2
samba-f498f661bcd6f2d97d55aa275dcd1eb2cbcda8a4.zip
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 3e4148c280efe154c3f8d552731c8b29d6977507)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_sid.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index fcbbbb44d9..344784aee2 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -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);