summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij1-1/+1
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25842: Start working on test for loading dso's in ldb.Jelmer Vernooij2-0/+8
(This used to be commit d41ed7ca8d3954bf586126edd7aba17acc6af8a1)
2007-10-10r25522: Convert to standard bool types.Jelmer Vernooij1-1/+1
(This used to be commit 5e814287ba475e12f8cc934fdd09b199dcdfdb86)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-1/+1
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25100: Include LDAP libs in .pc file so linking statically against libldb ↵Jelmer Vernooij1-1/+1
works again. (This used to be commit bcf5c9447435a826027626ac89a00eaa6739b12a)
2007-10-10r25093: Use system-provided ldb library if available. Note that this only ↵Jelmer Vernooij1-0/+84
means using the ldb library from the system - the custom command-line tools for Samba 4 will still be built even if they are already provided by the system. (This used to be commit 8aab673df5200a4555777caf4ee58907cf6fe4cc)
2007-10-10r25084: Move samba-specific code out of lib/ldb directory.Jelmer Vernooij1-1/+1
(This used to be commit 917bd737cb07817664d9088860588d47525f5ff8)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r23809: Don't give users the fantasy that we can control choice of GENSECAndrew Bartlett1-1/+0
security mechanisms at the moment. I'll put this back when I implement the functionality. Andrew Bartlett (This used to be commit 9a38ddc86fe8c68520622678eae81e4e90f427cf)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell12-24/+12
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell12-12/+12
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23177: Add in a new provision-backend script. This helps set up the ↵Andrew Bartlett1-2/+21
OpenLDAP or Fedora DS backend. This required a new mkdir() call in ejs. We can now provision just the schema for ad2oLschema to operate on (with provision_schema(), without performing the whole provision, just to wipe it again (adjustments to 'make test' to come soon). Andrew Bartlett (This used to be commit 01d54d13dc66ef2127ac52c64ede53d0790738ec)
2007-10-10r22684: Fix native Samba build.Jelmer Vernooij1-3/+3
(This used to be commit 582e743e68a1dbfafe06e7e283ff998140149ae7)
2007-10-10r22682: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij2-6/+5
(This used to be commit 532f28724dcc9e0fe7051e27d145469398041101)
2007-10-10r22681: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij8-24/+16
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10r22559: Make the ad2OLschema tool case insensitive.Andrew Bartlett1-6/+6
Andrew Bartlett (This used to be commit ddcca38c65c12a4e6a49151296ab36a458c53cb6)
2007-10-10r22497: Support renaming objectclasses and attributes for the LDAP backend.Andrew Bartlett1-17/+65
OpenLDAP is fussy about operational attributes in user-supplied schema. Andrew Bartlett (This used to be commit d7cd4b768a7f56ced8ed94b9a63d01865ba7d10a)
2007-10-10r22476: The OID match is used very oddly in AD, as it is often used for fieldsAndrew Bartlett1-0/+9
that contain attribute names and objectClasses. Make it a case insensitive string for now. Andrew Bartlett (This used to be commit 9908a05ef70c748c699b5a18178e7948f7814d7a)
2007-10-10r22475: Rather than segfault, show the name of the malformed entry.Andrew Bartlett1-0/+6
Andrew Bartlett (This used to be commit e1536014a05645fd2300de5152e966aa1e067436)
2007-10-10r21496: A number of ldb control and LDAP changes, surrounding theAndrew Bartlett2-370/+5
'phantom_root' flag in the search_options control - Add in support for LDB controls to the js layer - Test the behaviour - Implement support for the 'phantom_root' flag in the partitions module - Make the LDAP server set the 'phantom_root' flag in the search_options control - This replaces the global_catalog flag passed down as an opaque pointer - Rework the string-format control parsing function into ldb_parse_control_strings(), returning errors by ldb_errorstring() method, rather than with printf to stderr - Rework some of the ldb_control handling logic Andrew Bartlett (This used to be commit 2b3df7f38d7790358dbb4de1b8609bf794a351fb)
2007-10-10r20467: Don't segfault if we don't have an OID mapAndrew Bartlett1-1/+1
(This used to be commit c0276c373c51696b5168cdd1b048e1b9858baf62)
2007-10-10r20034: Start using ldb_search_exp_fmt()Simo Sorce1-8/+4
(This used to be commit 4f07542143ddf5066f0360d965f26a8470504047)
2007-10-10r19897: Fix klokwork ids 2278 and 2279Volker Lendecke1-2/+9
(This used to be commit 44e6d39e0ef17ed5a801f95edaa6fbf5efa21a26)
2007-10-10r19832: better prototypes for the linearization functions:Simo Sorce5-8/+8
- ldb_dn_get_linearized returns a const string - ldb_dn_alloc_linearized allocs astring with the linearized dn (This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce7-35/+54
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett1-0/+1
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r19332: ldb_parse_tree leaksSimo Sorce1-1/+1
(This used to be commit 3e0e2787c1da1c3831e21b163e1370001d725a3d)
2007-10-10r19310: Add another conflicting oidAndrew Bartlett1-2/+2
Cope with there being no attributes to skip in the ad2oLscheam tool Andrew Bartlett (This used to be commit 942d7ad0c3534770ad05977b180e1c8111a5b6a6)
2007-10-10r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb callAndrew Tridgell2-15/+11
fails (This used to be commit 330a722f1330059cbba19f99210a1a5a7c773a36)
2007-10-10r19273: - fixed error handling with the ldap backendAndrew Tridgell1-8/+8
- propogate errors to the ldbadd command line tool - use the rdn_name module when testing the tdb backend to allow the same test code to correctly test the ldap and non-ldap backends (This used to be commit dd82c474a123d90329bda653a4cb73c93e087b15)
2007-10-10r18851: Some C++ warningsVolker Lendecke1-8/+8
(This used to be commit 69f05f288ce7a8508760db861d0910495bd1d578)
2007-10-10r18840: make these compatible with g++ warningsAndrew Tridgell2-15/+15
(This used to be commit bcfa93954fdb00f500f174cd227e3d9b2ef94fdc)
2007-10-10r18596: removed superfluous semicolonAndrew Tridgell1-1/+1
(This used to be commit 4f3628dea69efce430bf96a42435025806853d90)
2007-10-10r18439: 2nd try at a talloc_move() api. This type with the ** ptr interfaceAndrew Tridgell2-6/+7
exposed. Unfortunately this generates a large number of type punning warnings. We'll have to find some magic to hide those. (This used to be commit 254cbf09dee5a1e20c47e47a298f1a8d172b41b9)
2007-10-10r18436: converted ldb to use talloc_move() instead of talloc_steal() whenAndrew Tridgell2-16/+6
appropriate. Note that I also removed the error checks that were being done on the result of talloc_steal(). They are pointless as talloc_steal() doesn't have any failure modes that wouldn't cause a segv anyway, and they tend to clutter the code (This used to be commit c0d9e7d473b8e3eb2524a9fc29cf88680f994b36)
2007-10-10r18327: 'struct token' is defined on some hostsAndrew Tridgell1-5/+5
(This used to be commit b2bba4e7261e4daf2be44110c454eb0e217836ca)
2007-10-10r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.Jelmer Vernooij1-1/+1
(This used to be commit 8b622c5ded0732df0eaf9f6226f52a27b6eacd73)
2007-10-10r18133: ad2oLschema needs ctype.h on some systemsAndrew Tridgell1-0/+1
(This used to be commit efe60c8a4b28fa88abe5177b1a95c4ac5ac9496c)
2007-10-10r18022: Increment number of records converted, and print number of records ↵Andrew Bartlett1-1/+3
skipped. Andrew Bartlett (This used to be commit 6c11501ec3d8b95d5a80d5dbca745ae9e02d3304)
2007-10-10r17868: remove duplicated attributes from listSimo Sorce1-6/+1
(This used to be commit fab0e66281ca0feddf1ce26249706e865856b17a)
2007-10-10r17844: The AIX compiler thinks { } is a syntax errorVolker Lendecke1-1/+2
(This used to be commit 4189736e09dab2b7ff57b7bba04d54c0ffeea140)
2007-10-10r17830: Set the default_basedn (hey, it comes from the "default" naming ↵Simo Sorce1-1/+1
contex :-) once at connection time, after modules have been loaded. Introduce a function to retrieve the value where needed. (This used to be commit 0caf6a44e03393c645030a9288e7dfd31e97c98b)
2007-10-10r17821: changed ldb_search() and the ldbsearch command line utility toAndrew Tridgell1-0/+4
automatically work out the basedn when basedn==NULL. The basedn is fetched from the rootDSE defaultNamingContext value (if there is one) This means we don't have to have the defaultNamingContext logic in lots of places. It makes a lot of sense to me to have basedn==NULL mean "use the default, as given by the database" Note that explicitly specifing a basedn of '' is not the same thing, and will not trigger this code The baseDN is cached in a ldb opaque, so we only have to fetch it once (This used to be commit 5d1b66b68fc517ce684f75e466ed5f25e46857d5)
2007-10-10r17820: simplify the code flow a littleAndrew Tridgell1-20/+27
(This used to be commit 221272e3930e1fbf30df1ad19713935d38cde46c)
2007-10-10r17745: got rid of the final asprintf() in ldbAndrew Tridgell1-1/+1
(This used to be commit 21377a607647c847c6902b685555a0206e61c6dd)
2007-10-10r17740: get rid of dependence on asprintf(), using talloc_asprintf() insteadAndrew Tridgell2-4/+4
(This used to be commit 0e350ea0c1bba278995da5e8de677c5651eb623e)
2007-10-10r17719: ldb_cmdline needs to be static for cc on solarisAndrew Tridgell1-1/+2
(This used to be commit db4d99f35b6874da01d0a1c68d64bd73635a7ec9)
2007-10-10r17707: Match the output (aside from dividers) the output ofAndrew Bartlett1-6/+28
ol-schema-migrate.pl in the schema output. Andrew Bartlett (This used to be commit 8f624fd17503e85afe74a3e1915e30f28d19853b)
2007-10-10r17679: - fix 'make test-ldap' to skip ldb specialsAndrew Tridgell1-0/+7
- allow ldb to be built in a separate build directory, using: /some/path/to/ldb/configure make this will make it much easier to put ldb in the build farm without interfering with the build farm builds of tdb and talloc (This used to be commit 580ed6730d33bad62e9799a38377c40f2852ae89)