summaryrefslogtreecommitdiffstats
path: root/source4/param/share_ldb.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett2011-04-291-1/+1
| | | | | | This is consistent with lock_path() Andrew Bartlett
* source4/param: Fix prototypes for all functions.Jelmer Vernooij2011-03-191-0/+2
|
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-2/+2
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-1/+1
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: create a static system_session contextAndrew Tridgell2009-10-231-2/+2
| | | | | | This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-201-3/+3
| | | | remove some unused functions.
* Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce2008-09-231-3/+3
| | | | | 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.
* Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-171-2/+4
| | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
* Clarify comments.Jelmer Vernooij2008-02-271-1/+1
| | | | (This used to be commit 5193b383761129e59241cd2cc6000f0b038b49d4)
* r26440: Remove more uses of global_loadparm.Jelmer Vernooij2007-12-211-4/+5
| | | | (This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
* r26252: Specify loadparm_context explicitly when creating sessions.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
* r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
* r25547: Convert to standard bool type.Jelmer Vernooij2007-10-101-8/+8
| | | | (This used to be commit 97a241692c4b8dc45e086aa9b959f2cd30b8d6c9)
* r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij2007-10-101-19/+18
| | | | | | | | 2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r22546: use the same error codes in both share backendsStefan Metzmacher2007-10-101-6/+11
| | | | | metze (This used to be commit e0fae01e4cf93393b57514ffc08c126abf034e11)
* r22336: Add some more share tests.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit dfc88ad698644fe90f0275c457e7b84ddde302a4)
* r20034: Start using ldb_search_exp_fmt()Simo Sorce2007-10-101-9/+3
| | | | (This used to be commit 4f07542143ddf5066f0360d965f26a8470504047)
* r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce2007-10-101-6/+6
| | | | | | | | | | | | | | | | | 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)
* r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth ↵Simo Sorce2007-10-101-5/+5
| | | | | | | | | argument. This is a pointer to an element pointer. If it is not null it will be filled with the pointer of the manipulated element. Will avoid double searches on the elements list in some cases. (This used to be commit 0fa5d4bc225b83e9f63ac6d75bffc4c08eb6b620)
* r19299: Fix possible memleaksSimo Sorce2007-10-101-2/+2
| | | | (This used to be commit 6fad80bb09113a60689061a2de67711c9924708b)
* r18591: Better defaults for share creationSimo Sorce2007-10-101-3/+5
| | | | | Fix logic error in paged_results (This used to be commit 34ce1f8e1bab2debb508aa8bf478231389a77d42)
* r18590: Some more work on the srvsvc pipeSimo Sorce2007-10-101-29/+214
| | | | (This used to be commit 2c035787d47c6055c4081021f30d08929f178ca3)
* r18542: Some late nite work.Simo Sorce2007-10-101-10/+133
| | | | | | Now we can add and remove a share from the "Computer Management" console (not yet modify!) usinf share backend = ldb (This used to be commit ae2f6d4a5a372a37b9783a02bb8e7f16588b21f0)
* r17647: the init fns should not take a mem_ctxAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit e32fdc7e684b088629a5e858dd5bf0b80507ed65)
* r17516: Change helper function names to make more clear what they are meant ↵Simo Sorce2007-10-101-2/+2
| | | | | | to do (This used to be commit ad75cf869550af66119d0293503024d41d834e02)
* r17207: Add the ldb based shares configuration moduleSimo Sorce2007-10-101-0/+281
(This used to be commit df1da91d4fe0233763398f46fe663e0b879054c3)