summaryrefslogtreecommitdiffstats
path: root/server/providers/dp_auth_util.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-10-02 19:36:01 -0400
committerSimo Sorce <ssorce@redhat.com>2009-10-09 16:11:08 -0400
commitdc55d62f4d9f6520ffcb4aa8c6beb308896d9fbb (patch)
tree7842b16b9ce9e4367c2a9a6f05db25fc40b2ab08 /server/providers/dp_auth_util.c
parent1f2b3f82f9896a99f8f2b8b2145af47402a9c3c6 (diff)
downloadsssd-dc55d62f4d9f6520ffcb4aa8c6beb308896d9fbb.tar.gz
sssd-dc55d62f4d9f6520ffcb4aa8c6beb308896d9fbb.tar.xz
sssd-dc55d62f4d9f6520ffcb4aa8c6beb308896d9fbb.zip
Remove DP process
Turn the backend process into data provider servers Make Frontends (pam, nss) directly attach to the backends
Diffstat (limited to 'server/providers/dp_auth_util.c')
-rw-r--r--server/providers/dp_auth_util.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/server/providers/dp_auth_util.c b/server/providers/dp_auth_util.c
index 80e9f167f..b91750477 100644
--- a/server/providers/dp_auth_util.c
+++ b/server/providers/dp_auth_util.c
@@ -287,8 +287,7 @@ done:
dbus_message_unref(reply);
}
-int dp_common_send_id(struct sbus_connection *conn,
- uint16_t cli_type, uint16_t version,
+int dp_common_send_id(struct sbus_connection *conn, uint16_t version,
const char *name, const char *domain)
{
DBusPendingCall *pending_reply;
@@ -300,19 +299,18 @@ int dp_common_send_id(struct sbus_connection *conn,
/* create the message */
msg = dbus_message_new_method_call(NULL,
- DP_SRV_PATH,
- DP_SRV_INTERFACE,
- DP_SRV_METHOD_REGISTER);
+ DP_PATH,
+ DP_INTERFACE,
+ DP_METHOD_REGISTER);
if (msg == NULL) {
DEBUG(0, ("Out of memory?!\n"));
return ENOMEM;
}
- DEBUG(4, ("Sending ID to DP: (%d,%d,%s,%s)\n",
- cli_type, version, name, domain));
+ DEBUG(4, ("Sending ID to DP: (%d,%s,%s)\n",
+ version, name, domain));
ret = dbus_message_append_args(msg,
- DBUS_TYPE_UINT16, &cli_type,
DBUS_TYPE_UINT16, &version,
DBUS_TYPE_STRING, &name,
DBUS_TYPE_STRING, &domain,