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

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