summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-29 21:26:33 +0000
committerVolker Lendecke <vlendec@samba.org>2006-09-29 21:26:33 +0000
commit6af37fc1c6840fb6ad244b00884c81bfd47b3a8c (patch)
tree344abe618df92b52e5b37f32e2849dc88e319185 /source/auth
parent224d6145b850f45f95fc093f71791a931a3237f1 (diff)
downloadsamba-6af37fc1c6840fb6ad244b00884c81bfd47b3a8c.tar.gz
samba-6af37fc1c6840fb6ad244b00884c81bfd47b3a8c.tar.xz
samba-6af37fc1c6840fb6ad244b00884c81bfd47b3a8c.zip
r19008: Fix a segfault
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index 507b3c725be..704f0989e3a 100644
--- a/source/auth/auth_util.c
+++ b/source/auth/auth_util.c
@@ -1202,6 +1202,7 @@ NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username,
num_group_sids = 1;
group_sids = &primary_group_sid;
+ gids = gid;
*found_username = talloc_strdup(mem_ctx, username);
}