diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-03-08 20:19:48 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-03-09 15:29:37 -0400 |
commit | 5ea221d5325a2b60ec872a3864953178c8b593a0 (patch) | |
tree | 5a67d8702ec6921b8a390c69e3235a949ec6900a /server/infopipe | |
parent | 10038e62d8ea6ee570346f98819e1994e70d47a5 (diff) | |
download | sssd-5ea221d5325a2b60ec872a3864953178c8b593a0.tar.gz sssd-5ea221d5325a2b60ec872a3864953178c8b593a0.tar.bz2 sssd-5ea221d5325a2b60ec872a3864953178c8b593a0.zip |
Do not duplicate attribute names macros.
Also shorten names oh other user attributes.
Diffstat (limited to 'server/infopipe')
-rw-r--r-- | server/infopipe/infopipe_users.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/server/infopipe/infopipe_users.c b/server/infopipe/infopipe_users.c index 19608090..29e87a9e 100644 --- a/server/infopipe/infopipe_users.c +++ b/server/infopipe/infopipe_users.c @@ -1118,16 +1118,16 @@ static const char **infp_get_all_attributes(TALLOC_CTX *mem_ctx, return NULL; } - attributes[offset++] = SYSDB_USER_ATTR_DEFAULTGROUP; - attributes[offset++] = SYSDB_USER_ATTR_GECOS; - attributes[offset++] = SYSDB_USER_ATTR_HOMEDIR; - attributes[offset++] = SYSDB_USER_ATTR_SHELL; - attributes[offset++] = SYSDB_USER_ATTR_FULLNAME; - attributes[offset++] = SYSDB_USER_ATTR_LOCALE; - attributes[offset++] = SYSDB_USER_ATTR_KEYBOARD; - attributes[offset++] = SYSDB_USER_ATTR_SESSION; - attributes[offset++] = SYSDB_USER_ATTR_LAST_LOGIN; - attributes[offset++] = SYSDB_USER_ATTR_USERPIC; + attributes[offset++] = SYSDB_DEFAULTGROUP; + attributes[offset++] = SYSDB_GECOS; + attributes[offset++] = SYSDB_HOMEDIR; + attributes[offset++] = SYSDB_SHELL; + attributes[offset++] = SYSDB_FULLNAME; + attributes[offset++] = SYSDB_LOCALE; + attributes[offset++] = SYSDB_KEYBOARD; + attributes[offset++] = SYSDB_SESSION; + attributes[offset++] = SYSDB_LAST_LOGIN; + attributes[offset++] = SYSDB_USERPIC; return attributes; } |