summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
AgeCommit message (Collapse)AuthorFilesLines
2009-03-05Remove parse_control from header, long after the function was removedAndrew Bartlett1-1/+0
Simo reminded me that when (long ago) I moved parse_controls away from this place, I forgot to update the manually maintained header file. Andrew Bartlett
2009-02-23Fix headers, ldb_includes.h is a private header,Simo Sorce4-1/+4
do not reference it from ldb.h
2009-01-30Fix the mess with ldb includes.Simo Sorce8-11/+11
Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
2009-01-22Do not start a transaction this way.Simo Sorce1-10/+0
Because we still want to commit any changes that successfully apply we never want to do a global cancel, and because of how transaction nesting works that means we never cancel any "transaction" at the single modify operation level. Let each operation start its own transaction so that the transaction is properly canceled if any error is returned and half committed operations (though plugins failing) are properly reverted on a per operation basis.
2008-12-18Parse options (and open the database) before starting transactionsAndrew Bartlett1-2/+2
2008-12-18Print error strings when transactions fail in ldb toolsAndrew Bartlett3-6/+6
2008-12-16use transactions in ldbadd, ldbmodify and ldbeditAndrew Tridgell3-0/+30
The command line tools ldbadd, ldbmodify and ldbedit should operate within a transaction to make them more efficient. The ldbadd tool in particular is much faster when adding a large number of records if all the adds happen within a transaction. Previously there was a transaction per record.
2008-09-29LDB ASYNC: ldb misc changesSimo Sorce1-34/+42
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce3-4/+4
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-08-22fixed a problem with length limited ldap valuesAndrew Tridgell1-1/+1
The core ldb code for string matching assumed NULL terminated strings, whereas the anr module used data_blob_const() to effectively truncate a ldb_val by changing its length. The ldb code is supposed to be based around length limited blobs, not NULL terminated strings, so the correct fix was to change the string comparison functions to be length limited (This used to be commit 26c6aa5a80ffaf06fc33f30a6533f8f16ef538bc)
2008-07-26lib/ldb/tools: allow -W and --realm when build from samba4Stefan Metzmacher1-0/+1
metze (This used to be commit 0aa6d63ec571b0ca05fbfe14d2b4e9ba3e1082e9)
2008-07-02Move ad2oLschema and oLschema2ldif into Samba4, out of LDBAndrew Bartlett4-1586/+0
LDB does not know about nor process the AD schema, so it makes no sense to have this tool there. I've been changing it anyway, to use a common schema manipulation library, and will enhance these links in the future. Andrew Bartlett (This used to be commit c7704805b9a3541e4c8768278c8289b0aa6ed5e3)
2008-07-02Collapse auxillary classes in LDAP schema conversion.Andrew Bartlett1-4/+106
MS-ADTS 3.1.1.3.1.1.5 describes the behaviour of auxiliary classes. In effect, these are additional MUST or MAY attributes that are appeneded to the parent class (the auxiliary does not become listed in the objectClass attribute), and so we do just that, and merge them here, for export to OpenLDAP as it's schema. Andrew Bartlett (This used to be commit d674e92591ea90eb3b2117d8dd21f79f718d7730)
2008-06-25Use ldbsrcdir rather than ldbdir.Jelmer Vernooij1-14/+14
(This used to be commit a422c6c5ff47f36ef3376f54e707561c6a53ac23)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce9-10/+13
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-05-31Revert Jelmer's CFLAGS commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6cAndrew Bartlett1-8/+2
This commit broke the build, because not all files (libreplace, popt) were updated. Andrew Bartlett (This used to be commit 3faacf4351d68a10aea78b53768571d2059772ae)
2008-05-30Move CFLAGS handling out of smb_build.Jelmer Vernooij1-2/+8
(This used to be commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c)
2008-05-27Use variable for ldb source directory.Jelmer Vernooij1-8/+8
(This used to be commit 48bfce0ea51b952baef5bfa667405e8742e5016f)
2008-05-06Cope with an empty mapping file in ad2oLschemaAndrew Bartlett1-2/+2
(This used to be commit 5f36a605a9accfba1125bbae0e79bb14b936173c)
2008-04-14Move object files lists to makefile rather than smb_build.Jelmer Vernooij1-14/+14
(This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
2008-02-29Fix manpage paths.Jelmer Vernooij1-6/+6
(This used to be commit 36da52abf5be79e37bd495ec4265e01b27aa9da5)
2008-02-29Move manpage management out of the perl build system.Jelmer Vernooij1-6/+12
(This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673)
2008-02-20Fix static module list generation for ldb.Jelmer Vernooij10-20/+0
(This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
2008-01-11Rework ldbsearch to avoid segfault when remote LDAP server returnsAndrew Bartlett1-12/+10
referrals. Andrew Bartlett (This used to be commit 8099facff99dab4de27ea6f857d0e8f5eaa3db5a)
2008-01-11Fix segfault when sorting LDAP replies on the client.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit c72c39326b263b3aacd178ddc2fc3b1a2906f3d3)
2007-12-27r26611: Tridge didn't write this...Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 002ddc315fc03ea22083d9d8c87401073688fd29)
2007-12-21r26426: Remove uses of global_loadparm.Jelmer Vernooij1-1/+2
(This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-3/+3
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26277: Move loadparm context higher up the stack.Jelmer Vernooij1-1/+2
(This used to be commit 38fa08310ce573e9b46e76c840ddda6f18863573)
2007-12-21r26252: Specify loadparm_context explicitly when creating sessions.Jelmer Vernooij1-1/+1
(This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
2007-12-21r26228: Store loadparm context in auth context, move more loadparm_contexts ↵Jelmer Vernooij1-0/+4
up the call stack. (This used to be commit ba75f1613a9aac69dd5df94dd8a2b37820acd166)
2007-12-21r26226: Avoid more uses of global_loadparm.Jelmer Vernooij1-2/+3
(This used to be commit 6cbce47a3eaef76a89db7cd0ab0d4f6441fc720d)
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)