mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-19 21:32:58 -05:00
Clarify attribute comment
This commit is contained in:
parent
dd87b75985
commit
5beeb04346
1 changed files with 3 additions and 4 deletions
|
|
@ -836,7 +836,7 @@ slap_send_search_entry( Operation *op, SlapReply *rs )
|
|||
int finish = 0;
|
||||
|
||||
if ( rs->sr_attrs == NULL ) {
|
||||
/* all attrs request, skip operational attributes */
|
||||
/* all user attrs request, skip operational attributes */
|
||||
if( is_at_operational( desc->ad_type ) ) {
|
||||
continue;
|
||||
}
|
||||
|
|
@ -845,14 +845,13 @@ slap_send_search_entry( Operation *op, SlapReply *rs )
|
|||
/* specific attrs requested */
|
||||
if ( is_at_operational( desc->ad_type ) ) {
|
||||
if ( !SLAP_OPATTRS( rs->sr_attr_flags ) &&
|
||||
!ad_inlist( desc, rs->sr_attrs ) )
|
||||
!ad_inlist( desc, rs->sr_attrs ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
} else {
|
||||
if ( !userattrs && !ad_inlist( desc, rs->sr_attrs ) )
|
||||
{
|
||||
if ( !userattrs && !ad_inlist( desc, rs->sr_attrs ) ) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue