Lines Matching refs:sml_values

1520 		m->sml_values = ch_calloc( sizeof(struct berval), 2 );  in ppolicy_bind_response()
1523 ber_dupbv( &m->sml_values[0], &timestamp_usec ); in ppolicy_bind_response()
1569 v = m->sml_values[0]; in ppolicy_bind_response()
1571 ch_free(m->sml_values); in ppolicy_bind_response()
1573 m->sml_values = ch_calloc( sizeof(struct berval), ppb->pp.pwdMaxRecordedFailure+1 ); in ppolicy_bind_response()
1576 ber_dupbv(&m->sml_values[i], &a->a_vals[a->a_numvals-j+i]); in ppolicy_bind_response()
1579 m->sml_values[i] = v; in ppolicy_bind_response()
1588 m->sml_values = ch_calloc( sizeof(struct berval), m->sml_numvals+1 ); in ppolicy_bind_response()
1591 ber_dupbv(&m->sml_values[i], &a->a_vals[i]); in ppolicy_bind_response()
1614 m->sml_values = ch_calloc( sizeof(struct berval), 2 ); in ppolicy_bind_response()
1616 ber_dupbv( &m->sml_values[0], &timestamp ); in ppolicy_bind_response()
1638 m->sml_values = ch_calloc( sizeof(struct berval), 2 ); in ppolicy_bind_response()
1640 ber_dupbv( &m->sml_values[0], &lockout_stamp ); in ppolicy_bind_response()
1739 m->sml_values = ch_calloc( sizeof(struct berval), 2 ); in ppolicy_bind_response()
1741 ber_dupbv( &m->sml_values[0], &timestamp_usec ); in ppolicy_bind_response()
2455 ml->sml_values = NULL; in ppolicy_modify()
2468 ml->sml_values = NULL; in ppolicy_modify()
2480 ml->sml_values = NULL; in ppolicy_modify()
2492 ml->sml_values = NULL; in ppolicy_modify()
2546 (ml->sml_values) && !BER_BVISNULL( &ml->sml_values[0] )) in ppolicy_modify()
2555 if ( ml->sml_values && !BER_BVISNULL( &ml->sml_values[0] )) { in ppolicy_modify()
2570 if ( addmod || !BER_BVISNULL( &ml->sml_values[ 1 ] ) ) { in ppolicy_modify()
2701 ml->sml_values = (BerVarray) ch_malloc( 2 * sizeof( struct berval ) ); in ppolicy_modify()
2702 ber_dupbv( &ml->sml_values[0], &oldpw ); in ppolicy_modify()
2703 BER_BVZERO( &ml->sml_values[1] ); in ppolicy_modify()
2743 bv = oldpw.bv_val ? &oldpw : delmod->sml_values; in ppolicy_modify()
2762 for ( i = 0; !BER_BVISNULL( &delmod->sml_values[i] ); i++ ) { in ppolicy_modify()
2763 free( delmod->sml_values[i].bv_val ); in ppolicy_modify()
2764 BER_BVZERO( &delmod->sml_values[i] ); in ppolicy_modify()
2766 free( delmod->sml_values ); in ppolicy_modify()
2767 delmod->sml_values = ch_calloc( sizeof(struct berval), 2 ); in ppolicy_modify()
2768 BER_BVZERO( &delmod->sml_values[1] ); in ppolicy_modify()
2769 ber_dupbv( &(delmod->sml_values[0]), &(pa->a_nvals[0]) ); in ppolicy_modify()
2773 bv = newpw.bv_val ? &newpw : &addmod->sml_values[0]; in ppolicy_modify()
2871 mods->sml_values = (BerVarray) ch_calloc( sizeof( struct berval ), 2 ); in ppolicy_modify()
2874 ber_dupbv( &mods->sml_values[0], &timestamp ); in ppolicy_modify()
2931 mods->sml_values = (BerVarray) ch_calloc( sizeof( struct berval ), 2 ); in ppolicy_modify()
2934 ber_dupbv( &mods->sml_values[0], (struct berval *)&slap_true_bv ); in ppolicy_modify()
2997 mods->sml_values = ch_calloc( sizeof( struct berval ), in ppolicy_modify()
2999 BER_BVZERO( &mods->sml_values[ hsize - pp.pwdInHistory + 1 ] ); in ppolicy_modify()
3001 BER_BVZERO( &mods->sml_values[i] ); in ppolicy_modify()
3002 ber_dupbv( &(mods->sml_values[i]), &p->bv ); in ppolicy_modify()
3029 mods->sml_values = ch_calloc( sizeof( struct berval ), 2 ); in ppolicy_modify()
3030 mods->sml_values[ 1 ].bv_val = NULL; in ppolicy_modify()
3031 mods->sml_values[ 1 ].bv_len = 0; in ppolicy_modify()
3032 make_pwd_history_value( timebuf, &mods->sml_values[0], pa ); in ppolicy_modify()
3061 (password_scheme( &(addmod->sml_values[0]), NULL ) != LDAP_SUCCESS)) in ppolicy_modify()
3065 slap_passwd_hash( &(addmod->sml_values[0]), &hpw, &txt ); in ppolicy_modify()
3074 bv = addmod->sml_values[0]; in ppolicy_modify()
3078 addmod->sml_values[0] = hpw; in ppolicy_modify()