1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

mapping.tdb: fix creation of entries with GROUP_PREFIX

Macro is no expanded inside literal string.

Michael
This commit is contained in:
Michael Adam 2008-04-04 15:27:51 +02:00
parent 65b4cb20ea
commit 872a3d3d38

View File

@ -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;