summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8414: Some C++ friendlyness fixes - 'not' is apparently a keyword in C++.Tim Potter3-5/+5
(This used to be commit bcfb3a45e4a5962fe763f8071d4458f4bd11605b)
2007-10-10r8409: fixed another error found on netbsd.Andrew Tridgell1-8/+13
some of our torture code does its own timeout processing, which means there is no event timer in the event context. To fix this gererically I have added a 30 second timout to all select/epoll calls so the callers timeout loop is guaranteed to run eventually (This used to be commit 01e5aa146439f2dbf6c4133a0b5d910383a6576b)
2007-10-10r8408: its quite common in our code to free up a connection when we get anAndrew Tridgell1-0/+27
error, but sometimes a socket option may then happen on the NULL socket. This has been handled by the individual libraries up to now, but its cleaner to centralise it here (This used to be commit d9864e1f9aac1fb19f054c2da996a5099e90941e)
2007-10-10r8405: update var.c from upstreamAndrew Tridgell1-12/+12
(This used to be commit 288c178d5fef80947590fd58e3c9b1fbcdddcdf6)
2007-10-10r8404: small upstream merges of appweb codeAndrew Tridgell4-17/+13
(This used to be commit 205ff9a82bd51eae3c1400ea0a24fcf2a662e96f)
2007-10-10r8401: add a readme pointing to the upstream sourcesAndrew Tridgell1-0/+6
(This used to be commit 2dcae5c98ca66a26fd6ae6d27cf7eb31cf16fee3)
2007-10-10r8400: separate out the mpr code, as it is in the upstream appweb sourcesAndrew Tridgell7-9/+19
(This used to be commit 0e30b6e4cc9e70975d3179cfeddc4bfcc8c8fbb7)
2007-10-10r8399: move the ejs and esp code closer to the directory layout used by theAndrew Tridgell18-628/+1720
upstream sources. This makes it much easier to keep it up to date. I will separate out the mpr code into lib/appweb/mpr next (This used to be commit 52db7a052baeb0f11361ed69b71cb790039e3cc9)
2007-10-10r8397: merged an upstream fix for the expression bug tpot found yesterdayAndrew Tridgell1-3/+3
(This used to be commit 93712dd894b4ddaa2281034c754c0fa15f5ec34c)
2007-10-10r8394: Make sure the argument to ctype is*(3) macros are unsigned char asLove Hörnquist Åstrand8-26/+29
required by ISO C99. (This used to be commit 56fd21c806e816cf4c3d23881f26474f858b45e2)
2007-10-10r8377: forgot an ldif testSimo Sorce1-0/+4
(This used to be commit ed804262dc6abf01ffdeb03a36d94cf40b9f033c)
2007-10-10r8373: New wildcard matching code.Simo Sorce14-203/+413
This code applies correct ldap standard wildcard matching code removes WILDCARD matching from tdb @ATTRIBUTES, that's now handled independently adds some more tests for wildcard matching fixes dn comparison code in ldb_match (This used to be commit 4eb5863042011988d85092d7dde3d809aa15bd59)
2007-10-10r8364: fixed a valgrind bug spotted by simoAndrew Tridgell1-1/+1
(This used to be commit ef804e8f36f1835d5d61f69565f1195a70f37e74)
2007-10-10r8343: removed a debugging messageAndrew Tridgell1-2/+1
(This used to be commit c12325e25291a0083446519e0b37c7bcdc3d5433)
2007-10-10r8342: allow ldb_ldif_read_string() to continue in the string, so you canAndrew Tridgell3-5/+8
read multiple records (This used to be commit 4b11c00421b5152fd7d4be0be0db983bb310021d)
2007-10-10r8341: enable floating point support in ejsAndrew Tridgell3-2/+7
(This used to be commit bdc6b67eb27cc3da6d5144bbb71096741f779aba)
2007-10-10r8336: enable 64 bit integer support in ejsAndrew Tridgell3-12/+12
(This used to be commit 9dd41e78e1d0e5e4007d5063fbcc335abef43718)
2007-10-10r8334: fixed a ejs bug that prevented functions variables from being called ↵Andrew Tridgell1-4/+5
in local context (This used to be commit 5ea7ae70813f615769aff7640cc19005e30ecf12)
2007-10-10r8333: merged with latest upstream ejs sourcesAndrew Tridgell9-58/+84
(This used to be commit b0f9ddafe95d4e8d846bc72a39e94d22da271348)
2007-10-10r8321: Fix some uninitalized variable warningsVolker Lendecke1-1/+1
(This used to be commit 126cb3db4b0cf9c382ba7496ba08311f3b669f00)
2007-10-10r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with ↵Andrew Tridgell1-0/+12
heimdal (This used to be commit 7d4e309f02cfcef661ebf3bbe9c227938318077c)
2007-10-10r8294: Add PLAN file for samba3->samba4 upgrade (Google Summer of Code) project.Jelmer Vernooij1-0/+9
(This used to be commit 7ebf81adce49d495c4fe8efdbb2e480db541fe35)
2007-10-10r8284: - fixed some uninitialised variables in the irpc codeAndrew Tridgell1-4/+8
- added code to send multiple irpc calls in parallel, to all servers that have registered the given name, with output going in io.results[i]. This allows you to make rpc calls to multiple servers at once, which is needed for clients like smbstatus (This used to be commit 061e20e509d95ffe16d7dd6fba7db39fc7a165ed)
2007-10-10r8279: make sure we hold a lock when manipulating the irpc names dbAndrew Tridgell1-1/+21
(This used to be commit 9c408d5d7cb82e910ffb5963ddc78e5759513385)
2007-10-10r8277: filled in the code for finding irpc server ids by name, storing theAndrew Tridgell2-2/+126
names in a tdb (This used to be commit b603a52f27bf90e71d605440d44267dcd94c6939)
2007-10-10r8273: fixed some memory leaks in smbscript. This required convertingAndrew Tridgell1-22/+11
file_load() to use talloc, which impacted quite a few bits of code, including our smb.conf processing. took the opportunity to remove the gloabls in params.c while doing this (This used to be commit b220756cb4f1d201ba3e771ca67e4bfae5eae748)
2007-10-10r8272: added the hooks for adding a name to a messaging context, so we willAndrew Tridgell2-0/+11
be able to send a message to the "ldap_server" task without having to know its task ID. (This used to be commit 8f69867867857e0c9a9246c2dec9612ccc234724)
2007-10-10r8253: fixed two crash bugs in ejs. I will send these fixes off to the ↵Andrew Tridgell2-1/+4
appweb guys soon. (This used to be commit 3fe83b48c3fe4cdc1e7ec0271e08f7bd77e90de9)
2007-10-10r8245: Add const.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 8c079ce1631433f6bf1da8f378ea5f1a271a02ae)
2007-10-10r8240: support comparing pointers in ejs. This allows forAndrew Tridgell1-1/+4
if (io.output.samr == NULL) { print("no result\n"); } (This used to be commit 89db5c68a5ee6875ccddcfe70a6e1232b40039b3)
2007-10-10r8228: fix compiler warningsStefan Metzmacher1-9/+9
metze (This used to be commit 93c1d18021cbf08be1782b129c40d8769b1b559c)
2007-10-10r8224: - add objectGUID ldif_handlerStefan Metzmacher1-14/+140
- fix some compiler warnings metze (This used to be commit e6c39241bf93336d4c94c43f9d8beb69018fb74a)
2007-10-10r8171: According to Samba 3 and Ethereal, the winreg_OpenUnkown stuff isTim Potter1-4/+1
actually a uint16 * without the [string] attribute, a la the the system_name argument to samr_Connect(). Initialising the pointer to NULL is sufficient and we still pass the RPC-WINREG test against win2k3. (This used to be commit 407d962dacf7c833b36cb739e48fe97226968a34)
2007-10-10r8146: fix compiler warningStefan Metzmacher1-7/+5
metze (This used to be commit 5fcaa21d67e399aab4af15f4f6f919203c1152e5)
2007-10-10r8127: fixed code in function errorAndrew Tridgell1-2/+1
(This used to be commit 46632e2048f0b87de351cd3f26229cfc4b3384ca)
2007-10-10r8126: - moved to 16 byte alignment for talloc. This is in response to a bugAndrew Tridgell2-51/+54
report from robert collins. - updated talloc guide to reflect the fact that over the last few months talloc overhead compared to malloc has dropped, probably due to a bunch of small changes. It now costs about 4% more than malloc on my box (This used to be commit 689a9ccf91f9de560a500787d85321abe096b948)
2007-10-10r8084: do not leak memory on errorsSimo Sorce2-8/+6
(This used to be commit 2e328e6c2fc2c66b0d0de910cd43ab232049bc90)
2007-10-10r8083: check attribute type is valid (only ascii alphanum chars and '-' char)Simo Sorce1-0/+19
fail if not (This used to be commit b1a61cd5d03b4c61b81c810123ffeb3621831617)
2007-10-10r8082: large rewite of ldb_dn.cSimo Sorce15-345/+284
- we do not support multpiple attribute components anymore, makes code a lot easier they will be readded later if we found out they are really used, so far my tests show w2k3 do not handle them as well - fix escaping issues, move component value to be in an ldb_val structure still need to handle binary values case - make cononicalize functions leak less memory by giving a specific memory context - fix tests scripts so that test-ldap can start - make test not delete databases on completion so that I can inspect them (This used to be commit 624a73148d125690ce18515f19231d26df207738)
2007-10-10r8071: reduce the size of the default ldb tests. We run on some pretty low ↵Andrew Tridgell1-2/+2
powered machines in the farm, and don't want to chew too much cpu needlessly. (This used to be commit c03753faa46d52ae4606546b57962e10c41ea3ad)
2007-10-10r8067: added a method for disabling the password prompt in programs that wantAndrew Tridgell1-1/+9
cmdline credentials, but don't want a prompt if none are supplied (This used to be commit d7d7f7292b7032dcad6d6245510af229f12f7085)
2007-10-10r8044: give a better error codeStefan Metzmacher1-3/+3
metze (This used to be commit fdbf822f1c90cba110d91720ea586ceef9de38b2)
2007-10-10r8043: increase shell compatibility of ldb testsAndrew Tridgell1-1/+1
(This used to be commit 60863b6faf7f78566052491340607cbb4b3f2e72)
2007-10-10r8042: give better error messageStefan Metzmacher1-1/+1
metze (This used to be commit 70118e9529aaf7af9129df7cb3a6749598b17568)
2007-10-10r8041: remove a mis-spelled debug message :-)Andrew Tridgell1-1/+0
(This used to be commit 912fa269d293b3b55fc5fa65f9532614fe2e202d)
2007-10-10r8039: allow ldb test suite to be run outside of the ldb directoryAndrew Tridgell4-33/+41
(This used to be commit f3e3b2ccd93b87c1c240cf7e44106389b089b526)
2007-10-10r8038: - fixed indexing on binary values that need base64 encoding and ↵Andrew Tridgell2-3/+24
canonicalisation - added support for recognising the S- form of objectsid in search expressions. I thought this could be done with just a comparison modified comparison function, but it turns out it also needs a canonicalisation function so that indexing can work (This used to be commit 7d2bee2c5619f284375ecbed14371c5e8639ed1c)
2007-10-10r8037: a fairly major update to the internals of ldb. Changes are:Andrew Tridgell19-684/+1368
- moved the knowledge of attribute types out of ldb_tdb and into the generic ldb code. This allows the ldb_match() message match logic to be generic, so it can be used by other backend - added the generic ability to load attribute handlers, for canonicalisation, compare, ldif read and ldif write. In the future this will be used by the schema module to allow us to correctly obey the attributetype schema elements - added attribute handlers for some of the core ldap attribute types, Integer, DirectoryString, DN, ObjectClass etc - added automatic registration of attribute handlers for well-known attribute names 'cn', 'dc', 'dn', 'ou' and 'objectClass' - converted the objectSid special handlers for Samba to the new system - added more correct handling of indexing in tdb backend based on the attribute canonicalisation function - added generic support for subclasses, moving it out of the tdb backend. This will be used in future by the schema module - fixed several bugs in the dn_explode code. It still needs more work, but doesn't corrupt ldb dbs any more. (This used to be commit 944c5844ab441b96d8e5d7b2d151982139d1fab9)
2007-10-10r8035: added indexing tests. current ldb fails the integer indexing, will be ↵Andrew Tridgell1-4/+24
fixed shortly (This used to be commit a9c32445035a09978c5fdbc189a2767e7650dfc2)
2007-10-10r8033: - add easier valgrind testingAndrew Tridgell1-11/+25
- add tests for the @SUBCLASSES ltdb special (This used to be commit ad6e62fdcf0432fcf4d41edb1727cbba1b7528b7)