diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-01-21 12:35:25 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-01-27 09:02:01 -0500 |
commit | 6748486d61680426e8739bb5e7db7dd8409ef44c (patch) | |
tree | 9e7a1f1f4a5ad3c794f87dfd2f22bdafa8ff1b80 /src/responder/common | |
parent | cc7ee57f3adada83ac657e69636ca995d5b6948e (diff) | |
download | sssd-6748486d61680426e8739bb5e7db7dd8409ef44c.tar.gz sssd-6748486d61680426e8739bb5e7db7dd8409ef44c.tar.xz sssd-6748486d61680426e8739bb5e7db7dd8409ef44c.zip |
DP: Add support for services in dp requests
Diffstat (limited to 'src/responder/common')
-rw-r--r-- | src/responder/common/responder.h | 1 | ||||
-rw-r--r-- | src/responder/common/responder_dp.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/responder/common/responder.h b/src/responder/common/responder.h index c27de3115..2944aa5c4 100644 --- a/src/responder/common/responder.h +++ b/src/responder/common/responder.h @@ -161,6 +161,7 @@ struct cli_protocol_version *register_cli_protocol_version(void); #define SSS_DP_GROUP 2 #define SSS_DP_INITGROUPS 3 #define SSS_DP_NETGR 4 +#define SSS_DP_SERVICES 5 typedef void (*sss_dp_callback_t)(uint16_t err_maj, uint32_t err_min, const char *err_msg, void *ptr); diff --git a/src/responder/common/responder_dp.c b/src/responder/common/responder_dp.c index b9d05cdb3..5174bd3e9 100644 --- a/src/responder/common/responder_dp.c +++ b/src/responder/common/responder_dp.c @@ -302,6 +302,9 @@ sss_dp_get_account_send(TALLOC_CTX *mem_ctx, case SSS_DP_NETGR: be_type = BE_REQ_NETGROUP; break; + case SSS_DP_SERVICES: + be_type = BE_REQ_SERVICES; + break; default: ret = EINVAL; goto error; |