summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5781: Fix build.Tim Potter1-1/+1
(This used to be commit 35354456b2ab2fa173359fa16d8accb13a8fac7d)
2007-10-10r5780: Remove unused arguments.Tim Potter2-7/+7
(This used to be commit 1ee84e373e2b44c96f9353f194b766d6a144e7ce)
2007-10-10r5779: Remove signal and timeout gubbage from tdb.Tim Potter3-127/+4
(This used to be commit dbb56e9a59cf00d57b09ded6d60bf9424d5f1f4c)
2007-10-10r5775: Remove some unused functions (unions are no longer as special as they ↵Jelmer Vernooij1-1/+8
used to be) Add oxid mapping table support in DCOM (This used to be commit e193555f0eec2dda8c8760e9668181200fef0a1e)
2007-10-10r5769: Fix unused variable warning.Tim Potter1-1/+1
(This used to be commit 80dfac3640443a41f7e45e9164ca1a6749494011)
2007-10-10r5682: fix the buildStefan Metzmacher1-3/+5
metze (This used to be commit 67a2b091261d4dee2ed518ae80fdd8c1d9bf0e86)
2007-10-10r5680: Don't crash if none of the predefined keys is available (reported by ↵Jelmer Vernooij1-2/+28
Alexander) (This used to be commit 0d789872a890062b0b95aa039bb853bb6c07b2d0)
2007-10-10r5676: Fix some alignment issues and IRemoteActivationJelmer Vernooij1-0/+10
(This used to be commit a9b13f67012d235d98920e639f59411d57a79bd7)
2007-10-10r5675: - More DCOM bug fixesJelmer Vernooij4-21/+52
- Keep COM and DCOM more seperated (This used to be commit f694f484c422d0c86beb58e8f62f134f8676d5e1)
2007-10-10r5674: - Re-enable DCOM support.Jelmer Vernooij6-255/+148
- Always put IID in vtables (useful for asserts) - Add table to keep track of DCOM proxy classes - Bunch of smaller bug fixes (This used to be commit 26d5a0b92c66bc86d0c26f687f83fa712342ac32)
2007-10-10r5670: simplify and clarify ldb_modules.c codeSimo Sorce3-143/+155
rectify the test schema correct a glitch in schema module (This used to be commit 0579b5f7adfe160be8ecf124934b6593a02ed06f)
2007-10-10r5666: winxp will use a NTTIME of -1 to mean "don't change" in setfileinfoAndrew Tridgell1-0/+9
basic_info. Add null_nttime() as the equivalent of the existing null_time() call for cheecking for valid NTTIME values (This used to be commit 439ce2efbf7d2ba9b17d6b4bfaf651e781140715)
2007-10-10r5665: the data within el2->values can still be used at this point, so don't ↵Andrew Tridgell1-1/+0
free (This used to be commit 12d03f96637b9298e0cbc7ee544ca97fffcab9f8)
2007-10-10r5664: simo, please look into this. It is possible for the number of elementsAndrew Tridgell1-1/+3
in msg[0] to be 0, in which case we crash. This is a workaround. Also, if you could please split up this function into readable pieces. It's a bit of a mess at the moment. (This used to be commit 19a22f78c28a4b265f59df1b43c1bb6c9e58f736)
2007-10-10r5585: LDB interfaces change:Simo Sorce19-198/+215
changes: - ldb_wrap disappears from code and become a private structure of db_wrap.c thanks to our move to talloc in ldb code, we do not need to expose it anymore - removal of ldb_close() function form the code thanks to our move to talloc in ldb code, we do not need it anymore use talloc_free() to close and free an ldb database - some minor updates to ldb modules code to cope with the change and fix some bugs I found out during the process (This used to be commit d58be9e74b786a11a57e89df36081d55730dfe0a)
2007-10-10r5533: Patch to detect infinite loops when traversing a tdb from "Shlomi ↵Jeremy Allison1-0/+7
Yaakobovich" <Shlomi@exanet.com> Jeremy. (This used to be commit 84f6d2b3dd29c1aa478708db9617a79382158f64)
2007-10-10r5492: Update example coclass, autogenerate some parts.Jelmer Vernooij1-25/+27
(This used to be commit 3c31cbaac0cd916e6af49bfd2260bc3b1a75b677)
2007-10-10r5490: The big (D)COM commit! :-) Contains most of the changes described in theJelmer Vernooij11-324/+378
DCOM paper in lorikeet. This is the result of 1.5 months work (mainly figuring out how things *really* work) at the end of 2004. In general: - Clearer distinction between COM and DCOM. DCOM is now merely the glue between DCE/RPC+ORPC and COM. COM can also work without DCOM now. This makes the code a lot clearer. - Clearer distinction between NDR and DCOM. Before, NDR had a couple of "if"s to cope with DCOM, which are now gone. - Use "real" arguments rather then structures for function arguments in COM, mainly because most of these calls are local so packing/unpacking data for every call is too much overhead (both speed- and code-wise) - Support several mechanisms to load class objects: - from memory (e.g. part of the current executable, registered at start-up) - from shared object files - remotely - Most things are now also named COM rather then DCOM because that's what it really is. After an object is created, it no longer matters whether it was created locally or remotely. There is a very simple example class that contains both a class factory and a class that implements the IStream interface. It can be tested (locally only, remotely is broken at the moment) by running the COM-SIMPLE smbtorture test. Still to-do: - Autogenerate parts of the class implementation code (using the coclass definitions in IDL) - Test server-side - Implement some of the common classes, add definitions for common interfaces. (This used to be commit 71fd3e5c3aac5f0002001ab29d2248e6c6842d6f)
2007-10-10r5437: Allow Samba4 to be compiled by tcc (www.tinycc.org). It still crashes ↵Jelmer Vernooij1-3/+3
when linking though. (This used to be commit 2e1e8db6dc877eb32b51cfc3d9c8f463d14530ec)
2007-10-10r5411: make network interface selection a bit sanerAndrew Tridgell1-1/+16
- if we have no configured network interfaces, then don't start nbtd (when I add dynamic interface loading this will change to a delay until a network interface comes up) - choose the best interface by netmask for torture tests that need a specific IP (such as the WINS test). Added iface_best_ip() for that. - if specific interfaces are chosen in smb.conf, then keep that ordering, and default to the first one listed (This used to be commit 4d08c114079ef6d1d10a96195046fe43631aefa2)
2007-10-10r5407: - this patch makes samba's event loop code more generic and makesStefan Metzmacher6-191/+701
using other implementations possible. This will be mostly usefull for client apps which have there own event loop and want to use our client libs - add a example plugin for liboop (see http://liboop.org) NOTE: this just compiles and is completly untested and is commited only as example metze (This used to be commit b3d0a410efe856e3bcf127f00c31905f5a23cc04)
2007-10-10r5401: using talloc_array() is neater hereAndrew Tridgell1-1/+1
(This used to be commit b35ee83536e01c000aace2f4764f6727efd63170)
2007-10-10r5393: trigger timed events not to early, better do it a bit to lateStefan Metzmacher1-1/+2
metze (This used to be commit 67bf637e9a44202061fd71c92142f835ba76da89)
2007-10-10r5392: added "secure" WINS server processing. Send a WACK on nameAndrew Tridgell1-0/+51
registrations from anyone who isn't a current owner, then query the owner addresses to see if they still want it. (This used to be commit 8dc2a028d3ca0115d3173df435d926d7b6a4d5d5)
2007-10-10r5374: - changed the dn key code in the ldb tdb backend to correctly honorAndrew Tridgell4-6/+96
the case sensitive/insensitive flags on sections of a dn. So if a dn is made up of 4 attributes, and 2 of those are case insensitive and 2 are case sensitive, then all the attribute names are uppercases, but only the values of the case insensitive attributes are uppercased when forming the tdb key. - added code to canonicalise the dn, removing leading and trailing spaces from attribute names and values - when the @ATTRIBUTES record changes, fix the dn keys of any records that should now have new dn keys due to changes in the case sensitivity of the record I really did this to allow me to make the WINS database properly case insensitive, but it is also the correct general fix for ldb, as it matches the LDAP specification (and w2k LDAP server behaviour) (This used to be commit 0f034dc5636d182a1d9207ad662b3fc8df7ca3e4)
2007-10-10r5373: prepare infrastructure for maing different eventsStefan Metzmacher2-1/+1
implementations possible metze (This used to be commit dd77ec754b811feb147458d76fa16833767dccea)
2007-10-10r5370: epoll gives more precise event bits like EPOLLHUP instead of just ↵Andrew Tridgell1-1/+2
EPOLLIN. We need to map these to "read" events for the events code to work on errors like connection refused (thanks to vl for noticing this bug) (This used to be commit 7c379590b4ca808eddef5c3ac15db25cefc5215b)
2007-10-10r5358: - added initial WINS server code. It passes most of the NBT-WINS ↵Andrew Tridgell1-3/+25
test, but doesn't yet do secure server WACK responses - added a ldap_string_to_time() function, for converting a LDAP formatted time to a time_t (This used to be commit 9aa3313b3f93e47e3f93028e072f6a23b3c22385)
2007-10-10r5357: added ldb_msg_add_fmt(), for creating formatted ldb record valuesAndrew Tridgell2-0/+24
(This used to be commit 18fb48204f4c0e22ea7e61575b3f174f30ff035c)
2007-10-10r5330: Remove #include <sys/time.h> from includes.h.Andrew Bartlett2-0/+2
Add #include "system/time.h" back (it was removed in some of these places because the definitions were provided by <sys/time.h> on tridge's platform.) Andrew Bartlett (This used to be commit 34b1da730304bed7fee5bae7cbde7fbccecb6af5)
2007-10-10r5308: trimmed back a lot of the old macros from smb_macros.hAndrew Tridgell3-7/+6
(This used to be commit bf43c9bdcf9e654d123f6a2b29feb9189ca9e561)
2007-10-10r5307: removed db_wrap.h from includes.hAndrew Tridgell3-0/+3
(This used to be commit 826baec7b348814a7bbdcdbec8c8526514f25da1)
2007-10-10r5306: removed all the unused mutex functions from mutex.c. When (if?) weAndrew Tridgell1-91/+1
decide to reinstate the mutex code for the threads process model, I'd like to do it a little differently. At least this gets it out of includes.h for now. (This used to be commit cfee0fb02e10add22b6c436bdfa95d1a8f5f3def)
2007-10-10r5304: removed lib/socket/socket.h from includes.hAndrew Tridgell8-0/+50
(This used to be commit b902ea546d2d1327b23f40ddaeeaa8e7e3662454)
2007-10-10r5303: fixed build of gconf registry backendAndrew Tridgell1-1/+1
(This used to be commit b4993c738ba7ce38de4eaf6270db60f8cd551cdd)
2007-10-10r5302: fixed a compilation problem on solaris caused by the recent includeAndrew Tridgell1-17/+14
changes (This used to be commit e7e015f79b10c353848a17f31c91a0593790a560)
2007-10-10r5300: more uint32 and system/filesys.h build fixes when developer mode is ↵Andrew Tridgell1-0/+1
enabled (This used to be commit 93931b1a741a3722c311ada80c4c9d3d670f91b2)
2007-10-10r5299: fixed an include ordering problemAndrew Tridgell1-1/+1
(This used to be commit 483b7af1fd6e3caa1db2f6b31ac6165d29ea7512)
2007-10-10r5298: - got rid of pstring.h from includes.h. This at least makes it a bitAndrew Tridgell40-13/+73
less likely that anyone will use pstring for new code - got rid of winbind_client.h from includes.h. This one triggered a huge change, as winbind_client.h was including system/filesys.h and defining the old uint32 and uint16 types, as well as its own pstring and fstring. (This used to be commit 9db6c79e902ec538108d6b7d3324039aabe1704f)
2007-10-10r5297: ensure pstring is not in the generated prototypesAndrew Tridgell2-6/+1
(This used to be commit b4103d9f2b809408572521f385d4e7a5ba412169)
2007-10-10r5296: - only include the tdb headers where they are neededAndrew Tridgell12-5/+15
- removed the u32 hack in events.c as I think this was only needed as tdb.h defines u32. Metze, can you check that this hack is indeed no longer needed on your suse system? (This used to be commit 6f79432fe656164d4770dbce114a30dda5e7bf9a)
2007-10-10r5294: - added a separate NBT-WINS test for WINS operations (register, ↵Andrew Tridgell1-44/+15
refresh, release and query) - change the iface_n_*() functions to return a "const char *" instead of a "struct ipv4_addr" I think that in general we should move towards "const char *" for all IP addresses, as this makes IPv6 much easier, and is also easier to debug. Andrew, when you get a chance, could you fix some of the auth code to use strings for IPs ? - return a NTSTATUS error on bad name queries and node status instead of using rcode. This makes the calling code simpler. - added low level name release code in libcli/nbt/ - use a real IP in the register and wins nbt torture tests, as w2k3 WINS server silently rejects some operations that don't come from the IP being used (eg. it says "yes" to a release, but does not in fact release the name) (This used to be commit bb1ab11d8e0ea0bd9ae34aebeb565d36fe4b495f)
2007-10-10r5292: ensure we cleanup the epoll_fd on event context destructionAndrew Tridgell1-0/+17
(This used to be commit e820fca5062026810c5bd4827941f34c19a5e847)
2007-10-10r5284: this is needed on my serverStefan Metzmacher1-0/+2
+/* this #undef is needed on my SuSE 9.2 Box with glibc-devel-2.3.3-118 */ +#undef u32 as sys/epoll.h has this: typedef union epoll_data { void *ptr; int fd; uint32_t u32; uint64_t u64; } epoll_data_t; metze (This used to be commit b4928f3ea8f6530317dfa76593cf93e6acd4337a)
2007-10-10r5274: fixed some const warnings by making the str_list_ functions return ↵Andrew Tridgell1-7/+7
"const char **" (This used to be commit 4165f2163530c7d2ffbea2922fbfe942eee85e7a)
2007-10-10r5273: fixed another bug in the code that keeps timed eventsAndrew Tridgell1-2/+2
sorted. Hopefully it really works now :-) (This used to be commit 34e1a3ad7849df913584074ec406c2fcc40212fc)
2007-10-10r5240: Don't return WERR_OK when no values were found (reported by Matt Cobb)Jelmer Vernooij1-4/+4
(This used to be commit f2e6d71584672e9bf0eaa7176d76781a30d317d1)
2007-10-10r5221: replace the str_list_*() code with new code based on talloc(). This isAndrew Tridgell1-111/+79
a precursor to adding the wins client code in the nbt server. (This used to be commit e8e499755ab667015740b35a7787134ebe852954)
2007-10-10r5217: avoid epoll_ctl() if the event flags are already set correctlyAndrew Tridgell1-1/+4
(This used to be commit d89b493aaf690ceb107bd62df75f1bba82284f90)
2007-10-10r5199: fix some minor configure bugsStefan Metzmacher1-1/+1
metze (This used to be commit 274ef2a206aa00b3155adc27f5b7e35d3fa52bf6)