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:
parent
65b4cb20ea
commit
872a3d3d38
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user