Lines Matching refs:mods
2443 Modifications *mods = NULL, *modtail = NULL,
2956 mods = NULL;
2958 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
2959 mods->sml_op = LDAP_MOD_REPLACE;
2960 mods->sml_numvals = 1;
2961 mods->sml_values = (BerVarray) ch_calloc( sizeof( struct berval ), 2 );
2962 mods->sml_nvalues = (BerVarray) ch_calloc( sizeof( struct berval ), 2 );
2964 ber_dupbv( &mods->sml_values[0], ×tamp );
2965 ber_dupbv( &mods->sml_nvalues[0], ×tamp );
2967 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
2968 mods->sml_op = LDAP_MOD_DELETE;
2970 if (mods) {
2971 mods->sml_desc = ad_pwdChangedTime;
2972 mods->sml_flags = SLAP_MOD_INTERNAL;
2973 mods->sml_next = NULL;
2974 modtail->sml_next = mods;
2975 modtail = mods;
2980 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
2981 mods->sml_op = LDAP_MOD_DELETE;
2982 mods->sml_desc = ad_pwdGraceUseTime;
2983 mods->sml_flags = SLAP_MOD_INTERNAL;
2984 mods->sml_next = NULL;
2985 modtail->sml_next = mods;
2986 modtail = mods;
2990 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
2991 mods->sml_op = LDAP_MOD_DELETE;
2992 mods->sml_desc = ad_pwdAccountLockedTime;
2993 mods->sml_flags = SLAP_MOD_INTERNAL;
2994 mods->sml_next = NULL;
2995 modtail->sml_next = mods;
2996 modtail = mods;
3000 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
3001 mods->sml_op = LDAP_MOD_DELETE;
3002 mods->sml_desc = ad_pwdFailureTime;
3003 mods->sml_flags = SLAP_MOD_INTERNAL;
3004 mods->sml_next = NULL;
3005 modtail->sml_next = mods;
3006 modtail = mods;
3016 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
3017 mods->sml_op = LDAP_MOD_REPLACE;
3018 mods->sml_desc = ad_pwdReset;
3019 mods->sml_flags = SLAP_MOD_INTERNAL;
3020 mods->sml_numvals = 1;
3021 mods->sml_values = (BerVarray) ch_calloc( sizeof( struct berval ), 2 );
3022 mods->sml_nvalues = (BerVarray) ch_calloc( sizeof( struct berval ), 2 );
3024 ber_dupbv( &mods->sml_values[0], (struct berval *)&slap_true_bv );
3025 ber_dupbv( &mods->sml_nvalues[0], (struct berval *)&slap_true_bv );
3027 mods->sml_next = NULL;
3028 modtail->sml_next = mods;
3029 modtail = mods;
3031 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
3032 mods->sml_op = LDAP_MOD_DELETE;
3033 mods->sml_desc = ad_pwdReset;
3034 mods->sml_flags = SLAP_MOD_INTERNAL;
3035 mods->sml_next = NULL;
3036 modtail->sml_next = mods;
3037 modtail = mods;
3043 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
3044 mods->sml_op = LDAP_MOD_DELETE;
3045 mods->sml_flags = SLAP_MOD_INTERNAL;
3046 mods->sml_desc = ad_pwdLastSuccess;
3047 mods->sml_next = NULL;
3048 modtail->sml_next = mods;
3049 modtail = mods;
3055 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
3056 mods->sml_op = LDAP_MOD_DELETE;
3057 mods->sml_flags = SLAP_MOD_INTERNAL;
3058 mods->sml_desc = ad_pwdHistory;
3059 mods->sml_next = NULL;
3060 modtail->sml_next = mods;
3061 modtail = mods;
3082 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
3083 mods->sml_op = LDAP_MOD_DELETE;
3084 mods->sml_flags = SLAP_MOD_INTERNAL;
3085 mods->sml_desc = ad_pwdHistory;
3086 mods->sml_numvals = hsize - pp.pwdInHistory + 1;
3087 mods->sml_values = ch_calloc( sizeof( struct berval ),
3089 BER_BVZERO( &mods->sml_values[ hsize - pp.pwdInHistory + 1 ] );
3091 BER_BVZERO( &mods->sml_values[i] );
3092 ber_dupbv( &(mods->sml_values[i]), &p->bv );
3094 mods->sml_next = NULL;
3095 modtail->sml_next = mods;
3096 modtail = mods;
3112 mods = (Modifications *) ch_malloc( sizeof( Modifications ) );
3113 mods->sml_op = LDAP_MOD_ADD;
3114 mods->sml_flags = SLAP_MOD_INTERNAL;
3115 mods->sml_type.bv_val = NULL;
3116 mods->sml_desc = ad_pwdHistory;
3117 mods->sml_nvalues = NULL;
3118 mods->sml_numvals = 1;
3119 mods->sml_values = ch_calloc( sizeof( struct berval ), 2 );
3120 mods->sml_values[ 1 ].bv_val = NULL;
3121 mods->sml_values[ 1 ].bv_len = 0;
3122 make_pwd_history_value( timebuf, &mods->sml_values[0], pa );
3123 mods->sml_next = NULL;
3124 modtail->sml_next = mods;
3125 modtail = mods;
3173 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
3174 mods->sml_op = LDAP_MOD_DELETE;
3175 mods->sml_desc = ad_pwdFailureTime;
3176 mods->sml_flags = SLAP_MOD_INTERNAL;
3177 mods->sml_next = NULL;
3178 modtail->sml_next = mods;
3179 modtail = mods;