}
tmp = v2ref( refs );
- text = tmp;
refs = NULL;
+ if( tmp != NULL ) text = tmp;
+
} else {
/* don't send references in search results */
assert( refs == NULL );
BerElement *ber;
Attribute *a;
int i, rc=-1, bytes;
- AccessControl *acl;
char *edn;
int userattrs;
int opattrs;
: charray_inlist( attrs, LDAP_ALL_OPERATIONAL_ATTRIBUTES );
for ( a = e->e_attrs; a != NULL; a = a->a_next ) {
- regmatch_t matches[MAXREMATCHES];
-
if ( attrs == NULL ) {
/* all addrs request, skip operational attributes */
if( !opattrs && oc_check_operational_attr( a->a_type ) ) {
a = backend_subschemasubentry( be );
do {
- regmatch_t matches[MAXREMATCHES];
-
if ( attrs == NULL ) {
/* all addrs request, skip operational attributes */
if( !opattrs && oc_check_operational_attr( a->a_type ) ) {