Home
last modified time | relevance | path

Searched refs:tl_data (Results 1 – 25 of 32) sorted by relevance

12

/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_xdr.c44 krb5_tl_data * tl_data; local
56 for (tl_data = entry->tl_data; tl_data; tl_data = tl_data->tl_data_next)
57 if (tl_data->tl_data_type == new_tl_data->tl_data_type)
62 if (!tl_data) {
63 if ((tl_data = (krb5_tl_data *) calloc(1, sizeof(krb5_tl_data)))
68 tl_data->tl_data_next = entry->tl_data;
69 entry->tl_data = tl_data;
75 if (tl_data->tl_data_contents)
76 free(tl_data->tl_data_contents);
78 tl_data->tl_data_type = new_tl_data->tl_data_type;
[all …]
H A Dldap_misc.c597 store_tl_data(tl_data, tl_type, value) in store_tl_data() argument
598 krb5_tl_data *tl_data; in store_tl_data()
606 tl_data->tl_data_type = KDB_TL_USER_INFO;
615 currlen = tl_data->tl_data_length;
616 tl_data->tl_data_length += 1 + 2 + 2;
618 reallocptr = tl_data->tl_data_contents;
619 tl_data->tl_data_contents = realloc(tl_data->tl_data_contents,
620 tl_data->tl_data_length);
621 if (tl_data->tl_data_contents == NULL) {
626 curr = (tl_data->tl_data_contents + currlen);
[all …]
H A Dldap_principal.c92 krb5_tl_data *tl_data=NULL; local
99 for (tl_data = entry->tl_data; tl_data; tl_data = tl_data_next) {
100 tl_data_next = tl_data->tl_data_next;
101 if (tl_data->tl_data_contents)
102 free(tl_data->tl_data_contents);
103 free(tl_data);
H A Dldap_tkt_policy.c241 lpolicy->tl_data = calloc (1, sizeof(*lpolicy->tl_data));
242 CHECK_NULL(lpolicy->tl_data);
243 lpolicy->tl_data->tl_data_type = KDB_TL_USER_INFO;
263 store_tl_data(lpolicy->tl_data, KDB_TL_MASK, omask);
410 if (policy->tl_data) {
411 if (policy->tl_data->tl_data_contents)
412 free (policy->tl_data->tl_data_contents);
413 free (policy->tl_data);
H A Dldap_services.c457 lservice->tl_data = calloc (1, sizeof(*lservice->tl_data));
458 if (lservice->tl_data == NULL) {
462 lservice->tl_data->tl_data_type = KDB_TL_USER_INFO;
521 store_tl_data(lservice->tl_data, KDB_TL_MASK, omask);
558 if (service->tl_data) {
559 if (service->tl_data->tl_data_contents)
560 free (service->tl_data->tl_data_contents);
561 free (service->tl_data);
H A Dprinc_xdr.c197 krb5_lookup_tl_kadm_data(krb5_tl_data *tl_data, osa_princ_ent_rec *princ_entry) in krb5_lookup_tl_kadm_data() argument
202 xdrmem_create(&xdrs, (const caddr_t)tl_data->tl_data_contents, in krb5_lookup_tl_kadm_data()
203 tl_data->tl_data_length, XDR_DECODE); in krb5_lookup_tl_kadm_data()
H A Dldap_principal2.c469 krb5_tl_data *tl_data=NULL; local
904 for (tl_data=entries->tl_data; tl_data; tl_data=tl_data->tl_data_next) {
905 if (tl_data->tl_data_type == KRB5_TL_KADM_DATA) {
907 if ((st = krb5_lookup_tl_kadm_data(tl_data, &princ_ent)) != 0) {
985 if (entries->tl_data != NULL) {
989 for (ptr = entries->tl_data; ptr != NULL; ptr = ptr->tl_data_next) {
1011 for (j = 0, ptr = entries->tl_data; ptr != NULL; ptr = ptr->tl_data_next) {
H A Dldap_realm.c428 rparams->tl_data == NULL ||
429 rparams->tl_data->tl_data_contents == NULL ||
450 if ((st=decode_tl_data(rparams->tl_data, KDB_TL_MASK, &voidptr)) == 0) {
1237 rlparams->tl_data = malloc (sizeof(krb5_tl_data));
1238 if (rlparams->tl_data == NULL) {
1242 memset((char *) rlparams->tl_data, 0, sizeof(krb5_tl_data));
1243 rlparams->tl_data->tl_data_type = KDB_TL_USER_INFO;
1418 st = store_tl_data(rlparams->tl_data, KDB_TL_MASK, mask);
1472 if (rparams->tl_data) {
1473 if (rparams->tl_data->tl_data_contents)
[all …]
H A Dldap_tkt_policy.h50 krb5_tl_data *tl_data; member
H A Dldap_services.h65 krb5_tl_data *tl_data; member
H A Dldap_realm.h71 krb5_tl_data *tl_data; member
H A Dprinc_xdr.h74 krb5_lookup_tl_kadm_data(krb5_tl_data *tl_data, osa_princ_ent_rec *princ_entry);
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.c71 krb5_tl_data * tl_data; local
104 for (tl_data = entry->tl_data; tl_data; tl_data = tl_data->tl_data_next) {
105 content->length += tl_data->tl_data_length;
201 for (tl_data = entry->tl_data; tl_data; tl_data = tl_data->tl_data_next) {
202 krb5_kdb_encode_int16(tl_data->tl_data_type, nextloc);
204 krb5_kdb_encode_int16(tl_data->tl_data_length, nextloc);
207 memcpy(nextloc, tl_data->tl_data_contents, tl_data->tl_data_length);
208 nextloc += tl_data->tl_data_length;
256 krb5_tl_data ** tl_data; local
364 tl_data = &entry->tl_data;
[all …]
/titanic_41/usr/src/lib/krb5/kdb/
H A Dkdb5.c1008 prev = NULL, curr = entries->tl_data; in krb5_db_put_principal()
1036 entries->tl_data = curr->tl_data_next; in krb5_db_put_principal()
1560 krb5_tl_data tl_data; local
1564 tl_data.tl_data_type = KRB5_TL_LAST_PWD_CHANGE;
1566 if ((code = krb5_dbe_lookup_tl_data(context, entry, &tl_data)))
1569 if (tl_data.tl_data_length != 4) {
1574 krb5_kdb_decode_int32(tl_data.tl_data_contents, tmp);
1588 krb5_tl_data *tl_data; local
1590 for (tl_data = entry->tl_data; tl_data; tl_data = tl_data->tl_data_next) {
1591 if (tl_data->tl_data_type == ret_tl_data->tl_data_type) {
[all …]
H A Dkdb_convert.c113 for (first = current->tl_data, second = new->tl_data; in find_changed_attrs()
525 newtl = ent->tl_data; in ulog_conv_2logentry()
549 …ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_len = newtl->tl_data_length; in ulog_conv_2logentry()
550 …ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_val = malloc(newtl->tl_data… in ulog_conv_2logentry()
551 if (ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_val == NULL) { in ulog_conv_2logentry()
555 …(void) memcpy(ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_val, newtl->t… in ulog_conv_2logentry()
770 newtl[j].tl_data_length = (krb5_int16)u.av_tldata.av_tldata_val[j].tl_data.tl_data_len; in ulog_conv_2dbentry()
780 …(void) memcpy(newtl[j].tl_data_contents, u.av_tldata.av_tldata_val[j].tl_data.tl_data_val, newtl[j… in ulog_conv_2dbentry()
924 free(ULOG_ENTRY(upd, i).av_tldata.av_tldata_val[j].tl_data.tl_data_val); in ulog_free_entries()
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dserver_kdb.c250 krb5_tl_data tl_data; in kdb_get_entry() local
269 tl_data.tl_data_type = KRB5_TL_KADM_DATA; in kdb_get_entry()
275 if ((ret = krb5_dbe_lookup_tl_data(handle->context, kdb, &tl_data)) in kdb_get_entry()
276 || (tl_data.tl_data_length == 0)) { in kdb_get_entry()
290 xdrmem_create(&xdrs, (caddr_t)tl_data.tl_data_contents, in kdb_get_entry()
291 tl_data.tl_data_length, XDR_DECODE); in kdb_get_entry()
362 krb5_tl_data tl_data; in kdb_put_entry() local
379 tl_data.tl_data_type = KRB5_TL_KADM_DATA; in kdb_put_entry()
380 tl_data.tl_data_length = xdr_getpos(&xdrs); in kdb_put_entry()
382 tl_data.tl_data_contents = (unsigned char *) xdralloc_getdata(&xdrs); in kdb_put_entry()
[all …]
H A Dsvr_principal.c372 tl_data_orig = kdb.tl_data; in kadm5_create_principal_3()
373 for (tl_data_tail = entry->tl_data; tl_data_tail; in kadm5_create_principal_3()
538 tl_data_orig = entry->tl_data; in kadm5_modify_principal()
671 for (tl = entry->tl_data; tl; in kadm5_modify_principal()
871 entry->tl_data = NULL; in kadm5_get_principal()
873 tl = kdb.tl_data; in kadm5_get_principal()
880 tl2->tl_data_next = entry->tl_data; in kadm5_get_principal()
881 entry->tl_data = tl2; in kadm5_get_principal()
/titanic_41/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c117 if (val->tl_data) { in kadm5_free_principal_ent()
120 while (val->tl_data) { in kadm5_free_principal_ent()
121 tl = val->tl_data->tl_data_next; in kadm5_free_principal_ent()
122 free(val->tl_data->tl_data_contents); in kadm5_free_principal_ent()
123 free(val->tl_data); in kadm5_free_principal_ent()
124 val->tl_data = tl; in kadm5_free_principal_ent()
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/
H A Dovload.c129 krb5_tl_data tl_data; local
207 tl_data.tl_data_type = KRB5_TL_KADM_DATA;
208 tl_data.tl_data_length = xdr_getpos(&xdrs);
209 tl_data.tl_data_contents = (krb5_octet *) xdralloc_getdata(&xdrs);
216 ret = krb5_dbe_update_tl_data(kcontext, &kdb, &tl_data);
H A Ddump.c853 for (tlp = entry->tl_data; tlp; tlp = tlp->tl_data_next) {
890 for (tlp = entry->tl_data; tlp; tlp = tlp->tl_data_next) {
1016 for (tlp = entry->tl_data; tlp; tlp = tlp->tl_data_next)
1038 for (tlp = entry->tl_data; tlp;
1263 krb5_tl_data tl_data; in dump_ov_princ() local
1278 tl_data.tl_data_type = KRB5_TL_KADM_DATA; in dump_ov_princ()
1279 if (krb5_dbe_lookup_tl_data(arg->kcontext, kdb, &tl_data) in dump_ov_princ()
1280 || (tl_data.tl_data_length == 0)) in dump_ov_princ()
1284 xdrmem_create(&xdrs, (const caddr_t) tl_data.tl_data_contents, in dump_ov_princ()
1285 tl_data.tl_data_length, XDR_DECODE); in dump_ov_princ()
[all …]
/titanic_41/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_realm.c2154 krb5_tl_data *tl_data = NULL; local
2171 for (tl_data = entry->tl_data; tl_data;
2172 tl_data = tl_data->tl_data_next)
2173 if (tl_data->tl_data_type == new_tl_data->tl_data_type)
2179 if (!tl_data) {
2186 if ((tl_data = (krb5_tl_data *) malloc (sizeof(krb5_tl_data))) == NULL) {
2190 memset(tl_data, 0, sizeof(krb5_tl_data));
2191 tl_data->tl_data_next = entry->tl_data;
2192 entry->tl_data = tl_data;
2198 if (tl_data->tl_data_contents)
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c916 krb5_tl_data *tl_data = princ->tl_data; in kadmin_free_tl_data() local
921 princ->tl_data = NULL; in kadmin_free_tl_data()
923 for (i = 0; tl_data && (i < n_tl_data); i++) { in kadmin_free_tl_data()
924 krb5_tl_data *next = tl_data->tl_data_next; in kadmin_free_tl_data()
925 if (tl_data->tl_data_contents) in kadmin_free_tl_data()
926 free(tl_data->tl_data_contents); in kadmin_free_tl_data()
927 free(tl_data); in kadmin_free_tl_data()
928 tl_data = next; in kadmin_free_tl_data()
950 krb5_tl_data *tl_data, *tail = NULL; local
965 tl_data = malloc(sizeof(krb5_tl_data));
[all …]
/titanic_41/usr/src/uts/common/sys/av/
H A Diec61883.h214 uint32_t *tl_data; /* data buffer */ member
276 caddr32_t tl_data; /* data buffer */ member
/titanic_41/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_principal.c95 arg.rec.tl_data = NULL; in kadm5_create_principal()
156 arg.rec.tl_data = NULL; in kadm5_create_principal_3()
220 arg.rec.tl_data = NULL; in kadm5_modify_principal()
/titanic_41/usr/src/cmd/krb5/iprop/
H A Diprop.x62 opaque tl_data<>;

12