summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7476: ensure dgram sockets are created non-blocking. As they usually skipAndrew Tridgell1-0/+6
the connect() stage, we were missing this (This used to be commit f5102b886c10fead0f6bcdc4460584ae53912ebc)
2007-10-10r7460: fixed several problems with the socket wrapper code and unbound socketsAndrew Tridgell1-31/+79
This should fix the LOCAL-SOCKET test in the build farm (This used to be commit 417e967afb457ee505c2302cdc83d7060033b0aa)
2007-10-10r7456: Add a simple type that represents a pointer. The ejs people may ask usTim Potter4-0/+34
to change this later but that will be pretty easy. We can use this type to pass around pointers to handles in C. Talloc allows us to do type checking too. (This used to be commit b95c0bc9b0a18aeaa89f704e37669f01df2c2ad0)
2007-10-10r7449: add ctype.h header to dn expand functionDerrell Lipman2-23/+25
(This used to be commit 0e3b872560d82e1a0f7b58fe7d210563d6d29daf)
2007-10-10r7446: add distclean target to generated ldb makefileDerrell Lipman1-0/+6
(This used to be commit 9a78161b0fdb3406c70b9f5a8009ed8fc5268445)
2007-10-10r7443: reorg functions for readabilityDerrell Lipman1-667/+724
(This used to be commit 7543acfa9fe87b43cfee482cf02e56d73d29596b)
2007-10-10r7441: Get rid of // comments. Tridge, if this breaks anything, please ↵Volker Lendecke5-228/+218
revert it. More tomorrow Volker (This used to be commit 02efa4427d80aa1e9a8f0275c568d977faa0f9b8)
2007-10-10r7438: work in progressDerrell Lipman4-230/+177
(This used to be commit 2fc5343f0637ef3109b079dbc33d6cf4e58c8d5e)
2007-10-10r7437: Make Simo happy.Derrell Lipman1-1/+1
I still think this URI syntax for a 'protocol' which has no network component is stupid; it should just be sqlite:local_file or sqlite:/full/path/to/file but there is enough precedent to warrant the behavior that Simo wants that it is not worth arguing. (This used to be commit 61dcb462f30a65256e263e87c192ed7f5280c7af)
2007-10-10r7436: As far as I see it, these are the last two "real" ones for Samba4 on ↵Volker Lendecke1-2/+2
AIX to build. The remaining patch (not now) is to convert the javascript stuff not to use // style comments. Volker (This used to be commit 29f7e430ac4ae43f6844f021be73bf391610ef73)
2007-10-10r7418: work in progressDerrell Lipman5-102/+187
(This used to be commit 2a13e7655b1bce88694ddbb6a4d9349008ba42f0)
2007-10-10r7410: minor cleanupDerrell Lipman2-12/+18
(This used to be commit 4c8bffc3f01d60ef7d8b75e92f4d062326288f4c)
2007-10-10r7408: added DN explode function, based on simo's ldap_parse_dn() function. ↵Derrell Lipman4-15/+542
simo, when you get a chance, please change your license so this can be linked with ldb. (This used to be commit 588a1d1451d4117cb6e427a293455f2a5657b604)
2007-10-10r7373: Disable reg_gconf by default, allow building it with --enable-reg-gconfJelmer Vernooij1-3/+7
(This used to be commit 6596f619c0500a419a680a7488a0838c234f2069)
2007-10-10r7352: the internal heimdal build change. This changes quite a few things:Andrew Tridgell3-9/+123
- if you want kerberos now, you need to unpack a lorikeet heimdal tree in source/heimdal/. If source/heimdal/ does not exist at configure time then all kerberos features are disabled. You cannot use an external kerberos library for now. That may change later. - moved lib/replace/ config stuff to lib/replace/ and create a lib/replace/replace.h. That allows the heimdal build to use our portability layer, and prevenets duplicate definitions of functions like strlcat() - if you do enable heimdal, then you will need to do 'make HEIMDAL_EXTERNAL' before you build Samba. That should be fixed once I explain the problem to jelmer (the problem is the inability to set a depend without also dragging in the object list of the dependency. We need this for building the heimdal asn1 compiler and et compiler. - disabled all of the m4 checks for external kerberos libraries. I left them in place in auth/kerberos/, but disabled it in configure.in some of the heimdal_build/ code is still very rough, for example I don't correctly detect the correct awk, flex, bison replacements for heimdal_build/build_external.sh. I expect to fix that stuff up over the next few days. (This used to be commit d4648249b2c7fc8b5e7c0fc8d8f92ae043b5691f)
2007-10-10r7349: work in progressDerrell Lipman1-106/+299
(This used to be commit 0e4d9729d99a1a148a951878188fe1955713aea4)
2007-10-10r7343: handle url like ldb_tdb doesSimo Sorce1-5/+10
(This used to be commit d36fde5c0cfe20d03dd99e2ffffdd13acf9f76f3)
2007-10-10r7338: let it be possible to run sqlite3 tests when it is compiled inSimo Sorce3-3/+26
make it also so that we do not run test for modules we do not compile in (This used to be commit c226c1c7a393b398510dec0931aba2ddd09af4c3)
2007-10-10r7336: make --with-sqlite3=auto possibleStefan Metzmacher1-6/+4
metze (This used to be commit cd59ff50ed00526c2af5ebddfb1fca942ba8faa6)
2007-10-10r7334: I do not feel oblidged to use sqlite3 when I configure ldap support :-)Simo Sorce1-1/+1
(fix typo) (This used to be commit d6dae85881a5b49c8a5484a0d155aea4f0beb16e)
2007-10-10r7332: added note to self for required modificationDerrell Lipman1-0/+1
(This used to be commit 8fa340c1d4423673e5a935f815491534413d9536)
2007-10-10r7320: added support for a private pointer in irpc registered handlersAndrew Tridgell2-5/+9
(This used to be commit eec521dffd4ca9efa7f6e31c50cf1ff365aae209)
2007-10-10r7316: work in progressDerrell Lipman1-147/+237
(This used to be commit 84a2b4049fde7db0d563e639e99364f40a47ace9)
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)