summaryrefslogtreecommitdiffstats
path: root/src/responder/pam
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2014-01-10 11:23:33 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-02-24 11:15:06 +0100
commitb668c77874c6fed325471bdcf5954979a0d734e2 (patch)
treef2aa1495fd35dabd42b96dec8d190478cb5d7f26 /src/responder/pam
parentc2cc119de8eac712c040b3993f41c967ff2278de (diff)
downloadsssd-b668c77874c6fed325471bdcf5954979a0d734e2.tar.gz
sssd-b668c77874c6fed325471bdcf5954979a0d734e2.tar.xz
sssd-b668c77874c6fed325471bdcf5954979a0d734e2.zip
sbus: Use constants to make dbus calls
This allows us to remove duplicated information, and have the compiler check that when an method name is changed or removed the callers are updated. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/responder/pam')
-rw-r--r--src/responder/pam/pamsrv_dp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/pam/pamsrv_dp.c b/src/responder/pam/pamsrv_dp.c
index 4e79eee87..8871f198b 100644
--- a/src/responder/pam/pamsrv_dp.c
+++ b/src/responder/pam/pamsrv_dp.c
@@ -128,8 +128,8 @@ int pam_dp_send_req(struct pam_auth_req *preq, int timeout)
msg = dbus_message_new_method_call(NULL,
DP_PATH,
- DP_INTERFACE,
- DP_METHOD_PAMHANDLER);
+ DATA_PROVIDER_IFACE,
+ DATA_PROVIDER_IFACE_PAMHANDLER);
if (msg == NULL) {
DEBUG(SSSDBG_FATAL_FAILURE,"Out of memory?!\n");
return ENOMEM;