summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-12-15 15:22:25 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-12-20 23:40:26 +0100
commit131ee1b2dbfab5267bb601d935c6af249d7ec6bd (patch)
treecf8073516419c72bd47a8f5e4b73c36a6dbd538b /source3
parentfc51f82407d2b9716336db39a508cfba395ff65d (diff)
downloadsamba-131ee1b2dbfab5267bb601d935c6af249d7ec6bd.tar.gz
lib: Remove sid_string_dbg
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/lib/util_sid.c11
2 files changed, 0 insertions, 12 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 02463413517..d2f9986c244 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -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);
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index 71a4800d602..57cd76c108d 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -40,17 +40,6 @@ char *sid_to_fstring(fstring sidstr_out, const struct dom_sid *sid)
}
/*****************************************************************
- 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.
*****************************************************************/