From 39f13b3bf5b3cf79f5f16575403f03b539300dc7 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 14 Aug 2013 17:13:13 +0200 Subject: fill_initgr: add original primary GID if available In some cases when MPG domains are used the information about the original primary group of a user cannot be determined by looking at the explicit group memberships. In those cases the GID related to the original primary group is stored in a special attribute of the user object. This patch adds the GID of the original primary group when available and needed. Fixes https://fedorahosted.org/sssd/ticket/2027 --- src/db/sysdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/db') diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 53fb86033..7b02b3442 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -170,6 +170,7 @@ SYSDB_GIDNUM, SYSDB_GECOS, \ SYSDB_HOMEDIR, SYSDB_SHELL, \ SYSDB_DEFAULT_ATTRS, \ + SYSDB_PRIMARY_GROUP_GIDNUM, \ NULL} #define SYSDB_GRSRC_ATTRS {SYSDB_NAME, SYSDB_GIDNUM, \ SYSDB_MEMBERUID, \ -- cgit