diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-15 11:38:28 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-12-15 09:13:56 -0800 |
commit | 43473c8dedb7302bbce9f87be5ca9ed56ce3a04c (patch) | |
tree | 9b9a3a7d7df80563161ce2b7fb78f9d077f9c94c /source3/groupdb | |
parent | 3cdd8da3ca8466f19e440f0e46e52b53dae6dd45 (diff) | |
download | samba-43473c8dedb7302bbce9f87be5ca9ed56ce3a04c.tar.gz samba-43473c8dedb7302bbce9f87be5ca9ed56ce3a04c.tar.bz2 samba-43473c8dedb7302bbce9f87be5ca9ed56ce3a04c.zip |
Fix a segfault
sid_to_string still expects a fstring
(This used to be commit 1f352cdd1976ad36484e146165df585b88ec5527)
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); |