Home
last modified time | relevance | path

Searched refs:tl_data_contents (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_xdr.c73 if (tl_data->tl_data_contents)
74 free(tl_data->tl_data_contents);
78 tl_data->tl_data_contents = tmp;
79 memcpy(tmp, new_tl_data->tl_data_contents, tl_data->tl_data_length);
104 ret_tl_data->tl_data_contents = NULL;
120 tl_data.tl_data_contents = buf;
145 krb5_kdb_decode_int32(tl_data.tl_data_contents, tmp);
183 tl_data.tl_data_contents = nextloc;
215 (tl_data.tl_data_contents[tl_data.tl_data_length-1] != '\0'))
219 krb5_kdb_decode_int32(tl_data.tl_data_contents, *mod_time);
[all …]
H A Dldap_misc.c618 reallocptr = tl_data->tl_data_contents;
619 tl_data->tl_data_contents = realloc(tl_data->tl_data_contents,
621 if (tl_data->tl_data_contents == NULL) {
626 curr = (tl_data->tl_data_contents + currlen);
649 reallocptr = tl_data->tl_data_contents;
650 tl_data->tl_data_contents = realloc(tl_data->tl_data_contents,
652 if (tl_data->tl_data_contents == NULL) {
657 curr = (tl_data->tl_data_contents + currlen);
705 curr = tl_data->tl_data_contents;
706 while (curr < (tl_data->tl_data_contents + tl_data->tl_data_length)) {
[all …]
H A Dprinc_xdr.c200 xdrmem_create(&xdrs, (const caddr_t)tl_data->tl_data_contents, in krb5_lookup_tl_kadm_data()
233 xdrmem_create(&xdrs, (caddr_t)old_tl_data->tl_data_contents,
260 new_tl_data->tl_data_contents = (krb5_octet *)tmpbuf;
H A Dldap_principal.c101 if (tl_data->tl_data_contents)
102 free(tl_data->tl_data_contents);
H A Dldap_tkt_policy.c411 if (policy->tl_data->tl_data_contents)
412 free (policy->tl_data->tl_data_contents);
H A Dldap_services.c557 if (service->tl_data->tl_data_contents)
558 free (service->tl_data->tl_data_contents);
H A Dldap_principal2.c60 (*out)->tl_data_contents = (krb5_octet *) malloc in berval2tl_data()
62 if ((*out)->tl_data_contents == NULL) { in berval2tl_data()
69 memcpy ((*out)->tl_data_contents, in->bv_val + 2, (*out)->tl_data_length); in berval2tl_data()
444 memcpy ((*out)->bv_val + 2, in->tl_data_contents, in->tl_data_length); in tl_data2berval()
H A Dldap_realm.c428 rparams->tl_data->tl_data_contents == NULL ||
1472 if (rparams->tl_data->tl_data_contents)
1473 krb5_xfree(rparams->tl_data->tl_data_contents);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.c205 memcpy(nextloc, tl_data->tl_data_contents, tl_data->tl_data_length);
374 (*tl_data)->tl_data_contents = NULL;
384 if (((*tl_data)->tl_data_contents = (krb5_octet *)
389 memcpy((*tl_data)->tl_data_contents,nextloc,(*tl_data)->tl_data_length);
469 if (tl_data->tl_data_contents)
470 free(tl_data->tl_data_contents);
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_convert.c118 if ((memcmp((char *)first->tl_data_contents, in find_changed_attrs()
119 (char *)second->tl_data_contents, in find_changed_attrs()
553 (void) memcpy(ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_val, newtl->tl_data_contents, newtl->tl_data_length); in ulog_conv_2logentry()
769 newtl[j].tl_data_contents = NULL; in ulog_conv_2dbentry()
770 newtl[j].tl_data_contents = malloc(newtl[j].tl_data_length * sizeof (krb5_octet)); in ulog_conv_2dbentry()
771 if (newtl[j].tl_data_contents == NULL) in ulog_conv_2dbentry()
777 (void) memset(newtl[j].tl_data_contents, 0, (newtl[j].tl_data_length * sizeof (krb5_octet))); in ulog_conv_2dbentry()
778 (void) memcpy(newtl[j].tl_data_contents, u.av_tldata.av_tldata_val[j].tl_data.tl_data_val, newtl[j].tl_data_length); in ulog_conv_2dbentry()
787 if (newtl[j].tl_data_contents) { in ulog_conv_2dbentry()
788 free(newtl[j].tl_data_contents); in ulog_conv_2dbentry()
[all...]
H A Dkdb5.c1014 if (((char *) curr->tl_data_contents)[curr->tl_data_length - 1] != in krb5_db_put_principal()
1029 db_args[db_args_size - 1] = (char *) curr->tl_data_contents; in krb5_db_put_principal()
1573 krb5_kdb_decode_int32(tl_data.tl_data_contents, tmp);
1601 ret_tl_data->tl_data_contents = NULL;
1649 tl_data.tl_data_contents = nextloc;
1681 (tl_data.tl_data_contents[tl_data.tl_data_length - 1] != '\0'))
1685 krb5_kdb_decode_int32(tl_data.tl_data_contents, *mod_time);
1689 (const char *) (tl_data.tl_data_contents + 4),
1708 tl_data.tl_data_contents = buf;
1757 if (tl_data->tl_data_contents)
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_kdb.c290 xdrmem_create(&xdrs, (caddr_t)tl_data.tl_data_contents, in kdb_get_entry()
382 tl_data.tl_data_contents = (unsigned char *) xdralloc_getdata(&xdrs); in kdb_put_entry()
H A Dsvr_principal.c167 n->tl_data_contents = malloc(tl->tl_data_length); in dup_tl_data()
168 if (n->tl_data_contents == NULL) { in dup_tl_data()
172 memcpy(n->tl_data_contents, tl->tl_data_contents, tl->tl_data_length); in dup_tl_data()
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c122 free(val->tl_data->tl_data_contents); in kadm5_free_principal_ent()
H A Dkadm_rpc_xdr.c318 free(tl->tl_data_contents); in xdr_krb5_tl_data()
335 if (!xdr_bytes(xdrs, (char **) &tl->tl_data_contents, &len, ~0)) in xdr_krb5_tl_data()
354 if (!xdr_bytes(xdrs, (char **)&tl2->tl_data_contents, &len, ~0)) in xdr_krb5_tl_data()
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Ddump.c897 fprintf(arg->ofile, "%02x", tlp->tl_data_contents[i]);
1047 tl_data_contents[i]);
1282 xdrmem_create(&xdrs, (const caddr_t) tl_data.tl_data_contents, in dump_ov_princ()
1729 if (!(pwchg->tl_data_contents =
1745 if (pwchg && pwchg->tl_data_contents) {
1747 krb5_kdb_encode_int32(last_pwd_change, pwchg->tl_data_contents);
2216 if (!(tl->tl_data_contents =
2219 tl->tl_data_contents,
2238 xdrmem_create(&xdrs, (char *)tl->tl_data_contents,
H A Dovload.c207 tl_data.tl_data_contents = (krb5_octet *) xdralloc_getdata(&xdrs);
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_realm.c2194 if (tl_data->tl_data_contents)
2195 krb5_db_free(context, tl_data->tl_data_contents);
2199 tl_data->tl_data_contents = tmp;
2200 memcpy(tmp, new_tl_data->tl_data_contents, tl_data->tl_data_length);
2233 tl_data.tl_data_contents = nextloc;
2349 curr = tl_data->tl_data_contents = malloc(tl_data->tl_data_length);
2350 if (tl_data->tl_data_contents == NULL) {
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c925 if (tl_data->tl_data_contents) in kadmin_free_tl_data()
926 free(tl_data->tl_data_contents); in kadmin_free_tl_data()
974 tl_data->tl_data_contents = (unsigned char*)strdup(argv[i]);
984 if (tl_data->tl_data_contents == NULL) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h101 krb5_octet * tl_data_contents; member
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_preauth.c552 memcpy((*result)->data, tl->tl_data_contents, tl->tl_data_length); in get_entry_tl_data()