summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-02-06 21:04:20 +0000
committerGerald Carter <jerry@samba.org>2007-02-06 21:04:20 +0000
commit2f8abfbc3908b465fdf5cded4cb33e69782ea344 (patch)
tree54c55b78f73a7c34ffb0ce08f5ed2cf365e35296
parent244d86abdfe1fb9ed59e52ed057bc8a1fea779f9 (diff)
downloadsamba-2f8abfbc3908b465fdf5cded4cb33e69782ea344.tar.gz
samba-2f8abfbc3908b465fdf5cded4cb33e69782ea344.tar.xz
samba-2f8abfbc3908b465fdf5cded4cb33e69782ea344.zip
r21189: 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 044eb650971..20096428288 100644
--- a/source/nsswitch/winbindd_cache.c
+++ b/source/nsswitch/winbindd_cache.c
@@ -827,6 +827,7 @@ static void wcache_save_user(struct winbindd_domain *domain, NTSTATUS status, WI
centry_put_string(centry, info->full_name);
centry_put_string(centry, info->homedir);
centry_put_string(centry, info->shell);
+ centry_put_uint32(centry, info->primary_gid);
centry_put_sid(centry, &info->user_sid);
centry_put_sid(centry, &info->group_sid);
centry_end(centry, "U/%s", sid_to_string(sid_string, &info->user_sid));