kd 257 source4/heimdal/lib/hcrypto/des.c uint32_t kc, kd; kd 266 source4/heimdal/lib/hcrypto/des.c kd = pc2_d_1[(d >> 22) & 0x3f] | kd 274 source4/heimdal/lib/hcrypto/des.c *k |= (kd & 0x00fc0000L) >> 10; kd 275 source4/heimdal/lib/hcrypto/des.c *k++ |= (kd & 0x00000fc0L) >> 6; kd 278 source4/heimdal/lib/hcrypto/des.c *k |= (kd & 0x0003f000L) >> 4; kd 279 source4/heimdal/lib/hcrypto/des.c *k++ |= (kd & 0x0000003fL); kd 560 source4/heimdal/lib/krb5/crypto.c struct key_data *kd) kd 562 source4/heimdal/lib/krb5/crypto.c RC4_set_key (kd->schedule->data, kd 563 source4/heimdal/lib/krb5/crypto.c kd->key->keyvalue.length, kd->key->keyvalue.data); kd 652 source4/heimdal/lib/krb5/crypto.c struct key_data kd; kd 667 source4/heimdal/lib/krb5/crypto.c kd.schedule = NULL; kd 668 source4/heimdal/lib/krb5/crypto.c ALLOC(kd.key, 1); kd 669 source4/heimdal/lib/krb5/crypto.c if(kd.key == NULL) { kd 673 source4/heimdal/lib/krb5/crypto.c kd.key->keytype = enctype; kd 674 source4/heimdal/lib/krb5/crypto.c ret = krb5_data_alloc(&kd.key->keyvalue, et->keytype->size); kd 683 source4/heimdal/lib/krb5/crypto.c et->keytype->size, kd.key->keyvalue.data); kd 685 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &kd, et); kd 691 source4/heimdal/lib/krb5/crypto.c ret = derive_key(context, et, &kd, "kerberos", strlen("kerberos")); kd 693 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock_contents(context, kd.key, key); kd 694 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &kd, et); kd 700 source4/heimdal/lib/krb5/crypto.c evp_schedule(krb5_context context, struct key_type *kt, struct key_data *kd) kd 702 source4/heimdal/lib/krb5/crypto.c struct evp_schedule *key = kd->schedule->data; kd 708 source4/heimdal/lib/krb5/crypto.c EVP_CipherInit_ex(&key->ectx, c, NULL, kd->key->keyvalue.data, NULL, 1); kd 709 source4/heimdal/lib/krb5/crypto.c EVP_CipherInit_ex(&key->dctx, c, NULL, kd->key->keyvalue.data, NULL, 0); kd 713 source4/heimdal/lib/krb5/crypto.c evp_cleanup(krb5_context context, struct key_data *kd) kd 715 source4/heimdal/lib/krb5/crypto.c struct evp_schedule *key = kd->schedule->data; kd 1463 source4/heimdal/lib/krb5/crypto.c struct key_data kd; kd 1473 source4/heimdal/lib/krb5/crypto.c kd.key = key; kd 1474 source4/heimdal/lib/krb5/crypto.c kd.schedule = NULL; kd 1476 source4/heimdal/lib/krb5/crypto.c ret = hmac(context, c, data, len, usage, &kd, result); kd 1478 source4/heimdal/lib/krb5/crypto.c if (kd.schedule) kd 1479 source4/heimdal/lib/krb5/crypto.c krb5_free_data(context, kd.schedule); kd 4120 source4/heimdal/lib/krb5/crypto.c struct key_data kd; kd 4132 source4/heimdal/lib/krb5/crypto.c ALLOC(kd.key, 1); kd 4133 source4/heimdal/lib/krb5/crypto.c if(kd.key == NULL) { kd 4138 source4/heimdal/lib/krb5/crypto.c ret = krb5_data_alloc(&kd.key->keyvalue, et->keytype->size); kd 4140 source4/heimdal/lib/krb5/crypto.c free(kd.key); kd 4143 source4/heimdal/lib/krb5/crypto.c kd.key->keytype = etype; kd 4146 source4/heimdal/lib/krb5/crypto.c krb5_free_keyblock(context, kd.key); kd 4156 source4/heimdal/lib/krb5/crypto.c kd.schedule = NULL; kd 4157 source4/heimdal/lib/krb5/crypto.c DES3_postproc (context, tmp, keylen, &kd); /* XXX */ kd 4162 source4/heimdal/lib/krb5/crypto.c &kd, kd 4166 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &kd, et); kd 4169 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock_contents(context, kd.key, key); kd 4170 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &kd, et); kd 164 source4/heimdal/lib/krb5/krbhst.c krbhst_empty(const struct krb5_krbhst_data *kd) kd 166 source4/heimdal/lib/krb5/krbhst.c return kd->index == &kd->hosts; kd 174 source4/heimdal/lib/krb5/krbhst.c krbhst_get_default_proto(struct krb5_krbhst_data *kd) kd 176 source4/heimdal/lib/krb5/krbhst.c if (kd->flags & KD_LARGE_MSG) kd 188 source4/heimdal/lib/krb5/krbhst.c parse_hostspec(krb5_context context, struct krb5_krbhst_data *kd, kd 198 source4/heimdal/lib/krb5/krbhst.c hi->proto = krbhst_get_default_proto(kd); kd 270 source4/heimdal/lib/krb5/krbhst.c append_host_hostinfo(struct krb5_krbhst_data *kd, struct krb5_krbhst_info *host) kd 274 source4/heimdal/lib/krb5/krbhst.c for(h = kd->hosts; h; h = h->next) kd 281 source4/heimdal/lib/krb5/krbhst.c *kd->end = host; kd 282 source4/heimdal/lib/krb5/krbhst.c kd->end = &host->next; kd 286 source4/heimdal/lib/krb5/krbhst.c append_host_string(krb5_context context, struct krb5_krbhst_data *kd, kd 291 source4/heimdal/lib/krb5/krbhst.c hi = parse_hostspec(context, kd, host, def_port, port); kd 295 source4/heimdal/lib/krb5/krbhst.c append_host_hostinfo(kd, hi); kd 364 source4/heimdal/lib/krb5/krbhst.c get_next(struct krb5_krbhst_data *kd, krb5_krbhst_info **host) kd 366 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_info *hi = *kd->index; kd 369 source4/heimdal/lib/krb5/krbhst.c kd->index = &(*kd->index)->next; kd 376 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(krb5_context context, struct krb5_krbhst_data *kd, kd 382 source4/heimdal/lib/krb5/krbhst.c if (srv_find_realm(context, &res, &count, kd->realm, "SRV", proto, service, kd 383 source4/heimdal/lib/krb5/krbhst.c kd->port)) kd 386 source4/heimdal/lib/krb5/krbhst.c append_host_hostinfo(kd, res[i]); kd 396 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(krb5_context context, struct krb5_krbhst_data *kd, kd 403 source4/heimdal/lib/krb5/krbhst.c "realms", kd->realm, conf_string, NULL); kd 407 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_CONFIG_EXISTS; kd 409 source4/heimdal/lib/krb5/krbhst.c append_host_string(context, kd, hostlist[i], kd->def_port, kd->port); kd 422 source4/heimdal/lib/krb5/krbhst.c fallback_get_hosts(krb5_context context, struct krb5_krbhst_data *kd, kd 435 source4/heimdal/lib/krb5/krbhst.c if(kd->fallback_count >= 5) { kd 436 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_FALLBACK; kd 440 source4/heimdal/lib/krb5/krbhst.c if(kd->fallback_count == 0) kd 441 source4/heimdal/lib/krb5/krbhst.c asprintf(&host, "%s.%s.", serv_string, kd->realm); kd 444 source4/heimdal/lib/krb5/krbhst.c serv_string, kd->fallback_count, kd->realm); kd 455 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_FALLBACK; kd 472 source4/heimdal/lib/krb5/krbhst.c append_host_hostinfo(kd, hi); kd 473 source4/heimdal/lib/krb5/krbhst.c kd->fallback_count++; kd 486 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_data *kd = ctx; kd 500 source4/heimdal/lib/krb5/krbhst.c make_hints(&hints, krbhst_get_default_proto(kd)); kd 511 source4/heimdal/lib/krb5/krbhst.c hi->proto = krbhst_get_default_proto(kd); kd 516 source4/heimdal/lib/krb5/krbhst.c append_host_hostinfo(kd, hi); kd 523 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_data *kd, kd 543 source4/heimdal/lib/krb5/krbhst.c ret = (*service->lookup)(ctx, type, kd->realm, 0, 0, add_locate, kd); kd 548 source4/heimdal/lib/krb5/krbhst.c kd->realm, ret); kd 551 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_CONFIG_EXISTS; kd 563 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_data *kd, kd 568 source4/heimdal/lib/krb5/krbhst.c if ((kd->flags & KD_PLUGIN) == 0) { kd 569 source4/heimdal/lib/krb5/krbhst.c plugin_get_hosts(context, kd, locate_service_kdc); kd 570 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_PLUGIN; kd 571 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 575 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_CONFIG) == 0) { kd 576 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(context, kd, "kdc"); kd 577 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_CONFIG; kd 578 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 582 source4/heimdal/lib/krb5/krbhst.c if (kd->flags & KD_CONFIG_EXISTS) kd 586 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_SRV_UDP) == 0 && (kd->flags & KD_LARGE_MSG) == 0) { kd 587 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "udp", "kerberos"); kd 588 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_SRV_UDP; kd 589 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 593 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_SRV_TCP) == 0) { kd 594 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "tcp", "kerberos"); kd 595 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_SRV_TCP; kd 596 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 599 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_SRV_HTTP) == 0) { kd 600 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "http", "kerberos"); kd 601 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_SRV_HTTP; kd 602 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 607 source4/heimdal/lib/krb5/krbhst.c while((kd->flags & KD_FALLBACK) == 0) { kd 608 source4/heimdal/lib/krb5/krbhst.c ret = fallback_get_hosts(context, kd, "kerberos", kd 609 source4/heimdal/lib/krb5/krbhst.c kd->def_port, kd 610 source4/heimdal/lib/krb5/krbhst.c krbhst_get_default_proto(kd)); kd 613 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 622 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_data *kd, kd 627 source4/heimdal/lib/krb5/krbhst.c if ((kd->flags & KD_PLUGIN) == 0) { kd 628 source4/heimdal/lib/krb5/krbhst.c plugin_get_hosts(context, kd, locate_service_kadmin); kd 629 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_PLUGIN; kd 630 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 634 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_CONFIG) == 0) { kd 635 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(context, kd, "admin_server"); kd 636 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_CONFIG; kd 637 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 641 source4/heimdal/lib/krb5/krbhst.c if (kd->flags & KD_CONFIG_EXISTS) kd 645 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_SRV_TCP) == 0) { kd 646 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "tcp", "kerberos-adm"); kd 647 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_SRV_TCP; kd 648 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 653 source4/heimdal/lib/krb5/krbhst.c if (krbhst_empty(kd) kd 654 source4/heimdal/lib/krb5/krbhst.c && (kd->flags & KD_FALLBACK) == 0) { kd 655 source4/heimdal/lib/krb5/krbhst.c ret = fallback_get_hosts(context, kd, "kerberos", kd 656 source4/heimdal/lib/krb5/krbhst.c kd->def_port, kd 657 source4/heimdal/lib/krb5/krbhst.c krbhst_get_default_proto(kd)); kd 660 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_FALLBACK; kd 661 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 670 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_data *kd, kd 675 source4/heimdal/lib/krb5/krbhst.c if ((kd->flags & KD_PLUGIN) == 0) { kd 676 source4/heimdal/lib/krb5/krbhst.c plugin_get_hosts(context, kd, locate_service_kpasswd); kd 677 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_PLUGIN; kd 678 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 682 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_CONFIG) == 0) { kd 683 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(context, kd, "kpasswd_server"); kd 684 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_CONFIG; kd 685 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 689 source4/heimdal/lib/krb5/krbhst.c if (kd->flags & KD_CONFIG_EXISTS) kd 693 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_SRV_UDP) == 0) { kd 694 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "udp", "kpasswd"); kd 695 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_SRV_UDP; kd 696 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 699 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_SRV_TCP) == 0) { kd 700 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "tcp", "kpasswd"); kd 701 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_SRV_TCP; kd 702 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 709 source4/heimdal/lib/krb5/krbhst.c if (krbhst_empty(kd)) { kd 710 source4/heimdal/lib/krb5/krbhst.c kd->flags = 0; kd 711 source4/heimdal/lib/krb5/krbhst.c kd->port = kd->def_port; kd 712 source4/heimdal/lib/krb5/krbhst.c kd->get_next = admin_get_next; kd 713 source4/heimdal/lib/krb5/krbhst.c ret = (*kd->get_next)(context, kd, host); kd 715 source4/heimdal/lib/krb5/krbhst.c (*host)->proto = krbhst_get_default_proto(kd); kd 724 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_data *kd, kd 727 source4/heimdal/lib/krb5/krbhst.c if ((kd->flags & KD_PLUGIN) == 0) { kd 728 source4/heimdal/lib/krb5/krbhst.c plugin_get_hosts(context, kd, locate_service_krb524); kd 729 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_PLUGIN; kd 730 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 734 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_CONFIG) == 0) { kd 735 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(context, kd, "krb524_server"); kd 736 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 738 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_CONFIG; kd 741 source4/heimdal/lib/krb5/krbhst.c if (kd->flags & KD_CONFIG_EXISTS) kd 745 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_SRV_UDP) == 0) { kd 746 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "udp", "krb524"); kd 747 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_SRV_UDP; kd 748 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 752 source4/heimdal/lib/krb5/krbhst.c if((kd->flags & KD_SRV_TCP) == 0) { kd 753 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "tcp", "krb524"); kd 754 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_SRV_TCP; kd 755 source4/heimdal/lib/krb5/krbhst.c if(get_next(kd, host)) kd 762 source4/heimdal/lib/krb5/krbhst.c if (krbhst_empty(kd)) { kd 763 source4/heimdal/lib/krb5/krbhst.c kd->flags = 0; kd 764 source4/heimdal/lib/krb5/krbhst.c kd->port = kd->def_port; kd 765 source4/heimdal/lib/krb5/krbhst.c kd->get_next = kdc_get_next; kd 766 source4/heimdal/lib/krb5/krbhst.c return (*kd->get_next)(context, kd, host); kd 777 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_data *kd; kd 779 source4/heimdal/lib/krb5/krbhst.c if((kd = calloc(1, sizeof(*kd))) == NULL) kd 782 source4/heimdal/lib/krb5/krbhst.c if((kd->realm = strdup(realm)) == NULL) { kd 783 source4/heimdal/lib/krb5/krbhst.c free(kd); kd 789 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_CONFIG_EXISTS; kd 792 source4/heimdal/lib/krb5/krbhst.c kd->flags |= KD_LARGE_MSG; kd 793 source4/heimdal/lib/krb5/krbhst.c kd->end = kd->index = &kd->hosts; kd 794 source4/heimdal/lib/krb5/krbhst.c return kd; kd 817 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_data *kd; kd 846 source4/heimdal/lib/krb5/krbhst.c if((kd = common_init(context, realm, flags)) == NULL) kd 848 source4/heimdal/lib/krb5/krbhst.c kd->get_next = next; kd 849 source4/heimdal/lib/krb5/krbhst.c kd->def_port = def_port; kd 850 source4/heimdal/lib/krb5/krbhst.c *handle = kd; kd 173 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(from, struct ldb_key_data); kd 174 source4/lib/registry/ldb.c struct ldb_context *ldb = kd->ldb; kd 214 source4/lib/registry/ldb.c ldb_dn_add_base(ret, kd->dn); kd 221 source4/lib/registry/ldb.c static WERROR cache_subkeys(struct ldb_key_data *kd) kd 223 source4/lib/registry/ldb.c struct ldb_context *c = kd->ldb; kd 227 source4/lib/registry/ldb.c ret = ldb_search(c, c, &res, kd->dn, LDB_SCOPE_ONELEVEL, NULL, "(key=*)"); kd 231 source4/lib/registry/ldb.c ldb_dn_get_linearized(kd->dn), ldb_errstring(c))); kd 235 source4/lib/registry/ldb.c kd->subkey_count = res->count; kd 236 source4/lib/registry/ldb.c kd->subkeys = talloc_steal(kd, res->msgs); kd 242 source4/lib/registry/ldb.c static WERROR cache_values(struct ldb_key_data *kd) kd 244 source4/lib/registry/ldb.c struct ldb_context *c = kd->ldb; kd 248 source4/lib/registry/ldb.c ret = ldb_search(c, c, &res, kd->dn, LDB_SCOPE_ONELEVEL, kd 253 source4/lib/registry/ldb.c ldb_dn_get_linearized(kd->dn), ldb_errstring(c))); kd 257 source4/lib/registry/ldb.c kd->value_count = res->count; kd 258 source4/lib/registry/ldb.c kd->values = talloc_steal(kd, res->msgs); kd 272 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(k, struct ldb_key_data); kd 284 source4/lib/registry/ldb.c if (kd->subkeys == NULL) { kd 285 source4/lib/registry/ldb.c W_ERROR_NOT_OK_RETURN(cache_subkeys(kd)); kd 288 source4/lib/registry/ldb.c if (idx >= kd->subkey_count) kd 291 source4/lib/registry/ldb.c el = ldb_msg_find_element(kd->subkeys[idx], "key"); kd 305 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(k, struct ldb_key_data); kd 306 source4/lib/registry/ldb.c struct ldb_context *c = kd->ldb; kd 311 source4/lib/registry/ldb.c ret = ldb_search(c, mem_ctx, &res, kd->dn, LDB_SCOPE_BASE, attrs, "%s", ""); kd 315 source4/lib/registry/ldb.c ldb_dn_get_linearized(kd->dn), ldb_errstring(c))); kd 334 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(k, struct ldb_key_data); kd 346 source4/lib/registry/ldb.c if (kd->values == NULL) { kd 347 source4/lib/registry/ldb.c W_ERROR_NOT_OK_RETURN(cache_values(kd)); kd 350 source4/lib/registry/ldb.c if (idx >= kd->value_count) kd 353 source4/lib/registry/ldb.c reg_ldb_unpack_value(mem_ctx, kd->values[idx], name, data_type, data); kd 362 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(k, struct ldb_key_data); kd 363 source4/lib/registry/ldb.c struct ldb_context *c = kd->ldb; kd 374 source4/lib/registry/ldb.c ret = ldb_search(c, mem_ctx, &res, kd->dn, LDB_SCOPE_ONELEVEL, NULL, "%s", query); kd 379 source4/lib/registry/ldb.c ldb_dn_get_linearized(kd->dn), ldb_errstring(c))); kd 401 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(h, struct ldb_key_data); kd 402 source4/lib/registry/ldb.c struct ldb_context *c = kd->ldb; kd 421 source4/lib/registry/ldb.c newkd->ldb = talloc_reference(newkd, kd->ldb); kd 436 source4/lib/registry/ldb.c struct ldb_key_data *kd; kd 462 source4/lib/registry/ldb.c kd = talloc_zero(parent_ctx, struct ldb_key_data); kd 463 source4/lib/registry/ldb.c kd->key.ops = ®_backend_ldb; kd 464 source4/lib/registry/ldb.c kd->ldb = talloc_reference(kd, wrap); kd 465 source4/lib/registry/ldb.c talloc_set_destructor (kd, reg_close_ldb_key); kd 466 source4/lib/registry/ldb.c kd->dn = ldb_dn_new(kd, wrap, "hive=NONE"); kd 468 source4/lib/registry/ldb.c *k = (struct hive_key *)kd; kd 521 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(key, struct ldb_key_data); kd 531 source4/lib/registry/ldb.c msg->dn = ldb_dn_copy(msg, kd->dn); kd 535 source4/lib/registry/ldb.c ret = ldb_modify(kd->ldb, msg); kd 537 source4/lib/registry/ldb.c DEBUG(1, ("ldb_del_value: %s\n", ldb_errstring(kd->ldb))); kd 545 source4/lib/registry/ldb.c childdn = ldb_dn_copy(kd->ldb, kd->dn); kd 553 source4/lib/registry/ldb.c ret = ldb_delete(kd->ldb, childdn); kd 560 source4/lib/registry/ldb.c DEBUG(1, ("ldb_del_value: %s\n", ldb_errstring(kd->ldb))); kd 566 source4/lib/registry/ldb.c talloc_free(kd->values); kd 567 source4/lib/registry/ldb.c kd->values = NULL; kd 693 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(parent, struct ldb_key_data); kd 697 source4/lib/registry/ldb.c msg = reg_ldb_pack_value(kd->ldb, mem_ctx, name, type, data); kd 698 source4/lib/registry/ldb.c msg->dn = ldb_dn_copy(msg, kd->dn); kd 711 source4/lib/registry/ldb.c ret = ldb_add(kd->ldb, msg); kd 718 source4/lib/registry/ldb.c ret = ldb_modify(kd->ldb, msg); kd 722 source4/lib/registry/ldb.c DEBUG(1, ("ldb_set_value: %s\n", ldb_errstring(kd->ldb))); kd 728 source4/lib/registry/ldb.c talloc_free(kd->values); kd 729 source4/lib/registry/ldb.c kd->values = NULL; kd 745 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(key, struct ldb_key_data); kd 763 source4/lib/registry/ldb.c if (kd->subkeys == NULL) { kd 764 source4/lib/registry/ldb.c W_ERROR_NOT_OK_RETURN(cache_subkeys(kd)); kd 767 source4/lib/registry/ldb.c if (kd->values == NULL) { kd 768 source4/lib/registry/ldb.c W_ERROR_NOT_OK_RETURN(cache_values(kd)); kd 772 source4/lib/registry/ldb.c *num_subkeys = kd->subkey_count; kd 775 source4/lib/registry/ldb.c *num_values = kd->value_count; kd 785 source4/lib/registry/ldb.c for (i = 0; i < kd->subkey_count; i++) { kd 786 source4/lib/registry/ldb.c el = ldb_msg_find_element(kd->subkeys[i], "key"); kd 794 source4/lib/registry/ldb.c W_ERROR_NOT_OK_RETURN(cache_values(kd)); kd 802 source4/lib/registry/ldb.c for (i = 0; i < kd->value_count; i++) { kd 804 source4/lib/registry/ldb.c el = ldb_msg_find_element(kd->values[i], "value"); kd 812 source4/lib/registry/ldb.c kd->values[i], NULL,