} else {
- if (ldap_debug&LDAP_DEBUG_ACL)
+#ifdef LDAP_DEBUG
+ if (ldap_debug & LDAP_DEBUG_ACL)
print_acl(a);
-
+#endif
if ( a->acl_access == NULL ) {
fprintf( stderr,
} else if ( b->a_dnattr != NULL ) {
fprintf( stderr, " dnattr=%s", b->a_dnattr );
}
+#ifdef SLAPD_ACLGROUPS
else if ( b->a_group != NULL ) {
fprintf( stderr, " group: %s", b->a_group );
if ( b->a_objectclassvalue )
if ( b->a_groupattrname )
fprintf( stderr, " groupAttrName: %s", b->a_groupattrname );
}
+#endif
fprintf( stderr, "\n" );
}