summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-04 15:27:51 +0200
committerMichael Adam <obnox@samba.org>2008-04-04 16:47:51 +0200
commit1b3f36b2b503ebcdac331dcb827e36012465ef04 (patch)
tree5d55783366b82c2f5c6cfa052649bdad5d21df35
parentbea4541e11f0664aaa8b62d525e0a02b14fc3afa (diff)
downloadsamba-1b3f36b2b503ebcdac331dcb827e36012465ef04.tar.gz
samba-1b3f36b2b503ebcdac331dcb827e36012465ef04.tar.bz2
samba-1b3f36b2b503ebcdac331dcb827e36012465ef04.zip
mapping.tdb: fix creation of entries with GROUP_PREFIX
Macro is no expanded inside literal string. Michael (This used to be commit 872a3d3d38287ab9cbb260d05777481d94e03539)
-rw-r--r--source3/groupdb/mapping_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c
index 05a473c722..3318f31c4f 100644
--- a/source3/groupdb/mapping_tdb.c
+++ b/source3/groupdb/mapping_tdb.c
@@ -111,7 +111,7 @@ static char *group_mapping_key(TALLOC_CTX *mem_ctx, const DOM_SID *sid)
return NULL;
}
- result = talloc_asprintf(mem_ctx, "GROUP_PREFIX%s", sidstr);
+ result = talloc_asprintf(mem_ctx, "%s%s", GROUP_PREFIX, sidstr);
TALLOC_FREE(sidstr);
return result;