summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/dp_backend.h')
-rw-r--r--src/providers/dp_backend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h
index 3d5e40bae..ef9fe0d48 100644
--- a/src/providers/dp_backend.h
+++ b/src/providers/dp_backend.h
@@ -48,6 +48,7 @@ enum bet_type {
BET_AUTH,
BET_ACCESS,
BET_CHPASS,
+ BET_SUDO,
BET_MAX
};
@@ -108,6 +109,7 @@ struct be_ctx {
struct be_client *nss_cli;
struct be_client *pam_cli;
+ struct be_client *sudo_cli;
struct loaded_be loaded_be[BET_MAX];
struct bet_info bet_info[BET_MAX];
@@ -141,6 +143,10 @@ struct be_acct_req {
char *filter_value;
};
+struct be_sudo_req {
+ char *username;
+};
+
bool be_is_offline(struct be_ctx *ctx);
void be_mark_offline(struct be_ctx *ctx);