Blame src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h

Packit fd8b60
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
Packit fd8b60
/* plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h */
Packit fd8b60
/*
Packit fd8b60
 * Copyright (c) 2004-2005, Novell, Inc.
Packit fd8b60
 * All rights reserved.
Packit fd8b60
 *
Packit fd8b60
 * Redistribution and use in source and binary forms, with or without
Packit fd8b60
 * modification, are permitted provided that the following conditions are met:
Packit fd8b60
 *
Packit fd8b60
 *   * Redistributions of source code must retain the above copyright notice,
Packit fd8b60
 *       this list of conditions and the following disclaimer.
Packit fd8b60
 *   * Redistributions in binary form must reproduce the above copyright
Packit fd8b60
 *       notice, this list of conditions and the following disclaimer in the
Packit fd8b60
 *       documentation and/or other materials provided with the distribution.
Packit fd8b60
 *   * The copyright holder's name is not used to endorse or promote products
Packit fd8b60
 *       derived from this software without specific prior written permission.
Packit fd8b60
 *
Packit fd8b60
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Packit fd8b60
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Packit fd8b60
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
Packit fd8b60
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
Packit fd8b60
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
Packit fd8b60
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
Packit fd8b60
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
Packit fd8b60
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
Packit fd8b60
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
Packit fd8b60
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
Packit fd8b60
 * POSSIBILITY OF SUCH DAMAGE.
Packit fd8b60
 */
Packit fd8b60
Packit fd8b60
#ifndef _LDAP_KRBCONTAINER_H_
Packit fd8b60
#define _LDAP_KRBCONTAINER_H_ 1
Packit fd8b60
Packit fd8b60
#define MAX_KRB_CONTAINER_LEN   256
Packit fd8b60
Packit fd8b60
/* kerberos container structure */
Packit fd8b60
Packit fd8b60
krb5_error_code
Packit fd8b60
krb5_ldap_read_krbcontainer_dn(krb5_context, char **);
Packit fd8b60
Packit fd8b60
krb5_error_code
Packit fd8b60
krb5_ldap_create_krbcontainer(krb5_context, const char *);
Packit fd8b60
Packit fd8b60
krb5_error_code
Packit fd8b60
krb5_ldap_delete_krbcontainer(krb5_context, const char *);
Packit fd8b60
Packit fd8b60
#endif