diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-09-06 13:01:41 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-10 14:01:24 +0200 |
commit | 7d8255cf8f10627248bdf554952d13eee1b3317d (patch) | |
tree | b611d2caa10f3e14e4bae2c20dc91f03e88d79e4 /src/db | |
parent | 077fa994f62641a13665b6a07d38b3d5a903dcdc (diff) | |
download | sssd-7d8255cf8f10627248bdf554952d13eee1b3317d.tar.gz sssd-7d8255cf8f10627248bdf554952d13eee1b3317d.tar.bz2 sssd-7d8255cf8f10627248bdf554952d13eee1b3317d.zip |
sysdb_search_group_by_gid: obtain gid instead of uid
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c index 45f3289b..75d86b58 100644 --- a/src/db/sysdb_ops.c +++ b/src/db/sysdb_ops.c @@ -407,7 +407,7 @@ int sysdb_search_group_by_gid(TALLOC_CTX *mem_ctx, struct ldb_message **msg) { TALLOC_CTX *tmp_ctx; - const char *def_attrs[] = { SYSDB_NAME, SYSDB_UIDNUM, NULL }; + const char *def_attrs[] = { SYSDB_NAME, SYSDB_GIDNUM, NULL }; struct ldb_message **msgs = NULL; struct ldb_dn *basedn; size_t msgs_count = 0; |