summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_backend.h
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2011-10-26 18:04:59 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-12-16 14:46:17 -0500
commit88c5d362804244a5a74785b94018ddf887094553 (patch)
tree98dbcea8339e78b15fc2c626b38de733e24c058e /src/providers/dp_backend.h
parent3f98cdc011bb4e8cd22c088f288b0bcdb6452492 (diff)
downloadsssd-88c5d362804244a5a74785b94018ddf887094553.tar.gz
sssd-88c5d362804244a5a74785b94018ddf887094553.tar.xz
sssd-88c5d362804244a5a74785b94018ddf887094553.zip
SUDO integration - data provider backend handler
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);