summaryrefslogtreecommitdiffstats
path: root/server/providers/krb5/krb5_common.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-10-20 10:49:40 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-10-22 13:56:23 -0400
commit29f1ec57d0329cefd5797a10736528d0b2b326b5 (patch)
tree576f930ee754ea6838048fd4b1dcdd48eca7aed4 /server/providers/krb5/krb5_common.h
parentda31cd39053732204d536c0b31c353fb623875c2 (diff)
downloadsssd_unused-29f1ec57d0329cefd5797a10736528d0b2b326b5.tar.gz
sssd_unused-29f1ec57d0329cefd5797a10736528d0b2b326b5.tar.xz
sssd_unused-29f1ec57d0329cefd5797a10736528d0b2b326b5.zip
update krb5 option handling to new option scheme
Diffstat (limited to 'server/providers/krb5/krb5_common.h')
-rw-r--r--server/providers/krb5/krb5_common.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/server/providers/krb5/krb5_common.h b/server/providers/krb5/krb5_common.h
index 64e43605..5d784a55 100644
--- a/server/providers/krb5/krb5_common.h
+++ b/server/providers/krb5/krb5_common.h
@@ -34,7 +34,27 @@
#include <krb5.h>
#endif
+#include "providers/dp_backend.h"
+#include "util/util.h"
+
#define SSSD_KRB5_KDC "SSSD_KRB5_KDC"
#define SSSD_KRB5_REALM "SSSD_KRB5_REALM"
+#define SSSD_KRB5_CHANGEPW_PRINCIPLE "SSSD_KRB5_CHANGEPW_PRINCIPLE"
+
+enum krb5_opts {
+ KRB5_KDC = 0,
+ KRB5_REALM,
+ KRB5_CCACHEDIR,
+ KRB5_CCNAME_TMPL,
+ KRB5_CHANGEPW_PRINC,
+ KRB5_AUTH_TIMEOUT,
+
+ KRB5_OPTS
+};
+
+errno_t check_and_export_options(struct dp_option *opts,
+ struct sss_domain_info *dom);
+errno_t krb5_get_options(TALLOC_CTX *memctx, struct confdb_ctx *cdb,
+ const char *conf_path, struct dp_option **_opts);
#endif /* __KRB5_COMMON_H__ */