Fix ACL SSF reporting

This commit is contained in:
Kurt Zeilenga 2000-09-05 18:24:24 +00:00
parent 04939b7aca
commit 63ae1d22e5
2 changed files with 12 additions and 12 deletions

View File

@ -637,8 +637,8 @@ acl_mask(
}
if ( b->a_authz.sai_ssf ) {
Debug( LDAP_DEBUG_ACL, "<= check a_authz.sai_ssf: %ud\n",
b->a_authz.sai_ssf, 0, 0 );
Debug( LDAP_DEBUG_ACL, "<= check a_authz.sai_ssf: ACL %u > OP %u\n",
b->a_authz.sai_ssf, op->o_ssf, 0 );
if ( b->a_authz.sai_ssf > op->o_ssf ) {
continue;
@ -647,8 +647,8 @@ acl_mask(
if ( b->a_authz.sai_transport_ssf ) {
Debug( LDAP_DEBUG_ACL,
"<= check a_authz.sai_transport_ssf: %ud\n",
b->a_authz.sai_transport_ssf, 0, 0 );
"<= check a_authz.sai_transport_ssf: ACL %u > OP %u\n",
b->a_authz.sai_transport_ssf, op->o_transport_ssf, 0 );
if ( b->a_authz.sai_transport_ssf > op->o_transport_ssf ) {
continue;
@ -657,8 +657,8 @@ acl_mask(
if ( b->a_authz.sai_tls_ssf ) {
Debug( LDAP_DEBUG_ACL,
"<= check a_authz.sai_tls_ssf: %ud\n",
b->a_authz.sai_tls_ssf, 0, 0 );
"<= check a_authz.sai_tls_ssf: ACL %u > OP %s\n",
b->a_authz.sai_tls_ssf, op->o_tls_ssf, 0 );
if ( b->a_authz.sai_tls_ssf > op->o_tls_ssf ) {
continue;
@ -667,8 +667,8 @@ acl_mask(
if ( b->a_authz.sai_sasl_ssf ) {
Debug( LDAP_DEBUG_ACL,
"<= check a_authz.sai_sasl_ssf: %ud\n",
b->a_authz.sai_sasl_ssf, 0, 0 );
"<= check a_authz.sai_sasl_ssf: ACL %u > OP %s\n",
b->a_authz.sai_sasl_ssf, op->o_sasl_ssf, 0 );
if ( b->a_authz.sai_sasl_ssf > op->o_sasl_ssf ) {
continue;

View File

@ -1236,19 +1236,19 @@ print_access( Access *b )
/* Security Strength Factors */
if ( b->a_authz.sai_ssf ) {
fprintf( stderr, " ssf=%ud",
fprintf( stderr, " ssf=%u",
b->a_authz.sai_ssf );
}
if ( b->a_authz.sai_transport_ssf ) {
fprintf( stderr, " transport_ssf=%ud",
fprintf( stderr, " transport_ssf=%u",
b->a_authz.sai_transport_ssf );
}
if ( b->a_authz.sai_tls_ssf ) {
fprintf( stderr, " tls_ssf=%ud",
fprintf( stderr, " tls_ssf=%u",
b->a_authz.sai_tls_ssf );
}
if ( b->a_authz.sai_sasl_ssf ) {
fprintf( stderr, " sasl_ssf=%ud",
fprintf( stderr, " sasl_ssf=%u",
b->a_authz.sai_sasl_ssf );
}