summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/cmdline.h
AgeCommit message (Collapse)AuthorFilesLines
2010-11-01ldb:tools/ldbtest.c - fix build warningMatthias Dieter Wallnöfer1-1/+2
Cause was an incomplete declaration.
2010-11-01s4-ldb: added ldb command line hook supportAndrew Tridgell1-2/+2
ldb modules can now add hooks to the command line processing for ldb tools Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-25s4-ldb: removed unused command line options -I and -OAndrew Tridgell1-2/+0
These are not used anywehere, so they just confuse people Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2009-11-28s4-ldb: make it much easier to use common ldb controlsAndrew Tridgell1-1/+1
2009-09-21s4-ldb: add --trace command line option to ldb toolsAndrew Tridgell1-0/+1
This enabled LDB_FLG_ENABLE_TRACING
2009-09-08s4/ldb: added --show-binary command line optionAndrew Tridgell1-0/+1
This add --show-binary to ldbsearch. When this flag is set, binary blobs will be shown as-is, instead of base64 encoded. This is useful for some XML encoded attributes, and will also be used as part of some NDR print formatting for attributes like repsTo.
2009-09-02use ldb_cmdline_help() in ldbsearchAndrew Tridgell1-0/+2
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
2007-12-21r25842: Start working on test for loading dso's in ldb.Jelmer Vernooij1-0/+1
(This used to be commit d41ed7ca8d3954bf586126edd7aba17acc6af8a1)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell1-2/+1
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell1-1/+1
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r12989: move the control parsing and handleng functions to cmdline.cSimo Sorce1-0/+2
so that they can be used by the other ldb tools as well (This used to be commit c12b3c5cb46d428f815c623efacff8edebb6f6e3)
2007-10-10r12745: Initial work to support a syntax to pass over controls viaSimo Sorce1-0/+1
command line to ldbsearch. Very rough work, no checks are done on the input yet (will segfault if you make it wrong). Controls are passed via the --controls switch an are comma separated (no escaping yet). General syntax is <ctrl_name>:<criticality> <ctrl_name> is a string <criticality> is 1 or 0 Current semi-parsed controls are: server_sort syntax: server_sort:1:0:attributename 1st parm: criticality 2nd parm: reversed 3rd parm: attribute name to be used for sorting todo: still missing suport for multiple sorting attributes and ordering rule no check on result code paged_results syntax: paged_results:1:100 1st parm: criticality 2nd parm: number of results to be returned todo: ldbsearch will return only the first batch (missing code to cycle over conditionally) no check on result code extended_dn syntax: extended_dn:1:0 1st parm: criticality 2nd parm: type, see MS docs on meaning Simo. (This used to be commit 4c685ac0d1638a1d5392dfe733baf0db77e84858)
2007-10-10r10406: added --nosync option to all ldb tools, so that you can control ifAndrew Tridgell1-0/+1
transactions are synchronous or not on the command line. add LDB_FLG_NOSYNC flag to ldb_connect() so we can make our temporary ldb databases non-synchronous (This used to be commit dba41164e0c52f1e4351bd9057b16661cee3a822)
2007-10-10r9391: Convert all the code to use struct ldb_dn to ohandle ldap like ↵Simo Sorce1-0/+2
distinguished names Provide more functions to handle DNs in this form (This used to be commit 692e35b7797e39533dd2a1c4b63d9da30f1eb5ba)
2007-10-10r7714: enable samba credentials handling in ldb tools. So you can now do aAndrew Tridgell1-0/+1
encrypted ldbedit against w2k3 (This used to be commit 6277c3923e7d9c26753424b1e77ac62f8e0729a4)
2007-10-10r7710: new command line handling code for ldbAndrew Tridgell1-0/+47
(This used to be commit 5e8db1c9b3bb6c5196652a7af877b4204148c305)