Implement DIT Structure Rules and Name Forms
Implement LDAP Transactions extension
Implement native support for simple SASL mechanisms (e.g. EXTERNAL and PLAIN)
+Redesign slapd to use poll(2) instead of select(2)
Redesign slapd memory allocation fault handling
Localize tools
Debug( LDAP_DEBUG_TRACE, "Return code: %d\n", rc, 0, 0 );
-
- rc = SQLError( henv, hdbc, sth, state, &iSqlCode, msg,
- SQL_MAX_MESSAGE_LENGTH - 1, &len );
- for ( ; BACKSQL_SUCCESS( rc ); ) {
- Debug( LDAP_DEBUG_TRACE, "Native error code: %d\n",
- (int)iSqlCode, 0, 0 );
- Debug( LDAP_DEBUG_TRACE, "SQL engine state: %s\n",
- state, 0, 0 );
- Debug( LDAP_DEBUG_TRACE, "Message: %s\n", msg, 0, 0 );
- rc = SQLError( henv, hdbc, sth, state, &iSqlCode, msg,
- SQL_MAX_MESSAGE_LENGTH - 1, &len );
+ for ( ; rc = SQLError( henv, hdbc, sth, state, &iSqlCode, msg,
+ SQL_MAX_MESSAGE_LENGTH - 1, &len ), BACKSQL_SUCCESS( rc ); ) {
+ Debug( LDAP_DEBUG_TRACE,
+ " Native error code: %d\n"
+ " SQL engine state: %s\n"
+ " Message: %s\n",
+ (int)iSqlCode, state, msg );
}
}
if ( rc != LDAP_SUCCESS ) {
if ( rc == LDAP_ALREADY_EXISTS ) {
Modifications *mod;
- Modifications *modtail;
+ Modifications *modtail = modlist;
+
+ assert( modlist );
for ( mod = modlist; mod != NULL; mod = mod->sml_next ) {
modtail = mod;
if ( !LDAP_STAILQ_EMPTY( &be->be_syncinfo )) {
LDAP_STAILQ_FOREACH( si, &be->be_syncinfo, si_next ) {
- if ( ret = dn_match( &si->si_updatedn, ndn )) {
+ if ( ( ret = dn_match( &si->si_updatedn, ndn ) ) ) {
return ret;
}
}