summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r22682: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij2-6/+5
(This used to be commit 532f28724dcc9e0fe7051e27d145469398041101)
2007-10-10r22681: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij46-130/+110
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10r22668: Fix ldb buildJelmer Vernooij1-2/+0
(This used to be commit 331a0f608f3ae2199a8e3290d79d3a0623fb8a35)
2007-10-10r22665: Change version back to 0.9.Jelmer Vernooij1-1/+3
(This used to be commit 5037373c4c788ed5a74fbc90a190dd8245fe2029)
2007-10-10r22642: Allow standalone build to work without tdb or talloc checked out, butJelmer Vernooij6-1/+178
provided by the system. (This used to be commit bdde74055121ac538f6006750c94b514e962619d)
2007-10-10r22600: Update bzr ignores, put right version in .pc files, prepare for ↵Jelmer Vernooij2-4/+7
support of system versions of tdb, talloc. (This used to be commit 9b991ce9ca28b3d88c778305ec5f681506162637)
2007-10-10r22598: Simplify includes for replace.Jelmer Vernooij1-1/+1
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
2007-10-10r22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.Jelmer Vernooij1-2/+11
This should make it easier to allow use of system tdb or talloc libs using pkg-config. (This used to be commit a3ec90a2635d47e5c073e873c15daab4a8ef5400)
2007-10-10r22595: Add version numbers.Jelmer Vernooij1-1/+1
(This used to be commit 54cc097e0f8ca880c6c370e712ce427cefb16f08)
2007-10-10r22559: Make the ad2OLschema tool case insensitive.Andrew Bartlett1-6/+6
Andrew Bartlett (This used to be commit ddcca38c65c12a4e6a49151296ab36a458c53cb6)
2007-10-10r22557: Simo has long bugged me that the paths in the sam.ldb partitions wereAndrew Bartlett1-1/+11
not relative to the location of the sam.ldb, but instead lp_private_dir(). This fixes that issue. Andrew Bartlett (This used to be commit c0fd6f63399d55a1938e31ae7b10689cc02ff2fa)
2007-10-10r22497: Support renaming objectclasses and attributes for the LDAP backend.Andrew Bartlett1-17/+65
OpenLDAP is fussy about operational attributes in user-supplied schema. Andrew Bartlett (This used to be commit d7cd4b768a7f56ced8ed94b9a63d01865ba7d10a)
2007-10-10r22476: The OID match is used very oddly in AD, as it is often used for fieldsAndrew Bartlett1-0/+9
that contain attribute names and objectClasses. Make it a case insensitive string for now. Andrew Bartlett (This used to be commit 9908a05ef70c748c699b5a18178e7948f7814d7a)
2007-10-10r22475: Rather than segfault, show the name of the malformed entry.Andrew Bartlett1-0/+6
Andrew Bartlett (This used to be commit e1536014a05645fd2300de5152e966aa1e067436)