summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/data_provider.h1
-rw-r--r--src/responder/common/responder.h1
-rw-r--r--src/responder/common/responder_dp.c3
3 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h
index 1b055e39..fb61c730 100644
--- a/src/providers/data_provider.h
+++ b/src/providers/data_provider.h
@@ -136,6 +136,7 @@
#define BE_REQ_GROUP 0x0002
#define BE_REQ_INITGROUPS 0x0003
#define BE_REQ_NETGROUP 0x0004
+#define BE_REQ_SERVICES 0x0005
#define BE_REQ_FAST 0x1000
/* AUTH related common data and functions */
diff --git a/src/responder/common/responder.h b/src/responder/common/responder.h
index c27de311..2944aa5c 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 b9d05cdb..5174bd3e 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;