Commit 63ae1d22 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix ACL SSF reporting

parent 04939b7a
......@@ -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;
......
......@@ -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 );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment