diff options
Diffstat (limited to 'source3/groupdb')
-rw-r--r-- | source3/groupdb/mapping_tdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c index 2e4ed4623e..fa6e93cf9d 100644 --- a/source3/groupdb/mapping_tdb.c +++ b/source3/groupdb/mapping_tdb.c @@ -394,8 +394,8 @@ static NTSTATUS one_alias_membership(const DOM_SID *member, const char *p; TALLOC_CTX *frame; - sid_to_string(string_sid, member); - slprintf(key, sizeof(key), "%s%s", MEMBEROF_PREFIX, string_sid); + slprintf(key, sizeof(key), "%s%s", MEMBEROF_PREFIX, + sid_string_static(member)); dbuf = tdb_fetch_bystring(tdb, key); |