if ( ml->sml_values != NULL ) {
if ( is_oc ) {
for (j = 0; ml->sml_values[j].bv_val; j++);
- mods[i].mod_values = (struct berval **)ch_malloc((j+1) *
+ mods[i].mod_bvalues = (struct berval **)ch_malloc((j+1) *
sizeof(struct berval *));
for (j = 0; ml->sml_values[j].bv_val; j++) {
ldap_back_map(&li->rwmap.rwm_oc,
if (mapped.bv_val == NULL || mapped.bv_val[0] == '\0') {
continue;
}
- mods[i].mod_values[j] = &mapped;
+ mods[i].mod_bvalues[j] = &mapped;
}
- mods[i].mod_values[j] = NULL;
+ mods[i].mod_bvalues[j] = NULL;
} else {
if ( ml->sml_desc->ad_type->sat_syntax ==
}
for (j = 0; ml->sml_values[j].bv_val; j++);
- mods[i].mod_values = (struct berval **)ch_malloc((j+1) *
+ mods[i].mod_bvalues = (struct berval **)ch_malloc((j+1) *
sizeof(struct berval *));
for (j = 0; ml->sml_values[j].bv_val; j++)
- mods[i].mod_values[j] = &ml->sml_values[j];
- mods[i].mod_values[j] = NULL;
+ mods[i].mod_bvalues[j] = &ml->sml_values[j];
+ mods[i].mod_bvalues[j] = NULL;
}
} else {
- mods[i].mod_values = NULL;
+ mods[i].mod_bvalues = NULL;
}
i++;
free( mdn.bv_val );
}
for (i=0; modv[i]; i++) {
- ch_free(modv[i]->mod_values);
+ ch_free(modv[i]->mod_bvalues);
}
ch_free( mods );
ch_free( modv );
if ( ml->sml_values != NULL ){
for (j = 0; ml->sml_values[ j ].bv_val; j++);
- mods[ i ].mod_values = (struct berval **)ch_malloc((j+1) *
+ mods[ i ].mod_bvalues = (struct berval **)ch_malloc((j+1) *
sizeof(struct berval *));
for (j = 0; ml->sml_values[ j ].bv_val; j++)
- mods[ i ].mod_values[ j ] = &ml->sml_values[j];
- mods[ i ].mod_values[ j ] = NULL;
+ mods[ i ].mod_bvalues[ j ] = &ml->sml_values[j];
+ mods[ i ].mod_bvalues[ j ] = NULL;
} else {
- mods[ i ].mod_values = NULL;
+ mods[ i ].mod_bvalues = NULL;
}
i++;
}
if ( modv != NULL ) {
for ( i = 0; modv[ i ]; i++) {
- free( modv[ i ]->mod_values );
+ free( modv[ i ]->mod_bvalues );
}
}
free( mods );
cosine.schema COSINE Pilot
inetorgperson.schema InetOrgPerson
java.schema Java Object (RFC 2713)
-misc.schema misc (experimental)
+misc.schema Miscellaneous Schema (experimental)
nis.schema Network Information Service
openldap.schema OpenLDAP Project (FYI)
This notice applies to all schema in this directory which are derived
from RFCs and other Internet Standards documents.
-Portions Copyright 1991-2003, The Internet Society. All Rights Reserved.
+Portions Copyright 1991-2004, The Internet Society. All Rights Reserved.
This document and translations of it may be copied and furnished
to others, and derivative works that comment on or otherwise explain
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-# RFC 2459
+# RFC 2459 -- deprecated in favor of 'mail' (in cosine.schema)
attributetype ( 1.2.840.113549.1.9.1
NAME ( 'email' 'emailAddress' 'pkcs9email' )
DESC 'RFC2459: legacy attribute for email addresses in DNs'
* being passed in may not have been allocated on the
* heap.
*/
- rc = bvptr2obj_copy( pMod->mod_values, &bv );
+ rc = bvptr2obj_copy( pMod->mod_bvalues, &bv );
if ( rc != LDAP_SUCCESS ) goto cleanup;
tmp.sml_type.bv_val = pMod->mod_type;
tmp.sml_type.bv_len = strlen( pMod->mod_type );
* convert an array of pointers to bervals
* to an array of bervals
*/
- rs.sr_err = bvptr2obj_copy( pMod->mod_values, &bv );
+ rs.sr_err = bvptr2obj_copy( pMod->mod_bvalues, &bv );
if ( rs.sr_err != LDAP_SUCCESS )
goto cleanup;
tmp.sml_type.bv_val = pMod->mod_type;