summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7530: Simply calling convention of lp_load().Andrew Bartlett1-1/+1
This always loads all the services, as we now don't have an easy way to split out smbd. Andrew Bartlett (This used to be commit 990e061939c76b559c4f5914c5fc6ca1b13e19dd)
2007-10-10r7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_treeAndrew Tridgell17-154/+216
instead of a search expression. This allows our ldap server to pass its ASN.1 parsed search expressions straight to ldb, instead of going via strings. - updated all the ldb modules code to handle the new interface - got rid of the separate ldb_parse.h now that the ldb_parse structures are exposed externally - moved to C99 structure initialisation in ldb - switched ldap server to using ldb_search_bytree() (This used to be commit 96620ab2ee5d440bbbc51c1bc0cad9977770f897)
2007-10-10r7526: make test should depend on the binsAndrew Tridgell1-1/+1
(This used to be commit 646953df4c272581211ba30dc77e1052ea1f465e)
2007-10-10r7525: Unify lp_load(), load_interfaces and logging setup into popt().Andrew Bartlett6-42/+43
There is now a new --debug-stderr option to enable debug to STDERR. popt isn't perfect, but the callbacks are used in all the main Samba binaries, and should be used in the rest. This avoids duplicated code, and ensures every binary is setup correctly. This also ensures the setup happens early enough to have -s function, and have a correct impact on the credentials code. (Fixing a bug that frustrated tridge earlier today). The only 'subtle' aspect of all this is that I'm pretty sure that the SAMBA_COMMON popt code must be above the CREDENTIALS code, in the popt tables. Andrew Bartlett (This used to be commit 50f3c2b3a22971f40e0d3a88127b5120bfc47591)
2007-10-10r7522: added a ldb_filter_from_tree() function that takes a ldb_parse_treeAndrew Tridgell2-3/+57
and forms a ldab search filter expression. Next step is to make our ldap server code go from ASN.1 to a ldb_parse_tree, instead of trying to construct string filters, then add a ldb_search_tree() call to allow for searches using parse trees. all of this is being done as I am hitting bitwise '&' ldap search expressions from w2k, and want to handle them cleanly. (This used to be commit 04356c1b1ed86d72934bc1b0ed60b767e10a1196)
2007-10-10r7518: don't use an uninitialised ldb debug function when failing to load ↵Andrew Tridgell1-0/+2
modules in the ldap backend (This used to be commit 52e4a5b3b0c4c96bf9686ce047ccfc1846dc2c89)
2007-10-10r7517: handle zero length equality testsAndrew Tridgell1-1/+1
(This used to be commit 18c96f2b3e4d4c769354d61a4cda5c295f50536f)
2007-10-10r7516: make sure binary decoding gives us something we can run string ↵Andrew Tridgell1-1/+2
functions on (This used to be commit 9913ab2550fae465c7a66fe7fa3a36a65b25b358)
2007-10-10r7515: merge in the binary encode/decode enhancements from the libcli/ldap/Andrew Tridgell2-2/+69
code into the ldb parse code (This used to be commit 12647e37223847da810c2d4e5f83328b1fcf88cb)
2007-10-10r7514: make the ldb_parse code not depend on a ldb_context, so we can now ↵Andrew Tridgell3-16/+5
potentially use it in our ldap client code, instead of replicating all the code (This used to be commit 5b3575d9303d54a771e080a670dcd2f444b10c20)
2007-10-10r7498: ldb_sqlite3 work in progressDerrell Lipman2-44/+153
(This used to be commit 797263330b9eada019e432ff201bf5c872e35b5d)
2007-10-10r7486: fix for the build farm to display the panic messages and backtrace ↵Stefan Metzmacher1-2/+2
inside the per test frame metze (This used to be commit 5cf27b4af33fd7e30a59e53e4b08d67ac83ddccd)
2007-10-10r7481: Add a mprVarIsPtr macro.Tim Potter1-0/+2
(This used to be commit 633b24345fecad1111f40999efa2897bba521f19)
2007-10-10r7480: ldb_sqlite3 work in progressDerrell Lipman2-15/+109
(This used to be commit 510e7994da808ab12f51fa7a36c3f5f9244c51ac)
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)