summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12605: docs patch from Brad Hards <bradh@frogmouth.net>Simo Sorce2-82/+151
(This used to be commit 874f16e055ec30bf2ee52a33464b4810a8f8cd89)
2007-10-10r12604: fix make clean as Brad Hards <bradh@frogmouth.net> sugestedSimo Sorce1-1/+2
(This used to be commit 6198006ee466c6398f6a3da352d236034693ffb7)
2007-10-10r12601: Syncronise both copies of dlinklist.h.Andrew Bartlett1-0/+14
Should we somehow link these, or just use the version in ldb? Andrew Bartlett (This used to be commit e98d14668e3fdee01b103adb5aec733790eee96d)
2007-10-10r12600: Add a new module to sort the objectclass attribute on store. TheAndrew Bartlett4-1/+326
module is perhaps not the most efficient, but I think it is reasonable. This should restore operation of MMC against Samba4 (broken by the templating fixes). Andrew Bartlett (This used to be commit 41948c4bdbfca1160a01a92994324f9e22422afe)
2007-10-10r12599: This new LDB module (and associated changes) allows Samba4 to operateAndrew Bartlett1-0/+1
using pre-calculated passwords for all kerberos key types. (Previously we could only use these for the NT# type). The module handles all of the hash/string2key tasks for all parts of Samba, which was previously in the rpc_server/samr/samr_password.c code. We also update the msDS-KeyVersionNumber, and the password history. This new module can be called at provision time, which ensures we start with a database that is consistent in this respect. By ensuring that the krb5key attribute is the only one we need to retrieve, this also simplifies the run-time KDC logic. (Each value of the multi-valued attribute is encoded as a 'Key' in ASN.1, using the definition from Heimdal's HDB. This simplfies the KDC code.). It is hoped that this will speed up the KDC enough that it can again operate under valgrind. (This used to be commit e9022743210b59f19f370d772e532e0f08bfebd9)
2007-10-10r12592: Remove some useless dependenciesJelmer Vernooij1-1/+1
(This used to be commit ca8db1a0cd77682ac2c6dc4718f5d753a4fcc4db)
2007-10-10r12553: Steal the error string onto this context, so that the caller doesn'tAndrew Bartlett1-1/+1
have to think about exactly what the right context to hang it of is. Andrew Bartlett (This used to be commit b1c8adcfe16c72252b0312e65676edcdbe472f09)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij2-0/+2
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12540: Provide more information in the ldb error string.Andrew Bartlett1-3/+5
Andrew Bartlett (This used to be commit 31f65e510cdd46b1962cf06b3d51f152b1cecf37)
2007-10-10r12534: Make the transaction code fill the error string on failure.Andrew Bartlett1-3/+30
Andrew Bartlett (This used to be commit 2f54d7f774434f2a8b89ae01e993c4a1d16ce861)
2007-10-10r12499: Move smb_build.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit c92ace494f92084ddf178626cdf392d151043bc7)
2007-10-10r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij1-12/+10
the difference between these at all, and in the future the fact that INIT_OBJ_FILES include smb_build.h will be sufficient to have recompiles at the right time. (This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10r12445: Fix header in manpage, make script executableJelmer Vernooij1-1/+1
(This used to be commit 7ca00cd918760dccc51e56234126ead8535a22ef)
2007-10-10r12408: as we always add the destinguishedName as autogenerated value,Stefan Metzmacher1-8/+16
don't store it on disk, as this would cause confusing results metze (This used to be commit c3d3309ba1567a4363c7c0235842833b5e2b6771)
2007-10-10r12361: Add a new function: ldb_binary_encode_string()Andrew Bartlett2-1/+14
This is for use on user-supplied arguments to printf style format strings which will become ldb filters. I have used it on LSA, SAMR and the auth/ code so far. Also add comments to cracknames code. Andrew Bartlett (This used to be commit 8308cf6e0472790c1c9d521d19322557907f4418)
2007-10-10r12310: Link simple bind support in our internal LDAP libs to LDB and theAndrew Bartlett1-5/+16
command line processing system. This is a little ugly at the moment, but works. What I cannot manage to get to work is the extraction and propogation of command line credentials into the js interface to ldb. Andrew Bartlett (This used to be commit f34ede763e7f80507d06224d114cf6b5ac7c8f7d)
2007-10-10r12254: Add some (hopefully correct) descriptions for libraries that are ↵Jelmer Vernooij1-0/+1
installed. Install pkg-config files. (This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)
2007-10-10r12227: I realised that I wasn't yet seeing authenticated LDAP for the ldbAndrew Bartlett1-4/+2
backend. The idea is that every time we open an LDB, we can provide a session_info and/or credentials. This would allow any ldb to be remote to LDAP. We should also support provisioning to a authenticated ldap server. (They are separate so we can say authenticate as foo for remote, but here we just want a token of SYSTEM). Andrew Bartlett (This used to be commit ae2f3a64ee0b07575624120db45299c65204210b)
2007-10-10r12209: Fix some issues with XML entities.Jelmer Vernooij7-12/+50
(This used to be commit 754e51b19d2d1fd6be8e01d62b6ec892688f934c)
2007-10-10r12158: added ldif handlers for the ntSecurityDescriptor attribute, so whenAndrew Tridgell1-0/+67
displaying security descriptors in ldbsearch or ldbedit you can see the SDDL version. This also allows us to specify security descriptors in our setup/*.ldif files in SDDL format, which is much more convenient than the NDR binary format! (This used to be commit 8185731c1846412c1b3366824cdb3d05b2d50b73)
2007-10-10r12157: ldb_dump_results() is useful to call from within gdb, so you can see aAndrew Tridgell1-0/+17
set of results (This used to be commit 2be62eb2dde9250f8bfe3a3272851e152a1d6b68)
2007-10-10r12057: fixed authentication in ldb client toolsAndrew Tridgell1-0/+3
(This used to be commit 020de11a61a1aa2c77c0a308186c85960c10fe32)
2007-10-10r11988: Setup the sessionInfo just before the connect, rather than earlierAndrew Bartlett1-4/+6
when we havn't finished popt. Andrew Bartlett (This used to be commit e5c5eb97a0ab841442b2c3fb5ea67f0d21b42932)
2007-10-10r11981: we should allocate request specific memory in ldb modules off theAndrew Tridgell1-1/+1
request strucutre. It will take a while for this to happen everywhere. (This used to be commit b1d38153b8c1d2d5be2d41005eadb0e0aa46bd72)
2007-10-10r11958: - fixed memory leaks in the ldb_result handling in ldb operationsAndrew Tridgell6-90/+99
- removed an unnecessary level of pointer in ldb_search structure (This used to be commit b8d4afb14a18dfd8bac79882a035e74d3ed312bd)
2007-10-10r11953: enabled the rootdse module in the ldb modules codeAndrew Tridgell1-0/+1
(This used to be commit 7d8b11174c97a3797673254c351c94436aa716b7)
2007-10-10r11594: ensure ldb_search() sets *res to NULL on failure (some of the updatedAndrew Tridgell1-0/+2
ldb_result code coud rely on that) (This used to be commit cd567bcb24125827c746c1c0902631b0e7c2cea5)
2007-10-10r11567: Ldb API change patch.Simo Sorce21-461/+751
This patch changes the way lsb_search is called and the meaning of the returned integer. The last argument of ldb_search is changed from struct ldb_message to struct ldb_result which contains a pointer to a struct ldb_message list and a count of the number of messages. The return is not the count of messages anymore but instead it is an ldb error value. I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good amount of places. I also tried to double check all my changes being sure that the calling functions would still behave as before. But this patch is big enough that I fear some bug may have been introduced anyway even if it passes the test suite. So if you are currently working on any file being touched please give it a deep look and blame me for any error. Simo. (This used to be commit 22c8c97e6fb466b41859e090e959d7f1134be780)
2007-10-10r11522: Add support for delegated credentials and machine account credentialsAndrew Bartlett1-2/+8
to ldb, based on the sessionInfo we now pass around. Andrew Bartlett (This used to be commit 84e16e4ea7240409f15efd9f64344f9e0cec8111)
2007-10-10r11512: fix typoAndrew Bartlett1-1/+1
(This used to be commit 4143c22e3077bd5aecb3427ff0a8857dab799400)
2007-10-10r11459: display a schemaIDGUID as a guid in ldif, making it easier to workAndrew Tridgell1-0/+8
with schemas in ldbedit (This used to be commit ddbca6e83254275568bff4c2f88cdbc4bfa666a6)
2007-10-10r11403: improved the error handling in the ildap ldb backend. Now passesAndrew Tridgell1-37/+53
through all ldap errors except on search. Search errors are only available via ldb_errstring() until we decide how to fix ldb_search(). (This used to be commit c192bcb79dda44b5b7a3bc257ba92addf769c8d9)
2007-10-10r11382: Require number of required M4 macrosJelmer Vernooij1-4/+1
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM Add some more PUBLIC_HEADERS (This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
2007-10-10r11378: Fix an uninitialized variable warning. Tridge, I'm 99.999% sure this ↵Volker Lendecke1-1/+1
was a simple cut&paste error, but you might recheck this. Volker (This used to be commit 55b5b100e9ef7e04832d5ba4c10c45916be3513e)
2007-10-10r11364: added a ldb_attr_dn() function for testing if an attribute name isAndrew Tridgell4-7/+17
"dn" or "distinguishedName". This makes us a bit more consistent (This used to be commit b41b374b55f9a056c47ffa2ff88aa5272dbc42fc)
2007-10-10r11353: a bit of an improvement to the ldb_tdb error handlingAndrew Tridgell3-28/+61
(This used to be commit 896704f5c139c8bce30dfc898bb3a12be10035ed)
2007-10-10r11304: Add support back in for loading shared modules (not used yet)Jelmer Vernooij1-5/+0
(This used to be commit 90f49b6f70c4aaf0e4ab4fad2e6f9caeb0f6f3a6)
2007-10-10r11303: Support defining and installing public headers for libraries.Jelmer Vernooij1-0/+1
Support installing libraries. Get rid of pkg-config file (will be autogenerated later on). (This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10r11300: Treat libraries as a special kind of subsystemJelmer Vernooij1-13/+4
(one that can also be built as a library and installed). (This used to be commit 98d1f9b1dc523ed88c5aa8d066030b33d74f62bf)
2007-10-10r11244: Relative path names in .mk filesJelmer Vernooij1-40/+40
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10r11214: Remove scons files (see ↵Jelmer Vernooij1-63/+0
http://lists.samba.org/archive/samba-technical/2005-October/043443.html) (This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
2007-10-10r11111: fixed a talloc error in the dn shortcut codeAndrew Tridgell1-5/+18
(This used to be commit e28a334eeb8fa22f686d0c1dc48b2977d85b9e10)
2007-10-10r11110: make ldb_oom() also set the ldb error stringAndrew Tridgell1-1/+1
(This used to be commit b6e8018a3b2326c3d1df4811a0581c5c0967bfd3)
2007-10-10r11109: fixed the error code return from most ldb functions (the change to useAndrew Tridgell1-6/+16
ldb_transaction_cancel() broke it) (This used to be commit dc41994ea72c7c7f571efa009930cf36d7a9897a)
2007-10-10r10980: Use ldb_attr_cmp and ldb_dn_escape_valueAndrew Bartlett1-6/+6
Andrew Bartlett (This used to be commit 2b1c88f628b27ffda08de3f4ac83c1f3b052a078)
2007-10-10r10959: fix compiler warningsStefan Metzmacher1-2/+3
metze (This used to be commit 9a9311fa6b4bbb2a385413c056c8be57cdb9eb59)
2007-10-10r10957: make a comment clearerAndrew Tridgell1-1/+1
(This used to be commit d379fb5f101155edd5f266ae9aaae4e7ac7bd76b)
2007-10-10r10956: Tridge thought some comments might be a good idea :-)Andrew Bartlett1-2/+14
Andrew Bartlett (This used to be commit c0d6126effdf31e0a107c06a400973c731e0e263)
2007-10-10r10954: added support for canonicalName in the operational module, using theAndrew Tridgell3-32/+94
dn->canonicalName function abartlet just committed (This used to be commit 197e8a27f0557869eacd17b74e1b14e0665883b1)
2007-10-10r10953: Add a new function to form a canonicalName out of a DN to ldb_dn.cAndrew Bartlett2-0/+57
Use this new function in the client and server for the CrackNames case, where we particularly need it. Andrew Bartlett (This used to be commit 380037ee09ef8293bdb288d6c015e7c80f180a30)