krb5_opts.h revision dcc6877aa2e2dd63a9dc9c411a9c58feaeb36b9a
78cd48acd325773619d78ac0d7263a99a8922faend/*
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse SSSD
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd Authors:
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd Stephen Gallagher <sgallagh@redhat.com>
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd Copyright (C) 2012 Red Hat
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd This program is free software; you can redistribute it and/or modify
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd it under the terms of the GNU General Public License as published by
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd the Free Software Foundation; either version 3 of the License, or
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd (at your option) any later version.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd This program is distributed in the hope that it will be useful,
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd but WITHOUT ANY WARRANTY; without even the implied warranty of
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd GNU General Public License for more details.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd You should have received a copy of the GNU General Public License
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd along with this program. If not, see <http://www.gnu.org/licenses/>.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd*/
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd#ifndef KRB5_OPTS_H_
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse#define KRB5_OPTS_H_
6ace32dacb8313226eb9019275d0e4fa45a15148rse
70535d6421eb979ac79d8f49d31cd94d75dd8b2fjorton#include "src/providers/data_provider.h"
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse
a943533fd4d91d114af622731a405407990c4fb1rsestruct dp_option default_krb5_opts[] = {
a943533fd4d91d114af622731a405407990c4fb1rse { "krb5_server", DP_OPT_STRING, NULL_STRING, NULL_STRING },
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse { "krb5_backup_server", DP_OPT_STRING, NULL_STRING, NULL_STRING },
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse { "krb5_realm", DP_OPT_STRING, NULL_STRING, NULL_STRING },
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse { "krb5_ccachedir", DP_OPT_STRING, { DEFAULT_CCACHE_DIR }, NULL_STRING },
cc003103e52ff9d5fe9bed567ef9438613ab4fbfrse { "krb5_ccname_template", DP_OPT_STRING, NULL_STRING, NULL_STRING},
7933d4a963def02417113b6798d87a36395053b0rse { "krb5_auth_timeout", DP_OPT_NUMBER, { .number = 6 }, NULL_NUMBER },
7933d4a963def02417113b6798d87a36395053b0rse { "krb5_keytab", DP_OPT_STRING, { "/etc/krb5.keytab" }, NULL_STRING },
71c00f988beb28388702e14cb7fe06f08bd792bbdougm { "krb5_validate", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
71c00f988beb28388702e14cb7fe06f08bd792bbdougm { "krb5_kpasswd", DP_OPT_STRING, NULL_STRING, NULL_STRING },
71c00f988beb28388702e14cb7fe06f08bd792bbdougm { "krb5_backup_kpasswd", DP_OPT_STRING, NULL_STRING, NULL_STRING },
7933d4a963def02417113b6798d87a36395053b0rse { "krb5_store_password_if_offline", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
71c00f988beb28388702e14cb7fe06f08bd792bbdougm { "krb5_renewable_lifetime", DP_OPT_STRING, NULL_STRING, NULL_STRING },
71c00f988beb28388702e14cb7fe06f08bd792bbdougm { "krb5_lifetime", DP_OPT_STRING, NULL_STRING, NULL_STRING },
71c00f988beb28388702e14cb7fe06f08bd792bbdougm { "krb5_renew_interval", DP_OPT_STRING, NULL_STRING, NULL_STRING },
7933d4a963def02417113b6798d87a36395053b0rse { "krb5_use_fast", DP_OPT_STRING, NULL_STRING, NULL_STRING },
71c00f988beb28388702e14cb7fe06f08bd792bbdougm { "krb5_fast_principal", DP_OPT_STRING, NULL_STRING, NULL_STRING },
71c00f988beb28388702e14cb7fe06f08bd792bbdougm { "krb5_canonicalize", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
71c00f988beb28388702e14cb7fe06f08bd792bbdougm { "krb5_use_enterprise_principal", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
7933d4a963def02417113b6798d87a36395053b0rse { "krb5_use_kdcinfo", DP_OPT_BOOL, BOOL_TRUE, BOOL_TRUE },
7933d4a963def02417113b6798d87a36395053b0rse DP_OPTION_TERMINATOR
0c44ed1cffad38b900b39e8c65996b9b9cff061djim};
0c44ed1cffad38b900b39e8c65996b9b9cff061djim
0c44ed1cffad38b900b39e8c65996b9b9cff061djim#endif /* KRB5_OPTS_H_ */
0c44ed1cffad38b900b39e8c65996b9b9cff061djim