diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-03-05 22:35:17 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-03-06 07:34:01 -0500 |
commit | 7625c814984cdae11566abb43561cb6f145cac6b (patch) | |
tree | 35e8fbab5fa8313c1ab6e0f46ded09021341cd1b /server/db | |
parent | 49271571930ee976aac332f21230b245bbde39d0 (diff) | |
download | sssd-7625c814984cdae11566abb43561cb6f145cac6b.tar.gz sssd-7625c814984cdae11566abb43561cb6f145cac6b.tar.bz2 sssd-7625c814984cdae11566abb43561cb6f145cac6b.zip |
Fix reporting non-default users.
We need to add the domain when users are not part of the default
domain, otherwise name conflicts may happen.
Diffstat (limited to 'server/db')
-rw-r--r-- | server/db/sysdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h index 80a446fa..c87b0b4e 100644 --- a/server/db/sysdb.h +++ b/server/db/sysdb.h @@ -87,6 +87,7 @@ SYSDB_GIDNUM, SYSDB_FULLNAME, \ SYSDB_HOMEDIR, SYSDB_SHELL, \ SYSDB_LAST_UPDATE, \ + "objectClass", \ NULL} #define SYSDB_USER_ATTRS {SYSDB_USER_ATTR_DEFAULTGROUP, \ SYSDB_USER_ATTR_GECOS, \ @@ -102,12 +103,15 @@ NULL} #define SYSDB_GRNAM_ATTRS {SYSDB_NAME, SYSDB_GIDNUM, \ SYSDB_LAST_UPDATE, SYSDB_LEGACY_MEMBER, \ + "objectClass", \ NULL} #define SYSDB_GRPW_ATTRS {SYSDB_NAME, SYSDB_LAST_UPDATE, \ + "objectClass", \ NULL} #define SYSDB_INITGR_ATTR "memberof" #define SYSDB_INITGR_ATTRS {SYSDB_GIDNUM, SYSDB_LAST_UPDATE, \ + "objectClass", \ NULL} #define SYSDB_TMPL_USER SYSDB_NAME"=%s,"SYSDB_TMPL_USER_BASE |