summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-02-06 21:04:43 +0000
committerGerald Carter <jerry@samba.org>2007-02-06 21:04:43 +0000
commit78c995b35a50e36fae9f9fc91f9b3a72f00eb987 (patch)
tree50fbb64c2894f38ffbd110fd853795be41c87882
parent2f8abfbc3908b465fdf5cded4cb33e69782ea344 (diff)
downloadsamba-78c995b35a50e36fae9f9fc91f9b3a72f00eb987.tar.gz
samba-78c995b35a50e36fae9f9fc91f9b3a72f00eb987.tar.xz
samba-78c995b35a50e36fae9f9fc91f9b3a72f00eb987.zip
r21190: one more place: include the primary gid (left out of last commit)
-rw-r--r--source/nsswitch/winbindd_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd_cache.c b/source/nsswitch/winbindd_cache.c
index 20096428288..908d6ed19ae 100644
--- a/source/nsswitch/winbindd_cache.c
+++ b/source/nsswitch/winbindd_cache.c
@@ -1590,6 +1590,7 @@ static NTSTATUS query_user(struct winbindd_domain *domain,
info->full_name = centry_string(centry, mem_ctx);
info->homedir = centry_string(centry, mem_ctx);
info->shell = centry_string(centry, mem_ctx);
+ info->primary_gid = centry_uint32(centry);
centry_sid(centry, mem_ctx, &info->user_sid);
centry_sid(centry, mem_ctx, &info->group_sid);
status = centry->status;