ldap_build_entry( Operation *op, LDAPMessage *e, Entry *ent,
struct berval *bdn, int flags );
#define LDAP_BUILD_ENTRY_PRIVATE 0x01
-#define LDAP_BUILD_ENTRY_NORMALIZE 0x02
static struct berval dummy = BER_BVNULL;
const char *text;
int last;
int private = flags & LDAP_BUILD_ENTRY_PRIVATE;
- int normalize = flags & LDAP_BUILD_ENTRY_NORMALIZE;
dncookie dc;
/* safe assumptions ... */
ldap_dnattr_result_rewrite( &dc, attr->a_vals );
}
- if ( normalize && last && attr->a_desc->ad_type->sat_equality &&
+ if ( last && attr->a_desc->ad_type->sat_equality &&
attr->a_desc->ad_type->sat_equality->smr_normalize ) {
int i;
*ent = ch_calloc(1,sizeof(Entry));
- rc = ldap_build_entry(op, e, *ent, &bdn, LDAP_BUILD_ENTRY_NORMALIZE);
+ rc = ldap_build_entry(op, e, *ent, &bdn, 0);
if (rc != LDAP_SUCCESS) {
ch_free(*ent);