mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Ready for 2.2beta
This commit is contained in:
parent
4fce207ca5
commit
3d290defac
@ -1,7 +1,7 @@
|
||||
A N N O U N C E M E N T -- OpenLDAP 2.1
|
||||
|
||||
The OpenLDAP Project is pleased to announce the availability
|
||||
of OpenLDAP Software 2.1, a suite of the Lightweight Directory
|
||||
of OpenLDAP Software 2.2, a suite of the Lightweight Directory
|
||||
Access Protocol (v3) servers, clients, utilities, and
|
||||
development tools.
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
ol_package=OpenLDAP
|
||||
ol_major=2
|
||||
ol_minor=2
|
||||
ol_patch=X
|
||||
ol_api_inc=20200
|
||||
ol_api_lib=2:200:0
|
||||
ol_release_date="05/31/2003"
|
||||
ol_patch=1beta
|
||||
ol_api_inc=20201
|
||||
ol_api_lib=2:201:0
|
||||
ol_release_date="09/19/2003"
|
||||
|
@ -67,7 +67,7 @@ int ldap_int_sasl_init( void )
|
||||
if ( ((rc >> 16) != ((SASL_VERSION_MAJOR << 8)|SASL_VERSION_MINOR)) ||
|
||||
(rc & 0xffff) < SASL_VERSION_STEP) {
|
||||
char version[sizeof("xxx.xxx.xxxxx")];
|
||||
sprintf( version, "%d.%d.%d", rc >> 24, rc >> 16 * 0xff,
|
||||
sprintf( version, "%u.%d.%d", (unsigned)rc >> 24, (rc >> 16) & 0xff,
|
||||
rc & 0xffff );
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
|
@ -73,13 +73,13 @@ static char *proxy_authz_extops[] = {
|
||||
|
||||
static struct slap_control control_defs[] = {
|
||||
{ LDAP_CONTROL_ASSERT,
|
||||
SLAP_CTRL_ACCESS, NULL,
|
||||
SLAP_CTRL_HIDE|SLAP_CTRL_ACCESS, NULL,
|
||||
parseAssert, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||
{ LDAP_CONTROL_PRE_READ,
|
||||
SLAP_CTRL_DELETE|SLAP_CTRL_MODIFY|SLAP_CTRL_RENAME, NULL,
|
||||
SLAP_CTRL_HIDE|SLAP_CTRL_DELETE|SLAP_CTRL_MODIFY|SLAP_CTRL_RENAME, NULL,
|
||||
parsePreRead, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||
{ LDAP_CONTROL_POST_READ,
|
||||
SLAP_CTRL_ADD|SLAP_CTRL_MODIFY|SLAP_CTRL_RENAME, NULL,
|
||||
SLAP_CTRL_HIDE|SLAP_CTRL_ADD|SLAP_CTRL_MODIFY|SLAP_CTRL_RENAME, NULL,
|
||||
parsePostRead, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||
{ LDAP_CONTROL_VALUESRETURNFILTER,
|
||||
SLAP_CTRL_SEARCH, NULL,
|
||||
@ -111,7 +111,7 @@ static struct slap_control control_defs[] = {
|
||||
SLAP_CTRL_HIDE|SLAP_CTRL_SEARCH, NULL,
|
||||
parseLDAPsync, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||
{ LDAP_CONTROL_MODIFY_INCREMENT,
|
||||
SLAP_CTRL_MODIFY, NULL,
|
||||
SLAP_CTRL_HIDE|SLAP_CTRL_MODIFY, NULL,
|
||||
parseModifyIncrement, LDAP_SLIST_ENTRY_INITIALIZER(next) },
|
||||
{ LDAP_CONTROL_MANAGEDSAIT,
|
||||
SLAP_CTRL_ACCESS, NULL,
|
||||
|
@ -30,7 +30,9 @@ static struct berval supportedFeatures[] = {
|
||||
BER_BVC(LDAP_FEATURE_ABSOLUTE_FILTERS), /* (&) and (|) search filters */
|
||||
BER_BVC(LDAP_FEATURE_LANGUAGE_TAG_OPTIONS), /* Language Tag Options */
|
||||
BER_BVC(LDAP_FEATURE_LANGUAGE_RANGE_OPTIONS), /* Language Range Options */
|
||||
#ifdef LDAP_DEVEL
|
||||
BER_BVC(LDAP_FEATURE_MODIFY_INCREMENT), /* Modify/increment */
|
||||
#endif
|
||||
{0,NULL}
|
||||
};
|
||||
|
||||
|
@ -735,7 +735,7 @@ slap_sasl_authorize(
|
||||
"slap_sasl_authorize: conn %d authcid=\"%s\" authzid=\"%s\"\n",
|
||||
conn ? conn->c_connid : -1, auth_identity, requested_user);
|
||||
#else
|
||||
Debug( LDAP_DEBUG_ARGS, "SASL Authorize [conn=%ld]: "
|
||||
Debug( LDAP_DEBUG_ARGS, "SASL proxy authorize [conn=%ld]: "
|
||||
"authcid=\"%s\" authzid=\"%s\"\n",
|
||||
conn ? conn->c_connid : -1, auth_identity, requested_user );
|
||||
#endif
|
||||
@ -763,11 +763,12 @@ slap_sasl_authorize(
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( TRANSPORT, INFO,
|
||||
"slap_sasl_authorize: conn %ld authorization disallowed (%d)\n",
|
||||
"slap_sasl_authorize: conn %ld "
|
||||
"proxy authorization disallowed (%d)\n",
|
||||
(long)(conn ? conn->c_connid : -1), rc, 0 );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "SASL Authorize [conn=%ld]: "
|
||||
" authorization disallowed (%d)\n",
|
||||
Debug( LDAP_DEBUG_TRACE, "SASL Proxy Authorize [conn=%ld]: "
|
||||
"proxy authorization disallowed (%d)\n",
|
||||
(long) (conn ? conn->c_connid : -1), rc, 0 );
|
||||
#endif
|
||||
|
||||
@ -787,11 +788,11 @@ ok:
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( TRANSPORT, ENTRY,
|
||||
"slap_sasl_authorize: conn %d authorization allowed\n",
|
||||
"slap_sasl_authorize: conn %d proxy authorization allowed\n",
|
||||
(long)(conn ? conn->c_connid : -1), 0, 0 );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "SASL Authorize [conn=%ld]: "
|
||||
" authorization allowed\n",
|
||||
" proxy authorization allowed\n",
|
||||
(long) (conn ? conn->c_connid : -1), 0, 0 );
|
||||
#endif
|
||||
return SASL_OK;
|
||||
@ -878,11 +879,12 @@ slap_sasl_authorize(
|
||||
if( rc ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( TRANSPORT, INFO,
|
||||
"slap_sasl_authorize: conn %ld authorization disallowed (%d)\n",
|
||||
"slap_sasl_authorize: conn %ld "
|
||||
"proxy authorization disallowed (%d)\n",
|
||||
(long)(conn ? conn->c_connid : -1), rc, 0 );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "SASL Authorize [conn=%ld]: "
|
||||
" authorization disallowed (%d)\n",
|
||||
"proxy authorization disallowed (%d)\n",
|
||||
(long) (conn ? conn->c_connid : -1), rc, 0 );
|
||||
#endif
|
||||
|
||||
@ -895,7 +897,7 @@ slap_sasl_authorize(
|
||||
ok:
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( TRANSPORT, RESULTS,
|
||||
"slap_sasl_authorize: conn %d authorization allowed\n",
|
||||
"slap_sasl_authorize: conn %d proxy authorization allowed\n",
|
||||
(long)(conn ? conn->c_connid : -1 ), 0, 0 );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "SASL Authorize [conn=%ld]: "
|
||||
@ -975,7 +977,7 @@ int slap_sasl_init( void )
|
||||
if ( ((rc >> 16) != ((SASL_VERSION_MAJOR << 8)|SASL_VERSION_MINOR)) ||
|
||||
(rc & 0xffff) < SASL_VERSION_STEP) {
|
||||
char version[sizeof("xxx.xxx.xxxxx")];
|
||||
sprintf( version, "%d.%d.%d", rc >> 24, rc >> 16 & 0xff,
|
||||
sprintf( version, "%u.%d.%d", (unsigned)rc >> 24, (rc >> 16) & 0xff,
|
||||
rc & 0xffff );
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( TRANSPORT, INFO,
|
||||
|
Loading…
Reference in New Issue
Block a user