summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-29 21:26:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:57 -0500
commit2b7d1fc7797e3124e3f6e5d579bfc275141f6000 (patch)
treec74555c6ab5515725ccf562abfda4ebdbf2b390e /source3
parent7b7e7dcb8c9b0df48ed3e35619dcf851252612d0 (diff)
downloadsamba-2b7d1fc7797e3124e3f6e5d579bfc275141f6000.tar.gz
samba-2b7d1fc7797e3124e3f6e5d579bfc275141f6000.tar.bz2
samba-2b7d1fc7797e3124e3f6e5d579bfc275141f6000.zip
r19008: Fix a segfault
(This used to be commit adfc82f0e6b12f8ccfe00f3ff49a089a4c936239)
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index fd857a2806..7d6effebc4 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -1200,6 +1200,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);
}