From cf2cc44d6293165379d6470b8bf6bb6a87d62b31 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 2 May 2014 19:15:17 +0200 Subject: SYSDB: return SYSDB_NAME from sysdb_initgroups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For the GetGroupsList function it would be handy to get the user names as well with a single sysdb_initgroups() call. This patch adds SYSDB_NAME to the default attribute list. Reviewed-by: Pavel Březina --- 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 5d337ffd8..671040018 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -195,6 +195,7 @@ SYSDB_DEFAULT_ATTRS, \ SYSDB_ORIG_DN, \ SYSDB_SID_STR, \ + SYSDB_NAME, \ NULL} #define SYSDB_TMPL_USER SYSDB_NAME"=%s,"SYSDB_TMPL_USER_BASE -- cgit