summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_backend.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-01-03 22:27:01 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-02-05 19:16:16 -0500
commit5708dc97b69a468f077616d7a75e81f4172f63fa (patch)
tree23edd37d6bc0e3123cba0fdae903a86c7e1dedba /src/providers/dp_backend.h
parent6e8238868a4d17030bb4f01494961d0354a953bf (diff)
downloadsssd-5708dc97b69a468f077616d7a75e81f4172f63fa.tar.gz
sssd-5708dc97b69a468f077616d7a75e81f4172f63fa.tar.xz
sssd-5708dc97b69a468f077616d7a75e81f4172f63fa.zip
AUTOFS: Data Provider request
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 0964110ab..c053538ba 100644
--- a/src/providers/dp_backend.h
+++ b/src/providers/dp_backend.h
@@ -50,6 +50,7 @@ enum bet_type {
BET_ACCESS,
BET_CHPASS,
BET_SUDO,
+ BET_AUTOFS,
BET_MAX
};
@@ -112,6 +113,7 @@ struct be_ctx {
struct be_client *nss_cli;
struct be_client *pam_cli;
struct be_client *sudo_cli;
+ struct be_client *autofs_cli;
struct loaded_be loaded_be[BET_MAX];
struct bet_info bet_info[BET_MAX];
@@ -153,6 +155,10 @@ struct be_sudo_req {
char **groups;
};
+struct be_autofs_req {
+ char *mapname;
+};
+
bool be_is_offline(struct be_ctx *ctx);
void be_mark_offline(struct be_ctx *ctx);