From dc55d62f4d9f6520ffcb4aa8c6beb308896d9fbb Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 2 Oct 2009 19:36:01 -0400 Subject: Remove DP process Turn the backend process into data provider servers Make Frontends (pam, nss) directly attach to the backends --- server/providers/dp_auth_util.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'server/providers/dp_auth_util.c') 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, -- cgit