summaryrefslogtreecommitdiff
path: root/source4/param/share_ldb.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-29s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett1-1/+1
This is consistent with lock_path() Andrew Bartlett
2011-03-19source4/param: Fix prototypes for all functions.Jelmer Vernooij1-0/+2
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell1-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>
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-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>
2009-10-23s4-dsdb: create a static system_session contextAndrew Tridgell1-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
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-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
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-3/+3
remove some unused functions.
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-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.
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-2/+4
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-02-27Clarify comments.Jelmer Vernooij1-1/+1
(This used to be commit 5193b383761129e59241cd2cc6000f0b038b49d4)
2007-12-21r26440: Remove more uses of global_loadparm.Jelmer Vernooij1-4/+5
(This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
2007-12-21r26252: Specify loadparm_context explicitly when creating sessions.Jelmer Vernooij1-1/+1
(This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
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-10-10r25547: Convert to standard bool type.Jelmer Vernooij1-8/+8
(This used to be commit 97a241692c4b8dc45e086aa9b959f2cd30b8d6c9)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-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)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-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)
2007-10-10r22546: use the same error codes in both share backendsStefan Metzmacher1-6/+11
metze (This used to be commit e0fae01e4cf93393b57514ffc08c126abf034e11)
2007-10-10r22336: Add some more share tests.Jelmer Vernooij1-1/+1
(This used to be commit dfc88ad698644fe90f0275c457e7b84ddde302a4)
2007-10-10r20034: Start using ldb_search_exp_fmt()Simo Sorce1-9/+3
(This used to be commit 4f07542143ddf5066f0360d965f26a8470504047)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce1-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)
2007-10-10r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth ↵Simo Sorce1-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)
2007-10-10r19299: Fix possible memleaksSimo Sorce1-2/+2
(This used to be commit 6fad80bb09113a60689061a2de67711c9924708b)
2007-10-10r18591: Better defaults for share creationSimo Sorce1-3/+5
Fix logic error in paged_results (This used to be commit 34ce1f8e1bab2debb508aa8bf478231389a77d42)
2007-10-10r18590: Some more work on the srvsvc pipeSimo Sorce1-29/+214
(This used to be commit 2c035787d47c6055c4081021f30d08929f178ca3)
2007-10-10r18542: Some late nite work.Simo Sorce1-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)
2007-10-10r17647: the init fns should not take a mem_ctxAndrew Tridgell1-1/+1
(This used to be commit e32fdc7e684b088629a5e858dd5bf0b80507ed65)
2007-10-10r17516: Change helper function names to make more clear what they are meant ↵Simo Sorce1-2/+2
to do (This used to be commit ad75cf869550af66119d0293503024d41d834e02)
2007-10-10r17207: Add the ldb based shares configuration moduleSimo Sorce1-0/+281
(This used to be commit df1da91d4fe0233763398f46fe663e0b879054c3)