summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_map/ldb_map.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-08LDB:map - make LDB "signed-safe" on counter variables where appropriateMatthias Dieter Wallnöfer1-8/+8
2009-10-21S4: ldb_map modules uses defines that are reservedTorgeir Lerkerød1-29/+29
On OpenSolaris MAP_RENAME and friends are defined in <sys/mman.h> e.g. mmap and friends. So on these systems MAP_* have a meaning. Cleaned up LDB name space by adding LDB_ in front of MAP_* e.g. MAP_RENAME => LDB_MAP_RENAME Signed-off-by: Torgeir Lerkerød <torgeir.lerkerod@gmail.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-07-14remove all '\n' from ldb_debugSumit Bose1-8/+8
2009-02-26s4:ldb_map: include ldb_includes.h first to get replace.h as first headerStefan Metzmacher1-0/+1
This should bring the build on AIX one step further. metze
2009-02-23Fix headers, ldb_includes.h is a private header,Simo Sorce1-2/+0
do not reference it from ldb.h
2009-01-30Fix the mess with ldb includes.Simo Sorce1-25/+58
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.
2008-11-04Use ldb_dn_from_ldb_val to avoid possible over-run of the value.Andrew Bartlett1-2/+2
The ldb_val is length-limited, and while normally NULL terminated, this avoids the chance that this particular value might not be, as well as avoiding a cast. Andrew Bartlett
2008-09-29LDB ASYNC: core modulesSimo Sorce1-316/+39
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-1/+1
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-07-21Fix ldb_map to add/remove the same 'extra' objectclassAndrew Bartlett1-2/+3
The code previously added data->add_objectClass, but only removed the fixed objectclass of extensibleObject. Found by the ldap.py test. Andrew Bartlett (This used to be commit 4fa15c3173a997fa0b9041161d81e742e1fdb41c)
2008-02-20Use struct-based rather than function-based initialization for ldb modules ↵Jelmer Vernooij1-37/+1
everywhere. (This used to be commit 85c96a325867f7bcdb412ebc53f8a47dbf7cd89b)
2008-01-16Allow the 'extra' objectclass added to objectClass attributes byAndrew Bartlett1-32/+48
ldb_map to be modified (or omitted). This should allow the current abuse of extensibleObject to be replaced by a normal objectClass, possibly samba4TOP Andrew Bartlett (This used to be commit 8831a5c7935f7e2181252b7b6561541b8c8db679)
2007-12-21r26540: Revert my previous commit after concerns raised by Andrew.Jelmer Vernooij1-3/+3
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21r26539: Remove unnecessary statics.Jelmer Vernooij1-3/+3
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
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-10r22762: Some ldb_map changes:Jelmer Vernooij1-0/+1400
* Change license to LGPL, so it can be used by non-Samba users of LDB (cleared with Martin as well). * Include ldb_map in standalone build. * Move ldb_map to its own directory (This used to be commit a90202abca26c0da5425a2f3dd8494077c3290fd)
2007-10-10r9786: Move ldb_map into ldb/modules/Jelmer Vernooij1-1151/+0
Move samba3sam to dsdb/ (This used to be commit eb9d615bcd49328131613f64745760a90553b7f2)
2007-10-10r9770: Couple other bugfixesJelmer Vernooij1-5/+11
Update TODO-list (This used to be commit d9541535e3f9e1c058410eeb0a54d60181572f2b)
2007-10-10r9751: Remove C version of samba3dump (the EJS version works nicely as well).Jelmer Vernooij1-15/+44
Fix a couple of bugs in ldb_map. (This used to be commit 66df76a63433aea4081eab8b20bf3ba86e0a606d)
2007-10-10r9744: - [upgrade.js] Start working on smb.conf conversion.Jelmer Vernooij1-42/+273
- [ldb_map] Support storing non-mappable data in a fallback LDB (This used to be commit 435e4c6389b9d9b545beec8036289620ee5883db)
2007-10-10r9718: Work a bit on the SWAT interfaceJelmer Vernooij1-1/+3
(This used to be commit b1844905d2c1ca26aef0ccba799ff16383348fc1)
2007-10-10r9698: Fix a bit of memory managementJelmer Vernooij1-137/+305
More minor bugfixes Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn) (This used to be commit b7b079167d5c6616f7c5c4afb7dd80c15707cfd9)
2007-10-10r9690: Extend test + fix several bugsJelmer Vernooij1-4/+14
(This used to be commit 0cff0e03fca0ddccaff3b463aadba63d29e061a9)
2007-10-10r9689: valgrind-clean now. Editing works now mostly, you just lose half of yourJelmer Vernooij1-55/+89
database every time you do it... (This used to be commit 40ea2af427911d9a3e65ca9ebed438e9a0a83af8)
2007-10-10r9686: Another round of bugfixes. Works somewhat now, when running under ↵Jelmer Vernooij1-5/+69
valgrind ;-) (This used to be commit 786379064f0ed779b965330fb3b74deaca75ce99)
2007-10-10r9685: Add tests for samba3sam mapping moduleJelmer Vernooij1-2/+9
Fix a couple of bugs Move samba3sam backend to lib/ldb/ Remove some more unused parameters (This used to be commit 7f864d446d6af7cfd9fb8dbc496a29b36ec57ce9)
2007-10-10r9672: Fix build for compilers that don't like undefined-length arrays at ↵Jelmer Vernooij1-11/+13
the end of structs... (This used to be commit c2211df586337ff68bb805801959147065040c01)
2007-10-10r9616: Finish ldb_map module (still needs a lot of testing though...)Jelmer Vernooij1-45/+405
Add initial mapping table for ldb_samba3. Contains most attributes. (This used to be commit b73441b04d048919e95ee7f7bcae330c4dafefe7)
2007-10-10r9595: Add ldb map moduleJelmer Vernooij1-0/+238
(This used to be commit e0a0d3f092d601a22b7549a0278735e66239b301)