}
vals[0] = rdn[0][0]->la_value;
- attr_merge( e, desc, vals );
+ attr_mergeit( e, desc, vals );
ldap_rdnfree(rdn);
rdn = NULL;
*/
vals[0].bv_val = "organizationalUnit";
vals[0].bv_len = sizeof("organizationalUnit")-1;
- attr_merge( e, ad_objectClass, vals );
+ attr_mergeit( e, ad_objectClass, vals );
if ( test_filter( be, conn, op, e, filter ) == LDAP_COMPARE_TRUE ) {
send_search_entry( be, conn, op,
/* objectclasses should be configurable items */
vals[0].bv_val = "top";
vals[0].bv_len = sizeof("top")-1;
- attr_merge( e, ad_objectClass, vals );
+ attr_mergeit( e, ad_objectClass, vals );
vals[0].bv_val = "person";
vals[0].bv_len = sizeof("person")-1;
- attr_merge( e, ad_objectClass, vals );
+ attr_mergeit( e, ad_objectClass, vals );
vals[0].bv_val = "uidObject";
vals[0].bv_len = sizeof("uidObject")-1;
- attr_merge( e, ad_objectClass, vals );
+ attr_mergeit( e, ad_objectClass, vals );
vals[0].bv_val = pw->pw_name;
vals[0].bv_len = pwlen;
- attr_merge( e, ad_uid, vals ); /* required by uidObject */
- attr_merge( e, ad_cn, vals ); /* required by person */
- attr_merge( e, ad_sn, vals ); /* required by person */
+ attr_mergeit( e, ad_uid, vals ); /* required by uidObject */
+ attr_mergeit( e, ad_cn, vals ); /* required by person */
+ attr_mergeit( e, ad_sn, vals ); /* required by person */
#ifdef HAVE_PW_GECOS
/*
vals[0].bv_val = pw->pw_gecos;
vals[0].bv_len = strlen(vals[0].bv_val);
- attr_merge(e, ad_description, vals);
+ attr_mergeit(e, ad_description, vals);
s = strchr(vals[0].bv_val, ',');
if (s) *s = '\0';
vals[0].bv_len = strlen(vals[0].bv_val);
if ( vals[0].bv_len && strcasecmp( vals[0].bv_val, pw->pw_name )) {
- attr_merge( e, ad_cn, vals );
+ attr_mergeit( e, ad_cn, vals );
}
if ( (s=strrchr(vals[0].bv_val, ' '))) {
vals[0].bv_val = s + 1;
vals[0].bv_len = strlen(vals[0].bv_val);
- attr_merge(e, ad_sn, vals);
+ attr_mergeit(e, ad_sn, vals);
}
}
#endif
return -1;
}
- rc = attr_merge( e, ad, bv );
+ rc = attr_mergeit( e, ad, bv );
ch_free( bv );
return rc;
if ( value != NULL ) {
bv.bv_val = (char *)value;
bv.bv_len = strlen(value);
- attr_merge_one ( e, ad, &bv );
+ attr_mergeit_one( e, ad, &bv );
}
#endif /* LDAP_SLAPI */
}
return -1;
}
- return attr_merge( e, ad, *vs );
+ return attr_mergeit( e, ad, *vs );
#else
return -1;
#endif /* LDAP_SLAPI */
return -1;
}
- rc = attr_merge_one( e, ad, (Slapi_Value *)value );
+ rc = attr_mergeit_one( e, ad, (Slapi_Value *)value );
if ( rc != LDAP_SUCCESS ) {
return -1;
}
return -1;
}
- rc = attr_merge( e, ad, bv );
+ rc = attr_mergeit( e, ad, bv );
slapi_ch_free( (void **)&bv );
if ( rc != LDAP_SUCCESS ) {
return -1;