ldif 118 lib/util/util_ldb.c struct ldb_ldif *ldif; ldif 120 lib/util/util_ldb.c ldif = ldb_ldif_read_string(ldb, &ldif_string); ldif 121 lib/util/util_ldb.c if (ldif == NULL) return -1; ldif 122 lib/util/util_ldb.c ret = ldb_add(ldb, ldif->msg); ldif 123 lib/util/util_ldb.c talloc_free(ldif); ldif 89 source3/groupdb/mapping_ldb.c struct ldb_ldif *ldif; ldif 92 source3/groupdb/mapping_ldb.c ldif = ldb_ldif_read_string(ldb, &init_ldif[i]); ldif 93 source3/groupdb/mapping_ldb.c if (ldif == NULL) goto failed; ldif 94 source3/groupdb/mapping_ldb.c ret = ldb_add(ldb, ldif->msg); ldif 95 source3/groupdb/mapping_ldb.c talloc_free(ldif); ldif 277 source3/lib/ldb/common/ldb_ldif.c const struct ldb_ldif *ldif) ldif 286 source3/lib/ldb/common/ldb_ldif.c msg = ldif->msg; ldif 291 source3/lib/ldb/common/ldb_ldif.c if (ldif->changetype != LDB_CHANGETYPE_NONE) { ldif 293 source3/lib/ldb/common/ldb_ldif.c if (ldb_changetypes[i].changetype == ldif->changetype) { ldif 299 source3/lib/ldb/common/ldb_ldif.c ldif->changetype); ldif 312 source3/lib/ldb/common/ldb_ldif.c if (ldif->changetype == LDB_CHANGETYPE_MODIFY) { ldif 357 source3/lib/ldb/common/ldb_ldif.c if (ldif->changetype == LDB_CHANGETYPE_MODIFY) { ldif 511 source3/lib/ldb/common/ldb_ldif.c void ldb_ldif_read_free(struct ldb_context *ldb, struct ldb_ldif *ldif) ldif 513 source3/lib/ldb/common/ldb_ldif.c talloc_free(ldif); ldif 522 source3/lib/ldb/common/ldb_ldif.c struct ldb_ldif *ldif; ldif 531 source3/lib/ldb/common/ldb_ldif.c ldif = talloc(ldb, struct ldb_ldif); ldif 532 source3/lib/ldb/common/ldb_ldif.c if (!ldif) return NULL; ldif 534 source3/lib/ldb/common/ldb_ldif.c ldif->msg = talloc(ldif, struct ldb_message); ldif 535 source3/lib/ldb/common/ldb_ldif.c if (ldif->msg == NULL) { ldif 536 source3/lib/ldb/common/ldb_ldif.c talloc_free(ldif); ldif 540 source3/lib/ldb/common/ldb_ldif.c ldif->changetype = LDB_CHANGETYPE_NONE; ldif 541 source3/lib/ldb/common/ldb_ldif.c msg = ldif->msg; ldif 552 source3/lib/ldb/common/ldb_ldif.c talloc_steal(ldif, chunk); ldif 557 source3/lib/ldb/common/ldb_ldif.c if (next_attr(ldif, &s, &attr, &value) != 0) { ldif 576 source3/lib/ldb/common/ldb_ldif.c while (next_attr(ldif, &s, &attr, &value) == 0) { ldif 585 source3/lib/ldb/common/ldb_ldif.c ldif->changetype = ldb_changetypes[i].changetype; ldif 634 source3/lib/ldb/common/ldb_ldif.c ret = h->ldif_read_fn(ldb, ldif, &value, &el->values[el->num_values]); ldif 649 source3/lib/ldb/common/ldb_ldif.c msg->elements = talloc_realloc(ldif, msg->elements, ldif 663 source3/lib/ldb/common/ldb_ldif.c ret = h->ldif_read_fn(ldb, ldif, &value, &el->values[0]); ldif 674 source3/lib/ldb/common/ldb_ldif.c return ldif; ldif 677 source3/lib/ldb/common/ldb_ldif.c talloc_free(ldif); ldif 725 source3/lib/ldb/common/ldb_ldif.c struct ldb_ldif *ldif; ldif 727 source3/lib/ldb/common/ldb_ldif.c ldif = ldb_ldif_read(ldb, fgetc_string, &state); ldif 729 source3/lib/ldb/common/ldb_ldif.c return ldif; ldif 755 source3/lib/ldb/common/ldb_ldif.c int ldb_ldif_write_file(struct ldb_context *ldb, FILE *f, const struct ldb_ldif *ldif) ldif 759 source3/lib/ldb/common/ldb_ldif.c return ldb_ldif_write(ldb, fprintf_file, &state, ldif); ldif 805 source3/lib/ldb/common/ldb_msg.c struct ldb_ldif ldif; ldif 807 source3/lib/ldb/common/ldb_msg.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 808 source3/lib/ldb/common/ldb_msg.c ldif.msg = result->msgs[i]; ldif 809 source3/lib/ldb/common/ldb_msg.c ldb_ldif_write_file(ldb, f, &ldif); ldif 1147 source3/lib/ldb/include/ldb.h const struct ldb_ldif *ldif); ldif 57 source3/lib/ldb/tools/ldbadd.c struct ldb_ldif *ldif; ldif 60 source3/lib/ldb/tools/ldbadd.c while ((ldif = ldb_ldif_read_file(ldb, f))) { ldif 61 source3/lib/ldb/tools/ldbadd.c if (ldif->changetype != LDB_CHANGETYPE_ADD && ldif 62 source3/lib/ldb/tools/ldbadd.c ldif->changetype != LDB_CHANGETYPE_NONE) { ldif 67 source3/lib/ldb/tools/ldbadd.c ldif->msg = ldb_msg_canonicalize(ldb, ldif->msg); ldif 69 source3/lib/ldb/tools/ldbadd.c ret = ldb_add(ldb, ldif->msg); ldif 72 source3/lib/ldb/tools/ldbadd.c ldb_errstring(ldb), ldb_dn_linearize(ldb, ldif->msg->dn)); ldif 77 source3/lib/ldb/tools/ldbadd.c ldb_ldif_read_free(ldb, ldif); ldif 48 source3/lib/ldb/tools/ldbedit.c struct ldb_ldif ldif; ldif 49 source3/lib/ldb/tools/ldbedit.c ldif.changetype = changetype; ldif 50 source3/lib/ldb/tools/ldbedit.c ldif.msg = msg; ldif 51 source3/lib/ldb/tools/ldbedit.c ldb_ldif_write_file(ldb, f, &ldif); ldif 170 source3/lib/ldb/tools/ldbedit.c struct ldb_ldif ldif; ldif 173 source3/lib/ldb/tools/ldbedit.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 174 source3/lib/ldb/tools/ldbedit.c ldif.msg = msgs[i]; ldif 176 source3/lib/ldb/tools/ldbedit.c ldb_ldif_write_file(ldb, f, &ldif); ldif 193 source3/lib/ldb/tools/ldbedit.c struct ldb_ldif *ldif; ldif 246 source3/lib/ldb/tools/ldbedit.c while ((ldif = ldb_ldif_read_file(ldb, f))) { ldif 252 source3/lib/ldb/tools/ldbedit.c msgs2[count2++] = ldif->msg; ldif 56 source3/lib/ldb/tools/ldbmodify.c struct ldb_ldif *ldif; ldif 59 source3/lib/ldb/tools/ldbmodify.c while ((ldif = ldb_ldif_read_file(ldb, f))) { ldif 60 source3/lib/ldb/tools/ldbmodify.c switch (ldif->changetype) { ldif 63 source3/lib/ldb/tools/ldbmodify.c ret = ldb_add(ldb, ldif->msg); ldif 66 source3/lib/ldb/tools/ldbmodify.c ret = ldb_delete(ldb, ldif->msg->dn); ldif 69 source3/lib/ldb/tools/ldbmodify.c ret = ldb_modify(ldb, ldif->msg); ldif 74 source3/lib/ldb/tools/ldbmodify.c ldb_errstring(ldb), ldb_dn_linearize(ldb, ldif->msg->dn)); ldif 79 source3/lib/ldb/tools/ldbmodify.c ldb_ldif_read_free(ldb, ldif); ldif 106 source3/lib/ldb/tools/ldbsearch.c struct ldb_ldif ldif; ldif 111 source3/lib/ldb/tools/ldbsearch.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 112 source3/lib/ldb/tools/ldbsearch.c ldif.msg = msg; ldif 120 source3/lib/ldb/tools/ldbsearch.c ldb_msg_sort_elements(ldif.msg); ldif 123 source3/lib/ldb/tools/ldbsearch.c ldb_ldif_write_file(ldb, stdout, &ldif); ldif 469 source3/lib/ldb/tools/oLschema2ldif.c struct ldb_ldif ldif; ldif 471 source3/lib/ldb/tools/oLschema2ldif.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 501 source3/lib/ldb/tools/oLschema2ldif.c ldif.msg = process_entry(ctx, entry); ldif 502 source3/lib/ldb/tools/oLschema2ldif.c if (ldif.msg == NULL) { ldif 507 source3/lib/ldb/tools/oLschema2ldif.c ldb_ldif_write_file(ldb_ctx, out, &ldif); ldif 525 source3/lib/ldb/tools/oLschema2ldif.c ldif.msg = process_entry(ctx, entry); ldif 526 source3/lib/ldb/tools/oLschema2ldif.c if (ldif.msg == NULL) { ldif 531 source3/lib/ldb/tools/oLschema2ldif.c ldb_ldif_write_file(ldb_ctx, out, &ldif); ldif 282 source4/dsdb/schema/schema_set.c struct ldb_ldif *ldif; ldif 308 source4/dsdb/schema/schema_set.c ldif = ldb_ldif_read_string(ldb, &pf); ldif 309 source4/dsdb/schema/schema_set.c if (!ldif) { ldif 313 source4/dsdb/schema/schema_set.c talloc_steal(mem_ctx, ldif); ldif 315 source4/dsdb/schema/schema_set.c msg = ldb_msg_canonicalize(ldb, ldif->msg); ldif 320 source4/dsdb/schema/schema_set.c talloc_free(ldif); ldif 345 source4/dsdb/schema/schema_set.c while ((ldif = ldb_ldif_read_string(ldb, &df))) { ldif 349 source4/dsdb/schema/schema_set.c talloc_steal(mem_ctx, ldif); ldif 351 source4/dsdb/schema/schema_set.c msg = ldb_msg_canonicalize(ldb, ldif->msg); ldif 357 source4/dsdb/schema/schema_set.c talloc_free(ldif); ldif 276 source4/lib/ldb/common/ldb_ldif.c const struct ldb_ldif *ldif) ldif 286 source4/lib/ldb/common/ldb_ldif.c msg = ldif->msg; ldif 292 source4/lib/ldb/common/ldb_ldif.c if (ldif->changetype != LDB_CHANGETYPE_NONE) { ldif 294 source4/lib/ldb/common/ldb_ldif.c if (ldb_changetypes[i].changetype == ldif->changetype) { ldif 300 source4/lib/ldb/common/ldb_ldif.c ldif->changetype); ldif 313 source4/lib/ldb/common/ldb_ldif.c if (ldif->changetype == LDB_CHANGETYPE_MODIFY) { ldif 360 source4/lib/ldb/common/ldb_ldif.c if (ldif->changetype == LDB_CHANGETYPE_MODIFY) { ldif 514 source4/lib/ldb/common/ldb_ldif.c void ldb_ldif_read_free(struct ldb_context *ldb, struct ldb_ldif *ldif) ldif 516 source4/lib/ldb/common/ldb_ldif.c talloc_free(ldif); ldif 525 source4/lib/ldb/common/ldb_ldif.c struct ldb_ldif *ldif; ldif 534 source4/lib/ldb/common/ldb_ldif.c ldif = talloc(ldb, struct ldb_ldif); ldif 535 source4/lib/ldb/common/ldb_ldif.c if (!ldif) return NULL; ldif 537 source4/lib/ldb/common/ldb_ldif.c ldif->msg = talloc(ldif, struct ldb_message); ldif 538 source4/lib/ldb/common/ldb_ldif.c if (ldif->msg == NULL) { ldif 539 source4/lib/ldb/common/ldb_ldif.c talloc_free(ldif); ldif 543 source4/lib/ldb/common/ldb_ldif.c ldif->changetype = LDB_CHANGETYPE_NONE; ldif 544 source4/lib/ldb/common/ldb_ldif.c msg = ldif->msg; ldif 554 source4/lib/ldb/common/ldb_ldif.c talloc_steal(ldif, chunk); ldif 558 source4/lib/ldb/common/ldb_ldif.c if (next_attr(ldif, &s, &attr, &value) != 0) { ldif 577 source4/lib/ldb/common/ldb_ldif.c while (next_attr(ldif, &s, &attr, &value) == 0) { ldif 586 source4/lib/ldb/common/ldb_ldif.c ldif->changetype = ldb_changetypes[i].changetype; ldif 635 source4/lib/ldb/common/ldb_ldif.c ret = a->syntax->ldif_read_fn(ldb, ldif, &value, &el->values[el->num_values]); ldif 650 source4/lib/ldb/common/ldb_ldif.c msg->elements = talloc_realloc(ldif, msg->elements, ldif 664 source4/lib/ldb/common/ldb_ldif.c ret = a->syntax->ldif_read_fn(ldb, ldif, &value, &el->values[0]); ldif 675 source4/lib/ldb/common/ldb_ldif.c return ldif; ldif 678 source4/lib/ldb/common/ldb_ldif.c talloc_free(ldif); ldif 726 source4/lib/ldb/common/ldb_ldif.c struct ldb_ldif *ldif; ldif 728 source4/lib/ldb/common/ldb_ldif.c ldif = ldb_ldif_read(ldb, fgetc_string, &state); ldif 730 source4/lib/ldb/common/ldb_ldif.c return ldif; ldif 756 source4/lib/ldb/common/ldb_ldif.c int ldb_ldif_write_file(struct ldb_context *ldb, FILE *f, const struct ldb_ldif *ldif) ldif 760 source4/lib/ldb/common/ldb_ldif.c return ldb_ldif_write(ldb, fprintf_file, &state, ldif); ldif 875 source4/lib/ldb/common/ldb_msg.c struct ldb_ldif ldif; ldif 877 source4/lib/ldb/common/ldb_msg.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 878 source4/lib/ldb/common/ldb_msg.c ldif.msg = result->msgs[i]; ldif 879 source4/lib/ldb/common/ldb_msg.c ldb_ldif_write_file(ldb, f, &ldif); ldif 1329 source4/lib/ldb/include/ldb.h const struct ldb_ldif *ldif); ldif 1372 source4/lib/ldb/ldb_tdb/ldb_index.c struct ldb_ldif ldif; ldif 1377 source4/lib/ldb/ldb_tdb/ldb_index.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 1378 source4/lib/ldb/ldb_tdb/ldb_index.c ldif.msg = msg; ldif 1379 source4/lib/ldb/ldb_tdb/ldb_index.c ldb_ldif_write_file(ldb, stdout, &ldif); ldif 724 source4/lib/ldb/pyldb.c static PyObject *ldb_ldif_to_pyobject(struct ldb_ldif *ldif) ldif 726 source4/lib/ldb/pyldb.c if (ldif == NULL) { ldif 730 source4/lib/ldb/pyldb.c talloc_steal(NULL, ldif); ldif 732 source4/lib/ldb/pyldb.c ldif->changetype, ldif 733 source4/lib/ldb/pyldb.c PyLdbMessage_FromMessage(ldif->msg)); ldif 741 source4/lib/ldb/pyldb.c struct ldb_ldif *ldif; ldif 748 source4/lib/ldb/pyldb.c while ((ldif = ldb_ldif_read_string(self->ldb_ctx, &s)) != NULL) { ldif 749 source4/lib/ldb/pyldb.c PyList_Append(list, ldb_ldif_to_pyobject(ldif)); ldif 57 source4/lib/ldb/tools/ldbadd.c struct ldb_ldif *ldif; ldif 60 source4/lib/ldb/tools/ldbadd.c while ((ldif = ldb_ldif_read_file(ldb, f))) { ldif 61 source4/lib/ldb/tools/ldbadd.c if (ldif->changetype != LDB_CHANGETYPE_ADD && ldif 62 source4/lib/ldb/tools/ldbadd.c ldif->changetype != LDB_CHANGETYPE_NONE) { ldif 67 source4/lib/ldb/tools/ldbadd.c ldif->msg = ldb_msg_canonicalize(ldb, ldif->msg); ldif 69 source4/lib/ldb/tools/ldbadd.c ret = ldb_add(ldb, ldif->msg); ldif 72 source4/lib/ldb/tools/ldbadd.c ldb_errstring(ldb), ldb_dn_get_linearized(ldif->msg->dn)); ldif 77 source4/lib/ldb/tools/ldbadd.c ldb_ldif_read_free(ldb, ldif); ldif 47 source4/lib/ldb/tools/ldbedit.c struct ldb_ldif ldif; ldif 48 source4/lib/ldb/tools/ldbedit.c ldif.changetype = changetype; ldif 49 source4/lib/ldb/tools/ldbedit.c ldif.msg = msg; ldif 50 source4/lib/ldb/tools/ldbedit.c ldb_ldif_write_file(ldb, f, &ldif); ldif 179 source4/lib/ldb/tools/ldbedit.c struct ldb_ldif ldif; ldif 182 source4/lib/ldb/tools/ldbedit.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 183 source4/lib/ldb/tools/ldbedit.c ldif.msg = msgs[i]; ldif 185 source4/lib/ldb/tools/ldbedit.c ldb_ldif_write_file(ldb, f, &ldif); ldif 202 source4/lib/ldb/tools/ldbedit.c struct ldb_ldif *ldif; ldif 255 source4/lib/ldb/tools/ldbedit.c while ((ldif = ldb_ldif_read_file(ldb, f))) { ldif 261 source4/lib/ldb/tools/ldbedit.c msgs2[count2++] = ldif->msg; ldif 56 source4/lib/ldb/tools/ldbmodify.c struct ldb_ldif *ldif; ldif 59 source4/lib/ldb/tools/ldbmodify.c while ((ldif = ldb_ldif_read_file(ldb, f))) { ldif 60 source4/lib/ldb/tools/ldbmodify.c switch (ldif->changetype) { ldif 63 source4/lib/ldb/tools/ldbmodify.c ret = ldb_add(ldb, ldif->msg); ldif 66 source4/lib/ldb/tools/ldbmodify.c ret = ldb_delete(ldb, ldif->msg->dn); ldif 69 source4/lib/ldb/tools/ldbmodify.c ret = ldb_modify(ldb, ldif->msg); ldif 74 source4/lib/ldb/tools/ldbmodify.c ldb_errstring(ldb), ldb_dn_get_linearized(ldif->msg->dn)); ldif 79 source4/lib/ldb/tools/ldbmodify.c ldb_ldif_read_free(ldb, ldif); ldif 107 source4/lib/ldb/tools/ldbsearch.c struct ldb_ldif ldif; ldif 112 source4/lib/ldb/tools/ldbsearch.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 113 source4/lib/ldb/tools/ldbsearch.c ldif.msg = msg; ldif 121 source4/lib/ldb/tools/ldbsearch.c ldb_msg_sort_elements(ldif.msg); ldif 124 source4/lib/ldb/tools/ldbsearch.c ldb_ldif_write_file(sctx->ldb, stdout, &ldif); ldif 296 source4/libnet/libnet_vampire.c struct ldb_ldif ldif; ldif 298 source4/libnet/libnet_vampire.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 299 source4/libnet/libnet_vampire.c ldif.msg = objs->objects[i].msg; ldif 300 source4/libnet/libnet_vampire.c ldb_ldif_write_file(s->ldb, stdout, &ldif); ldif 535 source4/libnet/libnet_vampire.c struct ldb_ldif ldif; ldif 537 source4/libnet/libnet_vampire.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 538 source4/libnet/libnet_vampire.c ldif.msg = objs->objects[i].msg; ldif 539 source4/libnet/libnet_vampire.c ldb_ldif_write_file(s->ldb, stdout, &ldif); ldif 321 source4/torture/ldap/cldap.c struct ldb_ldif ldif; ldif 331 source4/torture/ldap/cldap.c ZERO_STRUCT(ldif); ldif 332 source4/torture/ldap/cldap.c ldif.msg = ldap_msg_to_ldb(ldb, ldb, search->out.response); ldif 334 source4/torture/ldap/cldap.c ldb_ldif_write_file(ldb, stdout, &ldif); ldif 284 source4/torture/libnet/libnet_BecomeDC.c struct ldb_ldif ldif; ldif 286 source4/torture/libnet/libnet_BecomeDC.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 287 source4/torture/libnet/libnet_BecomeDC.c ldif.msg = objs->objects[i].msg; ldif 288 source4/torture/libnet/libnet_BecomeDC.c ldb_ldif_write_file(s->ldb, stdout, &ldif); ldif 525 source4/torture/libnet/libnet_BecomeDC.c struct ldb_ldif ldif; ldif 527 source4/torture/libnet/libnet_BecomeDC.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 528 source4/torture/libnet/libnet_BecomeDC.c ldif.msg = objs->objects[i].msg; ldif 529 source4/torture/libnet/libnet_BecomeDC.c ldb_ldif_write_file(s->ldb, stdout, &ldif); ldif 170 source4/torture/local/dbspeed.c struct ldb_ldif *ldif; ldif 188 source4/torture/local/dbspeed.c ldif = ldb_ldif_read_string(ldb, &init_ldif); ldif 189 source4/torture/local/dbspeed.c if (ldif == NULL) goto failed; ldif 190 source4/torture/local/dbspeed.c if (ldb_add(ldb, ldif->msg) != LDB_SUCCESS) goto failed; ldif 191 source4/torture/local/dbspeed.c talloc_free(ldif); ldif 468 source4/utils/oLschema2ldif.c struct ldb_ldif ldif; ldif 470 source4/utils/oLschema2ldif.c ldif.changetype = LDB_CHANGETYPE_NONE; ldif 500 source4/utils/oLschema2ldif.c ldif.msg = process_entry(ctx, entry); ldif 501 source4/utils/oLschema2ldif.c if (ldif.msg == NULL) { ldif 506 source4/utils/oLschema2ldif.c ldb_ldif_write_file(ldb_ctx, out, &ldif); ldif 524 source4/utils/oLschema2ldif.c ldif.msg = process_entry(ctx, entry); ldif 525 source4/utils/oLschema2ldif.c if (ldif.msg == NULL) { ldif 530 source4/utils/oLschema2ldif.c ldb_ldif_write_file(ldb_ctx, out, &ldif);