summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25218: After discussion with Simo, remove the subclass support from LDB.Andrew Bartlett7-298/+1
Subclass support was designed to avoid needing to spell out the full list of objectClasses that an entry was in. However, Samba4 now enforces this restriction in the objectClass module, and the way subclass matching was handled was complex and counter-intuitive in my opinion (and did not match LDAP). Andrew Bartlett (This used to be commit f5ce04b904e14445a2a7e7f92e7e1f64b645c6f2)
2007-10-10r25215: replace talloc_append_string() with talloc_strdup_append_buffer()Stefan Metzmacher2-15/+7
metze (This used to be commit 8f2db3c130ce85d38f805836a7df039822ede066)
2007-10-10r25204: Patch by Andrew Kroeger <andrew@sprocks.gotdns.com> fixing bug #4958 -Andrew Bartlett1-9/+31
rename of ldb entries for a case change (only). I've modified the testsuite to verify this. Andrew Bartlett (This used to be commit 9cccd00dac44dd9152ec03cecf5ffac24f918445)
2007-10-10r25187: pass FIRST_PREREQ to Makefile so that the value can be usedStefan Metzmacher1-4/+2
in handwritten rules too, hopefully fix the build of ldb with bsd make. metze (This used to be commit 9d6d296105526c55f08d82d289a30b92193d51e3)
2007-10-10r25105: No need to register ldb_map as a module.Jelmer Vernooij1-2/+1
(This used to be commit 6c66e09c9e400ea66fc6d941e192b28d0170a01f)
2007-10-10r25100: Include LDAP libs in .pc file so linking statically against libldb ↵Jelmer Vernooij4-3/+8
works again. (This used to be commit bcf5c9447435a826027626ac89a00eaa6739b12a)
2007-10-10r25097: Don't clutter users' CFLAGS with ldb cflags.Jelmer Vernooij1-1/+1
(This used to be commit e31614b5ea73cab56c572d2e2d61f8070928b230)
2007-10-10r25093: Use system-provided ldb library if available. Note that this only ↵Jelmer Vernooij4-97/+102
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-10r25085: Define LDB_MODULESDIR for standalone build.Jelmer Vernooij1-2/+2
(This used to be commit 1ba883c62e86274a55c1a0012201fc2e8b6b57fc)
2007-10-10r25084: Move samba-specific code out of lib/ldb directory.Jelmer Vernooij7-505/+2
(This used to be commit 917bd737cb07817664d9088860588d47525f5ff8)
2007-10-10r25081: Add modules_dir member to ldb_context that is used rather than a globalJelmer Vernooij5-20/+28
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb (This used to be commit e672380d2156cf0421108a9c34f04f096c2afeed)
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-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij3-17/+17
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24567: Try much harder not to leak memory when comparing objectCategory ↵Andrew Bartlett1-9/+40
entires. Andrew Bartlett (This used to be commit 8cfa1f898e5f5a8e57e3794a80174063223247ec)
2007-10-10r24566: Remove trailing newlines in ldb_debug(), these are not required.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 2ed782f7caa98003c524d70bcb97874002be57a2)
2007-10-10r24459: Fix up ldap.js and test_ldb.sh to test the domain_scope control, andAndrew Bartlett1-20/+13
to test the behaviour of objectCategory=user searches. It turns out (thanks to a hint on http://blog.joeware.net/2005/12/08/147/) that objectCategory=user maps into objectCategory=CN=Person,... (by the defaultObjectCategory of that objectclass). Simplify the entryUUID module by using the fact that we now set the DN as the canoncical form of objectCategory. Andrew Bartlett (This used to be commit b474be9507df51982a604289215bb1868124fc24)
2007-10-10r24261: Fix the standalone ldb build after I moved the objectclass module out.Andrew Bartlett2-3/+0
Andrew Bartlett (This used to be commit c4c3afcdcb6ac5dc220f353b25689056484ac6c9)
2007-10-10r24259: Rework the objectclass module to use the new schema, rather than theAndrew Bartlett2-704/+0
ldb_subclass list. Next step will be to have this module also set the objectCategory and default ntSecurityDescriptor Andrew Bartlett (This used to be commit 0f7135a4685a1117a54c2f019df6c6de22b8dd32)
2007-10-10r23993: Attempt to fix bug #4808, reported by mwallnoefer@yahoo.de. The issueAndrew Bartlett1-1/+4
is that when we all ldb_msg_add_empty(), we might realloc() the msg->elements array. We need to ensure the source pointer (when copying an element from the same msg) is still valid, or the data copied. Andrew Bartlett (This used to be commit 0fbea30577233d00e7c6cdd4faaece0f99fc57b1)
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-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell4-8/+8
not GNU Library General Public License (This used to be commit 01e3fe7533b5670236c026ec3c6cc1e25655fbc3)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell4-12/+4
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell54-109/+54
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23796: main COPYING file for samba4, plus some formatting varientsAndrew Tridgell2-2/+2
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell56-56/+56
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23794: convert more code from LGPLv2+ to LGPLv3+Andrew Tridgell4-20/+12
(This used to be commit 9d37f1ec070ddcfd49dfe351e76cc08fa0d9b41c)
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-10r23762: Fix DN renames over LDAP, and instrument the partition module. Add aAndrew Bartlett1-3/+2
test to prove the behaviour of LDAP renames etc. Fix LDB to return correct error code when failing to rename one DN onto another. Andrew Bartlett (This used to be commit 3f3da9c4710b7752ed97f55c2fc3d32a63d352af)
2007-10-10r23753: Fix bitrot afflicting the ldb Python swig bindings.Tim Potter1-7/+7
(This used to be commit 0141db0fc43fb55d4b6dd80c89b1a3aae689a873)
2007-10-10r23737: Validate that we object to duplicate values in an add or replace.Andrew Bartlett1-10/+25
We can't ever allow duplicates, even if the client sends them Andrew Bartlett (This used to be commit 10277f27246b9e16ed36fb72eb4c318b43cb9395)
2007-10-10r23703: Start to get Samba4 to again work with LDAP backends, after I turnedAndrew Bartlett1-1/+2
on metze's schema work. Andrew Bartlett (This used to be commit 3111bbdf64f57bf8d2638fd9829c071dcfeb4af1)
2007-10-10r23560: - Activate metze's schema modules (from metze's schema-loading-13 ↵Andrew Bartlett2-44/+39
patch). - samba3sam.js: rework the samba3sam test to not use objectCategory, as it's has special rules (dnsName a simple match) - ldap.js: Test the ordering of the objectClass attributes for the baseDN - schema_init.c: Load the mayContain and mustContain (and system...) attributes when reading the schema from ldb - To make the schema load not suck in terms of performance, write the schema into a static global variable - ldif_handlers.c: Match objectCategory for equality and canonicolisation based on the loaded schema, not simple tring manipuation - ldb_msg.c: don't duplicate attributes when adding attributes to a list - kludge_acl.c: return allowedAttributesEffective based on schema results and privilages Andrew Bartlett (This used to be commit dcff83ebe463bc7391841f55856d7915c204d000)
2007-10-10r23557: Ensure that we don't reorder the objectClass list, if we don't haveAndrew Bartlett1-2/+2
any subclasses loaded yet, or none are applicable. This fixes MMC so that it at least displays the Samba domain as a domain, but there is still work to be done. Andrew Bartlett (This used to be commit b96b7b623dbc55a4bcf1149347823911a17e717f)
2007-10-10r23364: add LDB_FLG_NOMMAP flagAndrew Tridgell2-0/+10
(This used to be commit 0c3442c68b01b6804f3fd966fc1fe9097eb863aa)
2007-10-10r23339: merge from SAMBA_3_0:Stefan Metzmacher1-23/+2
fix a crash bug...I wonder why only HP-UX 11.00 ans 11.11 noticed it via a SIGBUS... I missed to remove the samba3 specifc code path to tdb_open_ex() when I synced lib/tdb/ with samba4. The explicit cast in on tdb_open_ex() dropped the compiler warning :-( metze (This used to be commit df6e3bec368d7d99cb1641023f4cbcd94c438e22)
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-10r22989: allow '@foo' attributes searchable as we allow '@foo' attributesStefan Metzmacher1-0/+4
in all other places too... metze (This used to be commit 4e32aafb9ebdcc70966aaa2e3891ec9a0959535d)
2007-10-10r22952: Make sure we look at extra_cflags when building custom targets.James Peach1-1/+5
(This used to be commit 2d990cd37410cec03fa96767b0cf84d7c17ca9c4)
2007-10-10r22789: fix loading of internal samba4 modulesStefan Metzmacher1-3/+3
metze (This used to be commit f6740c8b7abdaa65c8467220bf2d14e21fe71053)
2007-10-10r22762: Some ldb_map changes:Jelmer Vernooij8-91/+102
* 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-10r22750: dlopen() is always available now (and returns a correct error if not ↵Jelmer Vernooij1-5/+0
supported by the system), thanks to libreplace. (This used to be commit 1152a4f56d7402bf3aa00b5b108c5c6c668cec6b)
2007-10-10r22746: fix the build of the sqlite moduleStefan Metzmacher1-2/+1
metze (This used to be commit cd958034df67a606492b69e55f1f4bc5fa95383b)
2007-10-10r22723: fix compiler warningsStefan Metzmacher1-1/+1
metze (This used to be commit d8440f0579a87e7edff466269bc1dfab8796af34)
2007-10-10r22722: fix dependenciesStefan Metzmacher1-2/+1
metze (This used to be commit 0397eca102e17d2da726d1669e3ff6d925e50e89)
2007-10-10r22696: Make sure this is an ascii charSimo Sorce1-0/+12
spotted by Volker (This used to be commit e24812016f60f506f0df2cb5ba8c2c6987f7da40)
2007-10-10r22694: It seems that AIX 5.3 with XLC has difficulties with <ctype.h>. This isVolker Lendecke1-1/+1
an attempt to work around this: Maybe it helps if we include other stuff first. This raises a question however: Do we want the DN handling to be locale dependent? isalpha() can return different things depending on the current locale. (This used to be commit 75ba82dee052fa5f4141e66e1cb748101aa95d71)
2007-10-10r22687: use DESTDIR.Jelmer Vernooij1-6/+6
(This used to be commit 0b34da929f2a482c6470a18a6b365634cb1f5b22)
2007-10-10r22684: Fix native Samba build.Jelmer Vernooij2-3/+4
(This used to be commit 582e743e68a1dbfafe06e7e283ff998140149ae7)