{
snprintf( c->cr_msg, sizeof( c->cr_msg ),
"dn pattern already specified in to clause." );
- Debug( LDAP_DEBUG_ANY, "%s: %s.", c->log, c->cr_msg );
+ Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg );
goto fail;
}
} else {
snprintf( c->cr_msg, sizeof ( c->cr_msg ),
"unknown style \"%s\" in by clause", style );
- Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->line, c->cr_msg );
+ Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg );
goto fail;
}
if( bdn->a_at != NULL ) {
snprintf( c->cr_msg, sizeof( c->cr_msg ),
"dnattr already specified" );
- Debug( LDAP_DEBUG_ANY, c->log, c->cr_msg );
+ Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg );
goto fail;
}
/* legacy, tolerated */
snprintf( c->cr_msg, sizeof( c->cr_msg ),
"deprecated group style \"regex\"; use \"expand\" instead" );
- Debug( LDAP_DEBUG_CONFIG | LDAP_DEBUG_ACL, c->log, c->cr_msg );
+ Debug( LDAP_DEBUG_CONFIG | LDAP_DEBUG_ACL, "%s: %s.\n", c->log, c->cr_msg );
sty = ACL_STYLE_EXPAND;
break;
/* illegal port */
snprintf( c->cr_msg, sizeof( c->cr_msg ),
"illegal peername port specification \"{%s}\"", port );
- Debug( LDAP_DEBUG_ANY, "%s: %s.\n", port );
+ Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg );
goto fail;
}
}
if ( slap_dynacl_config( c, b, name, opts, sty, right ) ) {
snprintf( c->cr_msg, sizeof( c->cr_msg ),
"unable to configure dynacl \"%s\"", name );
- Debug( LDAP_DEBUG_ANY, "%s: %s\n.", c->log, c->cr_msg );
+ Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg );
goto fail;
}
if ( sty != ACL_STYLE_REGEX && sty != ACL_STYLE_BASE ) {
snprintf( c->cr_msg, sizeof( c->cr_msg ),
"inappropriate style \"%s\" in by clause", style );
- Debug( LDAP_DEBUG_ANY, "%s: %s\n.", c->log, c->cr_msg );
+ Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg );
goto fail;
}
if ( sty != ACL_STYLE_REGEX && sty != ACL_STYLE_BASE ) {
snprintf( c->cr_msg, sizeof( c->cr_msg ),
"inappropriate style \"%s\" in by clause", style );
- Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->line, c->cr_msg );
+ Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->cr_msg );
goto fail;
}