summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13744: Make ldb_ldap asyncSimo Sorce3-258/+747
(This used to be commit ec833b409c1fff4ab908fe194579e701d2e950b0)
2007-10-10r13743: Generic fixes and improvementsSimo Sorce1-59/+80
(This used to be commit c5eb27e5f7b23e5aa7e0fb1e11abfc760b499e85)
2007-10-10r13742: Fix tests to work better with ldapSimo Sorce5-12/+16
(This used to be commit 4de76fd09e74a4a98d01777dd11bd2cfb1a681aa)
2007-10-10r13700: added highestCommittedUSN, uSNChanged and uSNCreated support, usingAndrew Tridgell3-0/+72
the @BASEINFO sequenceNumber (simo, I changed the function pointer to a structure element as you preferred) (This used to be commit 68c9ac38c7eed221b44499ee3d74597063dfe7a1)
2007-10-10r13699: restore the system/select.h include, as otherwise we don't detectAndrew Tridgell1-0/+1
epoll support (This used to be commit 71eb159f9cc00e8de23a8700cea0e7a3be8c64d4)
2007-10-10r13662: Typo fix, add more public headersJelmer Vernooij4-6/+13
(This used to be commit d98948716f237c3a501b283a0bbc3837bb3fd3c8)
2007-10-10r13658: More moving around of files:Jelmer Vernooij38-102/+695
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10r13655: Use new name of build headerJelmer Vernooij2-2/+2
(This used to be commit bca0e8054f6d9c7adc9d92e0c30d4323f994c9e9)
2007-10-10r13654: Move some more stuff out of include/Jelmer Vernooij1-0/+69
(This used to be commit 2ec7bba03a2edf713004941e9ed74798f5cf8d32)
2007-10-10r13652: Move some more stuff out off include/Jelmer Vernooij1-0/+66
(This used to be commit 26bf2a393b90acc098be0b30886dbba34d348a01)
2007-10-10r13651: Always make sure pkgconfig directory existsJelmer Vernooij1-1/+2
(This used to be commit 45997039148e5d689dacf4d47c09740b937ac379)
2007-10-10r13650: Install manpages when building standaloneJelmer Vernooij1-0/+4
(This used to be commit 65128577a9909872bebb576f548668600352a645)
2007-10-10r13618: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 252d5edfb5b4c2a32f943e881f19b61698e9662f)
2007-10-10r13617: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 082f418fab867e1ca5ab9418514d5578a069eebb)
2007-10-10r13616: Add new ldb functions: ldb_msg_add_steal_string() andAndrew Bartlett3-1/+38
ldb_msg_add_steal_value(). These try to maintain the talloc heirachy, which must be correct otherwise talloc_steal operations of entire attribute lists fails. This fixes the currentTime value, found by using Microsoft's dcdiag tool (before this commit, it pointed to invalid memory, due to the changes in -r 13606) Andrew Bartlett (This used to be commit 424df1bb369fddcfd358cf26dd0da9d3851d181e)
2007-10-10r13615: Make ldb_set_errstring get ldb instead of module as parameter.Simo Sorce10-42/+52
The module was just used to get to the ldb so it was meningless. Also add LDB_WAIT_ONCE e relative code in ldb_ildap.c (This used to be commit d5b467b7c132b0bd4d23918ba7bf3370b1afcce8)
2007-10-10r13609: Get in the initial work on making ldb asyncSimo Sorce10-241/+770
Currently only ldb_ildap is async, the plan is to first make all backend support the async calls, and then remove the sync functions from backends and keep the only in the API. Modules will need to be transformed along the way. Simo (This used to be commit 1e2c13b2d52de7c534493dd79a2c0596a3e8c1f5)
2007-10-10r13592: Incredible how bugs like this can sweep in even after peer review ↵Simo Sorce1-19/+22
and testing ... (This used to be commit 8483f61a1df0c80f3385b1ab5a2628c2a97d41a2)
2007-10-10r13580: fix broken client side sortSimo Sorce1-1/+1
(This used to be commit cbbc0d7cc4f589235d209011bdb0a0401b492d9e)
2007-10-10r13577: Move some (possibly system-defined) defines to replace.hJelmer Vernooij2-16/+18
(This used to be commit 2b3d56e153b229119fddfa7b378f4d671ee0092c)
2007-10-10r13507: the 'data' element of LDAP controls is optional.Stefan Metzmacher3-0/+9
(prepare the next commit) metze (This used to be commit a1bbf7f2982185cb6cd544b65b4709ab33a850c5)
2007-10-10r13505: allow servers to bind to non-broadcast interfaces. Servers nowAndrew Tridgell1-16/+11
specifically ask for iface_n_bcast() and have to check if it returns NULL, in which case it is a non-broadcast interface (This used to be commit d004e250b6710251ea089ac242775481f13b5c2b)
2007-10-10r13504: add back in a comment noting fred as the contributor of the addressAndrew Tridgell1-0/+3
calculation code. This was originally done in 1997, and has been morphed a lot since then, but fred should still get credit (This used to be commit 172e41596fb3b4d2768d6885aea43295cc2f81c1)
2007-10-10r13401: remove the rename of the snprintf functions that simo accidentiallyAndrew Tridgell1-4/+2
included in his last commit (This used to be commit 487b374b4359b2cb5f4e249e595c43bfa568a853)
2007-10-10r13400: Only return NULL from talloc_asprintf if vsnprintf returns anJames Peach1-1/+1
error (ie. zero is not an error). (This used to be commit 1ab4674196b9df0b2b7b6eb4991358cc2f86c0d9)
2007-10-10r13397: Propagate the error return from vsnprintf to trap the case whereJames Peach1-2/+12
we aren't linked against a C99 vsnprintf. (This used to be commit 23782f899aaa5fe488d86d5e67e91be99ff7a146)
2007-10-10r13374: new revision of the snprintf replace codeSimo Sorce1-226/+672
still missing a configure test to make us substitute our snprintf to system one when the system one does not have positional parameters support (This used to be commit 398f989d6580587eb1fa4fec0b1ed858b5cbe8e1)
2007-10-10r13361: initial implementation of the vlv controlSimo Sorce2-3/+117
seem still buggy, can't make w2k3 to like it yet (This used to be commit e1318383e91f6f6db39e3e3c9946fbb089753947)
2007-10-10r13360: Fix crash bug when 0 results are returned on the internal base searchSimo Sorce1-1/+11
(This used to be commit fbee725ae87efbcf5887c923d55d7cb0d05476a6)
2007-10-10r13359: make sure we don't look at s[-1]Stefan Metzmacher1-1/+1
metze (This used to be commit 24c6e2f73175befa33f9758634e3ee183916e387)
2007-10-10r13358: removed some unused functions and make some local functions staticAndrew Tridgell1-57/+3
(This used to be commit a73b76a36a70703738945d42795da6cf90c85105)
2007-10-10r13354: Add tests to check that controls work properlySimo Sorce1-1/+21
Fix asq module, add a second_stage_init to register with rootdse Fix asq control ldap parsing routines (this was nasty to find out) (This used to be commit 933a80397d137f7d5b79c82a068d62bb6928ef47)
2007-10-10r13349: In the end I could not use ldb_caseless_cmpSimo Sorce5-39/+3
in attrib_handler.c functions remove it again Simo (This used to be commit 513ff499071e6cb5e608a82430718021f72997bd)
2007-10-10r13348: Put a reminder for now.Simo Sorce1-0/+2
Until we do not have an internal utf8 compliant casefloding function we cannot pass this test in the non-samba build (This used to be commit 5d93c1eeba8f64784294f3aabcaefa4aaf798355)
2007-10-10r13347: - Now we compare values with an optimized utf8Simo Sorce2-9/+50
safe function if the user provides an utf8 compliant casefold function to ldb. - Fix toupper_m and tolower_m to not crash if the case tables are not found - Let load_case_table() search into the correct directory in the search tree for the case tables so that we can test utf8 Simo (This used to be commit e12f070958eb3c144beb81c5cb878db122249021)
2007-10-10r13341: Trivial.Andrew Bartlett1-1/+1
(This used to be commit b986278b367a6693f69a06e07ca90f8b5a23a0c0)
2007-10-10r13340: The gensec_init() needs to be after the popt processing, as itAndrew Bartlett1-2/+3
disables modules based on parametric options. Andrew Bartlett (This used to be commit db32a81f3ea661e2308cccca8d6a251a3d57337e)
2007-10-10r13336: Doh! We actually never optimized for the ascii case.Simo Sorce1-3/+3
In the 3.0 branches it is fixed this but we missed it for samba4 (This used to be commit baccb3c9147e161a6d2cbe371a60bf2ddcc0585c)
2007-10-10r13335: Fix the build and add an utf8 safe ldb_hadler_fold functionSimo Sorce4-17/+46
based on ldb_casefold (This used to be commit 6104f900863c688707809d42c5429a42d654d5fb)
2007-10-10r13333: revert previous commit I will use ldb_caseless_cmp in attrib_handlersSimo Sorce7-15/+70
to correctly support utf8 comparisons add an ldb_attr_Casefold function for attribute names and use it instead of casefold in the right places (This used to be commit 3b4eb2413bbce059dde69f35c03cdc3cc2ba85c5)
2007-10-10r13328: After the attribute name check cleanup it turned up ldb_caseless_cmp()Simo Sorce5-46/+6
was used just in one places and by mistake, as there we should have been using ldb_attr_cmp() Remove ldb_caseless_cmp() ... going on with the cleanup and utf8 compliance effort. Simo. (This used to be commit afda68d7bf655a9145648856d29e6e64b9f21aa3)
2007-10-10r13325: let samba register it's own utf8 aware functions in ldbSimo Sorce2-0/+20
(This used to be commit 12faf556833807d3f2aa4360c54e10583ac77fed)
2007-10-10r13324: From now on check attribute names obey rfc2251Simo Sorce11-98/+139
Also add a way to provide utf8 compliant functions by registering them with ldb_set_utf8_fns() Next comes code to register samba internal utf8 functions. Simo. (This used to be commit ac9b8a41ffca8e06c5e849d544d3203a665b8e0d)
2007-10-10r13317: Create a new function messaging_client_init() which can be used whenAndrew Bartlett2-1/+10
we don't have a server messaging context. We should replace the datagram messages with stream sockets in this case, so we don't have to create a unique socket. Andrew Bartlett (This used to be commit fd974fb64792f8f6c532b01d2a2e012be18eef7e)
2007-10-10r13289: Check the tree is not NULLSimo Sorce2-0/+5
Thanks to Aaron J. Seigo <aseigo@kde.org> for spotting this (This used to be commit 4b5c0493e2276a9eba1bada7c4bac99999a465e2)
2007-10-10r13283: added two optimisations to the tdb transactions code. The first is toAndrew Tridgell1-1/+36
more agressively coalesce entries in the linked list of the undo log. The second is to ensure that writes during a transaction into the hash table don't cause the size of the undo log linked list to grow. These optimisations don't affect Samba much, but they make a huge difference to the use of ldb in kde (This used to be commit a37d9434d1fa181fd3d060ad032ee4ec5135fc52)
2007-10-10r13278: remove a silly strcasecmp() replacementAndrew Tridgell1-9/+1
(This used to be commit 6ec71ffbc141df398aff3e11c45e35e15192c66f)
2007-10-10r13268: fixed typo noticed by Aaron SeigoAndrew Tridgell1-1/+1
(This used to be commit a49d024f3d4866655d4436a5c42b3c228374594b)
2007-10-10r13258: Fix the talloc heirachy for ldb_tdb.Andrew Bartlett3-17/+20
In the return value res->msgs, msgs was not a child of res, in the indexed path. Instead, it hung directly off the ldb, which was sometimes a long-term context. Also remove unused parameters. Found by --leak-report-full Andrew Bartlett (This used to be commit 29cb5af827c459758997c80dca034d471bb92449)
2007-10-10r13256: Free temporary memory on error cases, and try to clean up what's leftAndrew Bartlett1-4/+4
earlier. Move gendb_search() to use talloc_vasprintf() and steal only the parts actually being used for the results. Andrew Bartlett (This used to be commit 53efb3e3e980c768e0aee216ccd8dc3e14707246)