From ec9cf2e93641ef752be662d4cc9d422d0472821c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 21 Mar 2018 20:25:09 +0100 Subject: [PATCH] s3:lib: Fix probably a copy&paste error in namemap_cache_set_sid2name() BUG: https://bugzilla.samba.org/show_bug.cgi?id=13350 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- source3/lib/namemap_cache.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source3/lib/namemap_cache.c b/source3/lib/namemap_cache.c index 0d6ed32abc5..38f7a2ddc88 100644 --- a/source3/lib/namemap_cache.c +++ b/source3/lib/namemap_cache.c @@ -53,7 +53,6 @@ bool namemap_cache_set_sid2name(const struct dom_sid *sid, } snprintf(typebuf, sizeof(typebuf), "%d", (int)type); - snprintf(keybuf, sizeof(keybuf), "SID2NAME/%s", sidbuf); ret = strv_add(talloc_tos(), &val, domain); if (ret != 0) { -- 2.11.0