From 88c5d362804244a5a74785b94018ddf887094553 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Wed, 26 Oct 2011 18:04:59 +0200 Subject: SUDO integration - data provider backend handler --- src/providers/dp_backend.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/providers/dp_backend.h') diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h index 3d5e40ba..ef9fe0d4 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); -- cgit