diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-22 09:19:43 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-22 12:54:52 -0500 |
commit | b81f453b8ade026f9c19bfd557a986cbcf0c9c8c (patch) | |
tree | eed75280be4db28104748ae4c748dc0b4eaeeab0 /src/providers/dp_auth_util.c | |
parent | 446dbddae224cb68422825445b3cbdeb6606aa81 (diff) | |
download | sssd-b81f453b8ade026f9c19bfd557a986cbcf0c9c8c.tar.gz sssd-b81f453b8ade026f9c19bfd557a986cbcf0c9c8c.tar.xz sssd-b81f453b8ade026f9c19bfd557a986cbcf0c9c8c.zip |
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.
Diffstat (limited to 'src/providers/dp_auth_util.c')
-rw-r--r-- | src/providers/dp_auth_util.c | 7 |
1 files changed, 3 insertions, 4 deletions
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")); |