/*
SSSD
Authors:
Stephen Gallagher <sgallagh@redhat.com>
Copyright (C) 2012 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef AD_COMMON_H_
#define AD_COMMON_H_
#include "providers/ldap/ldap_common.h"
/* The port the Global Catalog runs on */
struct ad_options;
enum ad_basic_opt {
AD_DOMAIN = 0,
};
struct ad_id_ctx {
};
struct ad_service {
};
struct ad_options {
/* Common options */
/* ID Provider */
/* Auth and chpass Provider */
/* Dynamic DNS updates */
};
struct confdb_ctx *cdb,
const char *conf_path,
struct sss_domain_info *dom,
struct ad_options **_opts);
/* FIXME: ad_get_common_options and ad_create_options are
* similar. The later is subdomain specific. It may be
* good to merge the two into one more generic funtion. */
struct confdb_ctx *cdb,
const char *conf_path,
struct data_provider *dp,
struct sss_domain_info *subdom);
struct confdb_ctx *cdb,
const char *conf_path,
struct data_provider *dp,
const char *realm,
struct sss_domain_info *subdom,
const char *hostname,
const char *keytab);
struct confdb_ctx *cdb,
const char *conf_path,
struct data_provider *dp,
struct sss_domain_info *subdom,
const char *hostname,
const char *keytab,
const char *sasl_authid);
struct sdap_domain *sdap);
const char *primary_servers,
const char *backup_servers,
const char *krb5_realm,
const char *ad_service,
const char *ad_gc_service,
const char *ad_domain,
struct ad_service **_service);
struct confdb_ctx *cdb,
const char *conf_path,
struct data_provider *dp,
struct sdap_options **_opts);
struct confdb_ctx *cdb,
const char *conf_path);
struct ad_options *ad_opts,
struct ad_options *ad_opts);
struct ad_id_ctx *
struct sdap_id_conn_ctx **
struct sss_domain_info *dom);
struct sdap_id_conn_ctx **
struct sss_domain_info *dom);
struct sdap_id_conn_ctx **
struct sss_domain_info *dom);
struct sdap_id_conn_ctx *
/* AD dynamic DNS updates */
struct ad_options *ctx);
void ad_dyndns_timer(void *pvt);
struct dp_method *dp_methods);
struct dp_method *dp_methods);
struct ad_options *ad_opts);
struct sysdb_attrs *reply,
char **_flat_name,
char **_site,
char **_forest);
#endif /* AD_COMMON_H_ */