Lines Matching defs:kvno
114 krb5_kvno kvno = -1;
134 if (kvno != -1 && kvno != key_data[i].key_data_kvno) {
138 kvno = key_data[i].key_data_kvno;
143 * assume we must be setting the principal's kvno as well!
146 * sent 0 as the kvno... This may seem ugly, but it's the price
147 * of backwards compatibility with pre-multi-kvno kadmin clients
149 * updating the entry's kvno?)
152 * keysets are given but the entry's kvno is not set and not in
156 if (kvno == 0) {
157 /* Force kvno to 1 if it was 0; (ank would do this anyways) */
158 if (ent->kvno == 0)
159 ent->kvno = 1;
160 /* Below we need key_data[*].kvno to be reasonable */
162 key_data[i].key_data_kvno = ent->kvno;
165 * Or force the entry's kvno to match the one from the new,
168 ent->kvno = kvno;
173 if (key_data[i].key_data_kvno == ent->kvno) {
181 * This kvno is historical. Build an hdb_keyset for keys of
185 if (hist_keys->val[k].kvno == key_data[i].key_data_kvno)
189 hist_keys->val[k].kvno == key_data[i].key_data_kvno)
190 /* We've added all keys of this kvno already (see below) */
194 hkset.kvno = key_data[i].key_data_kvno;
196 /* Find all keys of this kvno and add them to the new keyset */
197 if (key_data[k].key_data_kvno != hkset.kvno)
227 if (hist_keys->val[k].kvno != old_hist_keys->val[k].kvno)