summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_common.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-01-29 20:13:35 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-02-04 08:27:16 -0500
commit5d00ee0e07dea78806df780db69e94900e5bb8c0 (patch)
tree4dca6af0b8c1d85bc9d1835efc9e79faea70c5ac /src/providers/ldap/ldap_common.h
parentbe65f065fef1d387281096ef095a2acef39ecc12 (diff)
downloadsssd-5d00ee0e07dea78806df780db69e94900e5bb8c0.tar.gz
sssd-5d00ee0e07dea78806df780db69e94900e5bb8c0.tar.xz
sssd-5d00ee0e07dea78806df780db69e94900e5bb8c0.zip
Move BUILD_SUDO outside the generic LDAP source files
Avoid #ifdefs in the general part of the code
Diffstat (limited to 'src/providers/ldap/ldap_common.h')
-rw-r--r--src/providers/ldap/ldap_common.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index cda21da41..603a1ed92 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -68,6 +68,10 @@ struct sdap_auth_ctx {
struct sdap_service *chpass_service;
};
+int sssm_ldap_id_init(struct be_ctx *bectx,
+ struct bet_ops **ops,
+ void **pvt_data);
+
void sdap_check_online(struct be_req *breq);
void sdap_do_online_check(struct be_req *be_req, struct sdap_id_ctx *ctx);
@@ -85,14 +89,6 @@ void sdap_pam_chpass_handler(struct be_req *breq);
/* access */
void sdap_pam_access_handler(struct be_req *breq);
-#ifdef BUILD_SUDO
-/* sudo */
-void sdap_sudo_handler(struct be_req *breq);
-int sdap_sudo_setup_tasks(struct sdap_id_ctx *ctx);
-#endif
-
-
-
void sdap_handler_done(struct be_req *req, int dp_err,
int error, const char *errstr);