mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
6437785a82
simple bind via: {KERBEROS}principal Code is disabled by default (for security reasons). Use --enable-kpasswd to enable. Behind SLAPD_KPASSWD. Reworked Kerberos detection and split out KBIND as independent feature (--disable-kbind) (LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND). KBIND depends upon detection of KRB4 (or KRB425) support. Detection, building with eBones (as distributed with FreeBSD 3.4) okay, but wasn't able to test as I don't have a K4 KDC handy. --with-kerberos has a number of detection options... most likely don't work properly.
60 lines
1.8 KiB
C
60 lines
1.8 KiB
C
/* $OpenLDAP$ */
|
|
/*
|
|
* Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
|
|
* All rights reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms are permitted only
|
|
* as authorized by the OpenLDAP Public License. A copy of this
|
|
* license is available at http://www.OpenLDAP.org/license.html or
|
|
* in file LICENSE in the top-level directory of the distribution.
|
|
*/
|
|
/*
|
|
* LDAP Features
|
|
*/
|
|
#ifndef _LDAP_FEATURES_H
|
|
#define _LDAP_FEATURES_H 1
|
|
|
|
/*
|
|
** OpenLDAP reentrancy/thread-safeness should be dynamically
|
|
** checked using ldap_get_option().
|
|
**
|
|
** The -lldap implementation may or may not be:
|
|
** LDAP_API_FEATURE_THREAD_SAFE
|
|
**
|
|
** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_REENTRANT can
|
|
** be used to determine if -lldap is LDAP_API_FEATURE_THREAD_SAFE at
|
|
** compile time.
|
|
**
|
|
** The -lldap_r implementation is always THREAD_SAFE but
|
|
** may also be:
|
|
** LDAP_API_FEATURE_SESSION_THREAD_SAFE
|
|
** LDAP_API_FEATURE_OPERATION_THREAD_SAFE
|
|
**
|
|
** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
|
|
** can be used to determine if -lldap_r is available at compile
|
|
** time. You must define LDAP_THREAD_SAFE if and only if you
|
|
** link with -lldap_r.
|
|
**
|
|
** If you fail to define LDAP_THREAD_SAFE when linking with
|
|
** -lldap_r or define LDAP_THREAD_SAFE when linking with -lldap,
|
|
** provided header definations and declarations may be incorrect.
|
|
**
|
|
*/
|
|
|
|
/* is -lldap reentrant or not */
|
|
#undef LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
|
|
|
|
/* is threadsafe version of -lldap (ie: -lldap_r) *available* or not */
|
|
#undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
|
|
|
|
/* LDAP v2 DNS */
|
|
#undef LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
|
|
|
|
/* LDAP v2 Kerberos Bind */
|
|
#undef LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND
|
|
|
|
/* LDAP v2 Referrals */
|
|
#undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
|
|
|
|
#endif /* LDAP_FEATURES */
|