summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7298: ensure messages are sent in order even when under extreme load. ThisAndrew Tridgell2-2/+7
fixes a IO_TIMEOUT problem in the messaging benchmarks (This used to be commit c8b220b65de00418d19347cf298cc80d86e8accb)
2007-10-10r7296: avoid two stat() calls per message. This increases the raw messageAndrew Tridgell1-8/+7
rate from 20k/sec to 55k/sec. The irpc rate goes from 16k/sec to 34k/sec. I should have run strace -T on this a long time ago. (This used to be commit b9281668bb0c971af14df37ec3e979b9d5ef276e)
2007-10-10r7295: added an irpc benchmark. It gets about 16k messages/sec on my laptop,Andrew Tridgell2-8/+18
compared to about 20k messages/sec for the raw messaging layer. I think that is quite acceptable given the extra functionality. (This used to be commit a05d38d1d91f1f54d3e3794a596b468992594852)
2007-10-10r7294: implemented the irpc messaging system. This is the core of theAndrew Tridgell3-2/+378
management system I proposed on samba-technical a couple of days ago. Essentially it is a very lightweight way for any code in Samba to make IDL based rpc calls to anywhere else in the code, without the client or server having to go to the trouble of setting up a full rpc service. It can be used with any of our existing IDL, but I expect it will mostly be used for a new set of Samba specific management calls. The LOCAL-IRPC torture test demonstrates how it can be used by calling the echo_AddOne() call over this transport. (This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)
2007-10-10r7293: Turn sqlite3 support off by default, use --with-sqlite3 to re-enable.Andrew Bartlett1-3/+4
Andrew Bartlett (This used to be commit 422579215462c31dd863ab1b7f187003dafd0af2)
2007-10-10r7292: Fix up the build system support for derrell's sqlite3 ldb backend.Andrew Bartlett2-5/+19
It is on by default, so I've also fixed a build issue in it. I'll show how to make it off be default in the next commit. Andrew Bartlett (This used to be commit 5a1ef888100e8ef803100a6341133d96e8a400b0)
2007-10-10r7287: work in progress. no more time to work on this right now. save ↵Derrell Lipman2-6/+55
latest changes. (This used to be commit 94cbef9211597d8cdd6b5ab7bc9b655026be283a)
2007-10-10r7286: add prototype for public connect function in ldb_sqlite3Derrell Lipman1-0/+3
(This used to be commit 10d438af06b3ab442c7a98b704d2e0bfe49b739d)
2007-10-10r7283: add sqlite3.m4Derrell Lipman1-0/+49
(This used to be commit 10a828a442b516551762bff81782072d9807d626)
2007-10-10r7282: ldb_sqlite3 work in progress.Derrell Lipman5-253/+288
(This used to be commit d934c42b00b68e8f4ac9d0583ac307818aeb494f)
2007-10-10r7281: removing documentDerrell Lipman1-0/+0
(This used to be commit 6867d56796ce4dd85c69107c6a0a5cf4bf93f585)
2007-10-10r7280: taking advantage of previous research. this is documentation on ↵Derrell Lipman1-0/+0
which latest schema is based (This used to be commit 603faa9cabd6d83c2e0fcfea476c5bda3f76b741)
2007-10-10r7276: - moved static tdb function ltdb_dn_fold() into common/ so that it can beDerrell Lipman11-642/+463
called from multiple backends. (ldb_sqlite3 needs it too.) Added parameter for a callback function that determines whether an attribute needs case folding. - begin to prepare for sqlite3 in build process - work-in-progress updates, on ldb_sqlite3 (This used to be commit a80bced0b96ffb655559a43cf7f4d7a34deb5a7d)
2007-10-10r7265: fixed d_printf() so it works again.Andrew Tridgell1-2/+2
Jelmer, can you give me a hint as to why you changed this? It completely broke smbclient, and the change now makes d_printf() almost equivalent to printf() as you removed the language translation code. See your commit 7166. Did you intend to reenable language handling by some other method? Or do you just mean to remove it completely? (This used to be commit 2e293ab06f8b84ef8cf5aafde1715fa21b2bbef0)
2007-10-10r7260: save current schema before I blow it away to try something differentDerrell Lipman1-14/+14
(This used to be commit 676a9824934576056208d30ce34716cfb734ce58)
2007-10-10r7248: Remove enum that is causing trouble on AIXJelmer Vernooij1-2/+2
(This used to be commit 512536c9165eb4a630c8bf4e43e71def26006047)
2007-10-10r7239: add a little testSimo Sorce1-0/+1
(This used to be commit 9293de1c354854ace3f8f60a2accc72f4686c6e2)
2007-10-10r7228: use socket_pending() instead of the direct ioctl in the messaging codeAndrew Tridgell1-5/+6
(This used to be commit ca3c4e961713ffd8952fca328e27196ba2ccc0c9)
2007-10-10r7227: added a socket_pending() call to abstract away the FIONREAD ioctl. ItAndrew Tridgell4-0/+40
will be interesting to see if this causes any portability problems, as it is a less commonly used call. (This used to be commit f6993db31d93059c70b44a23005ba444e205870f)
2007-10-10r7214: Undo my interpreter patch. Tridge thought of a much better way to do itTim Potter4-52/+4
that doesn't involve any changes to ejs at all. (This used to be commit 7b49711ecb87e8618be5ae934ffed5995408b748)
2007-10-10r7213: Add a small bit to the ejs parser to ignore a #!/path/to/interpreterTim Potter4-4/+52
as the first line of the script. This allows smbscript to be used as an interpreter. (This used to be commit 875c8164096e7334de25cc57ac4b8bdc39b9c46b)
2007-10-10r7211: - use ioctl(FIONREAD) to remove the artificial limit on messaging sizeAndrew Tridgell1-42/+51
- avoid a memcpy (This used to be commit 753839c358f45c02927b137092828f3a79158083)
2007-10-10r7206: changed the messaging library to use sendto instead of a connectedAndrew Tridgell1-119/+94
send on the unix domain datagram socket. This gains us about 50% in speed, and also means that we don't run the risk of running out of file descriptors due to heavy messaging traffic. We now use a single file descriptor no matter how many messages are pending to any number of servers. (This used to be commit 2369170fc1b4ff9a48284779fa6d3a6254177ec1)
2007-10-10r7205: added support for sendto() on unix domain socketsAndrew Tridgell1-0/+32
(This used to be commit 35ef6e3b153f527f79539b2d99c5ff1cd034ba4b)
2007-10-10r7166: Move replacement stuff to seperate directoryJelmer Vernooij5-13/+11
(easier to add win32-specific bits later) Trim LIBBASIC a bit more (This used to be commit fc7f519e4ae2051e9515df5f549c8e1842b7e70b)
2007-10-10r7133: work in progress, including a HIGHLY revised and simplified schemaDerrell Lipman2-215/+366
(This used to be commit aa9bb6ad4cb7219a80a6589d406e47a15ac2c3a1)
2007-10-10r7127: allow for recursive ejs functionsAndrew Tridgell1-0/+7
(This used to be commit 567bb9568c4e46a4abf9250e7319c702fc3a2fc9)
2007-10-10r7124: fixed a bug in array construction (see ECMA standard section 15.4.2.2)Andrew Tridgell1-5/+2
(This used to be commit f9f1d85e651afca7a65804b3124daa11208965e8)
2007-10-10r7116: work in progressDerrell Lipman3-126/+237
(This used to be commit c860a4f9940c04021ecc859240c5f35c3d1c4bed)
2007-10-10r7114: Convert ldb documentation to DocBook/XMLJelmer Vernooij4-135/+273
(This used to be commit 470c6185fb815983aebffd313361ec0fac723fd0)
2007-10-10r7113: Move manpages from docs repository to source repositoryJelmer Vernooij11-0/+1110
(This used to be commit f16d346032b9052c9dcd6b15cf65dd62e6943cd3)
2007-10-10r7085: fixed a bug in ejs with setting up the arguments[] arrayAndrew Tridgell1-0/+2
(This used to be commit 722950c21365982ac9a62f97360b6c4a0bdd4acc)
2007-10-10r7071: allow access to the current mpr memory context from ejs callsAndrew Tridgell2-0/+8
(This used to be commit a58531dcf30b091913563ca2b8ce5e5843896441)
2007-10-10r7066: Rename http_exception to ejs_exception.Tim Potter1-1/+1
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)
2007-10-10r7065: Move ejs from web_server to lib so it can be shared with smbscript.Tim Potter13-0/+9681
(This used to be commit b83dc8fbfb9ffe30654bc4869398f50dd9ccccb7)
2007-10-10r7058: Add experimenthal pam authentication for web pagesSimo Sorce1-1/+1
(This used to be commit 36d905407465cb9d8950da86322531e3c3102642)
2007-10-10r7052: added a case insensitive str_list_check_ci() version of str_list_check()Andrew Tridgell1-0/+13
(This used to be commit 5654330b6100a7291cee3631815cfb898100cf23)
2007-10-10r7011: when using macros, the parameters should be specified unless its aAndrew Tridgell1-11/+11
varargs function you are replacing. Otherwise if you have any structure element called "socket" and you have a macro for "socket" then the code will fail. (This used to be commit 9b33d0ca583b0cc1602662220cade96b70c98306)
2007-10-10r6984: added tree representation documentation and utility code, to be used ↵Derrell Lipman5-3/+1928
for subclasses of object classes (This used to be commit 7aca32dca6daac54ac77a66438bc5168d5e04227)
2007-10-10r6980: added data_blob_append(), which I use in the web serverAndrew Tridgell1-0/+13
(This used to be commit 822e2e5abeba8343e9e8165c14f4371c30cc13b1)
2007-10-10r6968: fixed a typo in the event macros. I'm surprised this one didn't show ↵Andrew Tridgell1-1/+1
up earlier! (This used to be commit 517028870747338fe96fd7607ec507e5577b67a9)
2007-10-10r6967: fixed the new multi-value dn=@ATTRIBUTES so it actually works :-)Andrew Tridgell1-4/+6
this demonstrates that we need a improved test suite as well (This used to be commit 959c73e93faa243154288c91a716e5a293d7a51c)
2007-10-10r6956: added start of ldb_sqlite3 workDerrell Lipman3-0/+1216
(This used to be commit ac396a4a53756f40ad5e1d45ca23e002f9c649e7)
2007-10-10r6952: Remove unneeded include of popt_common.hTim Potter1-1/+0
(This used to be commit 67d7bf877576853a05a156069ea4b97a1755e897)
2007-10-10r6951: Fix all calls to setup_logging() that use 'True' as a second argument.Tim Potter4-4/+4
In Samba4 this is now an enum. Possibly by accident, True just happens to map to the right value in this case. (-: (This used to be commit affacc539864435cbc749a4c1a6b848c61b7182b)
2007-10-10r6937: some minor fixes and updatesStefan Metzmacher1-13/+15
metze (This used to be commit 03b1ff48f97fa81c515f90a398c6f8cde579cb51)
2007-10-10r6935: don't do three things at a time :-)Simo Sorce1-2/+2
(This used to be commit a97eb63c11be6ce2bb94bca61078b303f15c9b9a)
2007-10-10r6934: thanks to HotaruT for pointing out skel.c was not in line with the ↵Simo Sorce1-6/+20
rest of the code (This used to be commit 9f0963c97f94687a1226d224f80b2aac1128d1a0)
2007-10-10r6931: declare this to avoid warnings until we have loadable modulesSimo Sorce1-0/+1
(This used to be commit 73258909dbd4e14f3c8eb5cebe0647539d141c8d)
2007-10-10r6867: this code will change the way the @ATTRIBUTES object is handledSimo Sorce8-33/+93
this object properties are now used as multivalue attributes now all values inserted are checked against a "valid values table" eg: this form is now accepted: dn: @ATTRIBUTES uid: CASE_INSENSITIVE uid: WILDCARD this form is now rejected: dn: @ATTRIBUTES uid: CASE_INSENSITIVE WILDCARD please update your .ldb files if you make use of @ATTRIBUTES (sam.ldb heavily uses it) the code passes all make test tests for both tdb and ldap, it also passes the new test to check for wrong @ATTRIBUTES attribute values Simo. (This used to be commit 1295b891a26c2cb2c34540f90ded83390cf87da2)