2N/A#include "kdb_ldap.h"
2N/A#include "ldap_misc.h"
2N/A#include "ldap_handle.h"
2N/A#include "ldap_err.h"
2N/A#include "ldap_principal.h"
2N/A#include "princ_xdr.h"
2N/A#include "ldap_pwd_policy.h"
2N/A#ifdef NEED_STRPTIME_PROTO
2N/Astatic krb5_error_code
2N/A#ifdef HAVE_LDAP_STR2DN
2N/A if (conf_section) {
2N/A sizeof (krb5_ldap_server_info *));
2N/A sizeof(krb5_ldap_server_info));
2N/A sizeof(krb5_ldap_server_info));
2N/A#ifdef HAVE_EDIRECTORY
2N/A while (ldap_server_handle) {
2N/A subtarr = (char **) malloc(sizeof(char *) * (subtreecount + 1 /*realm dn*/ + 1 /*containerref*/ + 1));
2N/A search_scope)) != 0) {
2N/A case KDB_TL_PRINCCOUNT:
2N/A case KDB_TL_PRINCTYPE:
2N/A case KDB_TL_MASK:
2N/A if (reallocptr)
2N/A case KDB_TL_USERDN:
2N/A case KDB_TL_LINKDN:
2N/A if (reallocptr)
2N/A case KDB_TL_PRINCCOUNT:
2N/A case KDB_TL_PRINCTYPE:
2N/A case KDB_TL_MASK:
2N/A case KDB_TL_CONTAINERDN:
2N/A case KDB_TL_USERDN:
2N/A case KDB_TL_LINKDN:
2N/Astatic krb5_error_code
2N/A if (((st=krb5_dbe_lookup_tl_data(context, entries, &tl_data)) != 0) || tl_data.tl_data_length == 0)
2N/A if (((st=krb5_dbe_lookup_tl_data(context, entries, &tl_data)) != 0) || tl_data.tl_data_length == 0)
2N/Astatic krb5_error_code
2N/A if (((st=krb5_dbe_lookup_tl_data(context, entries, &tl_data)) != 0) || tl_data.tl_data_length == 0)
2N/A char **containerdn)
2N/A * If the attribute/attrvalues is NULL, then check for the
2N/A for (j=0; attrvalues[j]; ++j) {
2N/Astatic krb5_error_code
2N/A GET_HANDLE();
2N/A#if defined HAVE_LDAP_STR2DN
2N/Astatic krb5_error_code
2N/A &kerberos_principal_object_type)) != 0)
2N/A &attr_present)) != 0)
2N/A &attr_present)) != 0)
2N/A &attr_present)) != 0)
2N/A &attr_present)) != 0)
2N/A lstpwdchng)))
2N/A link_references[i])) != 0)
2N/A#ifdef HAVE_EDIRECTORY
2N/A &attr_present)) != 0)
2N/A &attr_present)) != 0)
2N/A if (pw_max_life > 0) {
2N/A if (link_references) {
2N/A#ifndef HAVE_LDAP_INITIALIZE
2N/A#ifdef HAVE_LDAP_URL_PARSE_NODN
2N/A#ifndef HAVE_LDAP_UNBIND_EXT_S