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/responder | |
| 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/responder')
| -rw-r--r-- | src/responder/common/responder_common.c | 2 | ||||
| -rw-r--r-- | src/responder/nss/nsssrv.c | 2 | ||||
| -rw-r--r-- | src/responder/pam/pamsrv.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c index 37bbcb3..ca830e4 100644 --- a/src/responder/common/responder_common.c +++ b/src/responder/common/responder_common.c @@ -351,7 +351,7 @@ static int sss_dp_init(struct resp_ctx *rctx, /* Identify ourselves to the DP */ ret = dp_common_send_id(be_conn->conn, DATA_PROVIDER_VERSION, - cli_name, domain->name); + cli_name); if (ret != EOK) { DEBUG(0, ("Failed to identify to the DP!\n")); return ret; diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c index 7de346f..1b55baf 100644 --- a/src/responder/nss/nsssrv.c +++ b/src/responder/nss/nsssrv.c @@ -240,7 +240,7 @@ static void nss_dp_reconnect_init(struct sbus_connection *conn, /* Identify ourselves to the data provider */ ret = dp_common_send_id(be_conn->conn, DATA_PROVIDER_VERSION, - "NSS", be_conn->domain->name); + "NSS"); /* all fine */ if (ret == EOK) return; } diff --git a/src/responder/pam/pamsrv.c b/src/responder/pam/pamsrv.c index 84b13dc..9abd213 100644 --- a/src/responder/pam/pamsrv.c +++ b/src/responder/pam/pamsrv.c @@ -98,7 +98,7 @@ static void pam_dp_reconnect_init(struct sbus_connection *conn, int status, void /* Identify ourselves to the data provider */ ret = dp_common_send_id(be_conn->conn, DATA_PROVIDER_VERSION, - "PAM", be_conn->domain->name); + "PAM"); /* all fine */ if (ret == EOK) return; } |
