From b81f453b8ade026f9c19bfd557a986cbcf0c9c8c Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 22 Feb 2010 09:19:43 -0500 Subject: Remove unnecessary "domain" parameter from DP registration This was a holdover from when the DP and the providers were unique processes. The NSS and PAM registrations do not need to send the domain, as it is not ambiguous which one they are talking to. --- src/providers/dp_auth_util.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/providers/dp_auth_util.c') diff --git a/src/providers/dp_auth_util.c b/src/providers/dp_auth_util.c index 16fb28c74..f4e68eafd 100644 --- a/src/providers/dp_auth_util.c +++ b/src/providers/dp_auth_util.c @@ -354,7 +354,7 @@ done: } int dp_common_send_id(struct sbus_connection *conn, uint16_t version, - const char *name, const char *domain) + const char *name) { DBusPendingCall *pending_reply; DBusConnection *dbus_conn; @@ -373,13 +373,12 @@ int dp_common_send_id(struct sbus_connection *conn, uint16_t version, return ENOMEM; } - DEBUG(4, ("Sending ID to DP: (%d,%s,%s)\n", - version, name, domain)); + DEBUG(4, ("Sending ID to DP: (%d,%s)\n", + version, name)); ret = dbus_message_append_args(msg, DBUS_TYPE_UINT16, &version, DBUS_TYPE_STRING, &name, - DBUS_TYPE_STRING, &domain, DBUS_TYPE_INVALID); if (!ret) { DEBUG(1, ("Failed to build message\n")); -- cgit