summaryrefslogtreecommitdiff
path: root/server/infopipe
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-03-05 17:24:18 -0500
committerSimo Sorce <ssorce@redhat.com>2009-03-05 17:55:31 -0500
commit0ae3745711f4c856cf36f4aca07310586f930e1d (patch)
tree75bf8615f743f3c731d3b428989cfd27cc1da5e9 /server/infopipe
parent0f7963cc85592dc07fca07f2e801956bf204ec33 (diff)
downloadsssd-0ae3745711f4c856cf36f4aca07310586f930e1d.tar.gz
sssd-0ae3745711f4c856cf36f4aca07310586f930e1d.tar.bz2
sssd-0ae3745711f4c856cf36f4aca07310586f930e1d.zip
Remove _PW_ and _GR_ from SYSDB_ defines
Also unify SYSDB_PW_NAME and SYSDB_GR_NAME in SYSDB_NAME and make it "name"
Diffstat (limited to 'server/infopipe')
-rw-r--r--server/infopipe/infopipe_users.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/infopipe/infopipe_users.c b/server/infopipe/infopipe_users.c
index 52082092..a1b22e3b 100644
--- a/server/infopipe/infopipe_users.c
+++ b/server/infopipe/infopipe_users.c
@@ -71,7 +71,7 @@ static void infp_users_get_cached_callback(void *ptr,
for (i = 0; i < res->count; i++) {
username = talloc_strdup(infp_getcached_req,
ldb_msg_find_attr_as_string(res->msgs[i],
- SYSDB_PW_NAME,
+ SYSDB_NAME,
NULL));
if (username != NULL) {
dbret = dbus_message_iter_append_basic(&array_iter,
@@ -1466,7 +1466,7 @@ int infp_users_set_uid(DBusMessage *message, struct sbus_conn_ctx *sconn)
ret = ENOMEM;
goto error;
}
- sysdb_attrs_add_long(infp_setuid_req->uid_attr, SYSDB_PW_UIDNUM, arg_uid);
+ sysdb_attrs_add_long(infp_setuid_req->uid_attr, SYSDB_UIDNUM, arg_uid);
ret = sysdb_transaction(infp_setuid_req, infp_setuid_req->infp_req->infp->sysdb,
infp_do_user_set_uid, infp_setuid_req);