summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5109: - fixed handling of zero-length subcontexts in the ndr libraryAndrew Tridgell2-4/+8
- added error checking on socket startup in nbtd (This used to be commit 5707ebc9ecdce5c195a2788ab1e4214788a086ea)
2007-10-10r5108: the beginnings of a nbtd server for Samba4. Currently just displaysAndrew Tridgell14-4/+285
the packets it receives, but it at least shows how the server structure will work. To implement it I extended the libcli/nbt/ library to allow for an incoming packet handler to be registered. That allows the nbt client library to be used for low level processing of the nbtd server packets. Other changes: - made the socket library always set SO_REUSEADDR when binding to an interface, to ensure that restarts of a server don't have to wait for a couple of minutes. - made the nbt port configurable. Defaults to 137, but other ports will be useful for testing. (This used to be commit 2fedca6adfd4df9e85cc86896dfa79630777a917)
2007-10-10r5107: moved the horrible ldap socket code, and the even worseAndrew Tridgell4-242/+299
asn1-tied-to-blocking-sockets code into the ldap client and torture suite, and out of the generic libs, so nobody else is tempted to use it for any new code. (This used to be commit 39d1ced21baeca40d1fca62ba65243ca8f15757e)
2007-10-10r5106: removed a bunch of unused socket functions. We still needAndrew Tridgell1-373/+1
open_socket_out() as its used by the ldap client code (uggh) (This used to be commit 95d9766be8b08b7ca52c24d4ed3313e147edb159)
2007-10-10r5105: removed some unused events functions. These are no longer needed asAndrew Tridgell1-30/+0
destructors are used to remove pending socket events (This used to be commit ce62105434ab02e94e38897409c3512905c48f02)
2007-10-10r5104: - added support for task based servers. These are servers that withinAndrew Tridgell12-186/+377
themselves are run as a single process, but run as a child of the main process when smbd is run in the standard model, and run as part of the main process when in the single mode. - rewrote the winbind template code to use the new task services. Also fixed the packet queueing - got rid of event_context_merge() as it is no longer needed (This used to be commit 339964a596689278d2138cff05d7d444798a3504)
2007-10-10r5103: forgot to add two new filesAndrew Tridgell2-0/+272
these are the stream server helper functions (This used to be commit 3c5a7650a9730d74503b759bccafbb0fa3bbce78)
2007-10-10r5102: This is a major simplification of the logic for controlling top levelAndrew Tridgell36-1558/+633
servers in smbd. The old code still contained a fairly bit of legacy from the time when smbd was only handling SMB connection. The new code gets rid of all of the smb_server specific code in smbd/, and creates a much simpler infrastructures for new server code. Major changes include: - simplified the process model code a lot. - got rid of the top level server and service structures completely. The top level context is now the event_context. This got rid of service.h and server.h completely (they were the most confusing parts of the old code) - added service_stream.[ch] for the helper functions that are specific to stream type services (services that handle streams, and use a logically separate process per connection) - got rid of the builtin idle_handler code in the service logic, as none of the servers were using it, and it can easily be handled by a server in future by adding its own timed_event to the event context. - fixed some major memory leaks in the rpc server code. - added registration of servers, rather than hard coding our list of possible servers. This allows for servers as modules in the future. - temporarily disabled the winbind code until I add the helper functions for that type of server - added error checking on service startup. If a configured server fails to startup then smbd doesn't startup. - cleaned up the command line handling in smbd, removing unused options (This used to be commit cf6a46c3cbde7b1eb1b86bd3882b953a2de3a42e)
2007-10-10r5095: uint32 -> uint32_tTim Potter1-3/+2
%include misc.i to get definition of struct policy_handle Remove #includes we aren't using just now. (This used to be commit e561bc3efa2a5307a3940a32058ca00d5dfc2fc5)
2007-10-10r5094: Use builtin swig types for converting between fixed width integer types.Tim Potter1-11/+8
(This used to be commit f2a1b237bcc824bd3e84da69f472ffb3c9055d00)
2007-10-10r5093: Make debugs less confusing when a 0 NTTIME is printed.Andrew Bartlett1-1/+5
Andrew Bartlett (This used to be commit 9493c47b1833a4a7781303f8139f1636f86bf126)
2007-10-10r5092: Add a bit more const - moving it further into the LDB layer.Andrew Bartlett3-5/+5
Andrew Bartlett (This used to be commit ffad9b22be595279b247fa72d51145830fecbb06)
2007-10-10r5091: The Kerberos secrets are queried by realmAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 8f38b5ae229984c9f9b0d7721d04da6a45c16f13)
2007-10-10r5090: Fix up the IDL for LogonGetDomainInfo in NETLOGON.Andrew Bartlett3-17/+10
Andrew Bartlett (This used to be commit e5afc3609382a7b534c9d845e809d135a0d4eb3a)
2007-10-10r5089: Fix indentation.Andrew Bartlett1-1/+1
(This used to be commit 2e31694f9e133ffee793de52b78a813b441acbc2)
2007-10-10r5088: Push some of the heimdal tests into a 'if we didn't have krb5-config' ↵Andrew Bartlett1-2/+9
block. This lets krb5-config handle this without us stuffing things up. Add back the test tridge removed Andrew Bartlett (This used to be commit 2206b0e8ca4b9d0be137bd6676e252c3b66faf81)
2007-10-10r5087: Add --swig to pidl flags so that swig .i files are generated withTim Potter1-1/+1
make idl. (This used to be commit 7ba9f329aa8baa8e8c0efe742ad51eb5b3487cbc)
2007-10-10r5086: Fix list of binaries to install:Andrew Bartlett1-4/+5
- nmblookup and net are generic, not torture programs. - Add ntlm_auth Andrew Bartlett (This used to be commit a2a49d1be00bdf33f941890399d6cbdf46968d9b)
2007-10-10r5085: add net and nmblookup to installed binariesAndrew Tridgell1-1/+3
metze, can you look at automating this when you get time? We really need a flag in config.mk for "BINARY::" sections for the install location, something like: [BINARY::nmblookup] OBJ_FILES = \ utils/nmblookup.o INSTALL_IN = bin (This used to be commit a69c1a91307dc5bd13db94fdbb7cbaba90b074aa)
2007-10-10r5084: - handle arbitrary data in the NULL record reply type for nbt name ↵Andrew Tridgell3-4/+6
queries - fixed unaligned pulls at the end of the packet in the ndr lib (This used to be commit 61c43509f7a538541d87bd505ca241e08a50f605)
2007-10-10r5083: removed the libcrypto test that is forcing the pull in of the MIT ↵Andrew Tridgell1-1/+0
krb5 libs when you have openssl-dev installed (This used to be commit 27d79059f809b00c122cfde1a7530a06ee57a471)
2007-10-10r5080: patch from ronnie to make our samr IDL a little more consistentAndrew Tridgell2-34/+34
(This used to be commit 7607ddda3f221bd5a68d28c0eae297569fbb58b1)
2007-10-10r5079: don't look for gss_display_status() in libgssapi_krb5 unless weAndrew Tridgell1-1/+3
haven't already got it from libgssapi. This should fix the problem of building with heimdal when we have MIT installed (This used to be commit bfa870262e5f5f803a33268fce04831b0670ab67)
2007-10-10r5074: Remove dead code.Tim Potter1-266/+0
(This used to be commit 36b46bb05aeffb2ba708e4653c131cecece01984)
2007-10-10r5073: Call new autogenerator function for swig stuff instead of old one.Tim Potter1-6/+6
(This used to be commit a1c98101e4ebdcc4a9504d401a9d34c88c797e6e)
2007-10-10r5072: oDecrease the amount of autogenerated code (sorry tridge) and use swig'sTim Potter1-63/+62
structure mapping features instead of doing it all ourselves. This basically works, but has broken all the existing checked in Python code. Sample: pipe = dcerpc.pipe_connect(binding, dcerpc.DCERPC_SAMR_UUID, int(dcerpc.DCERPC_SAMR_VERSION), domain, username, password) r = dcerpc.samr_Connect2() r.data_in.system_name = 'foo' r.data_in.access_mask = 0x02000000 result = dcerpc.dcerpc_samr_Connect2(pipe, r) (This used to be commit c2996ad910a24c977b4c0a1925118d36454514f7)
2007-10-10r5071: Reverted (per tridge request).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 554e27023f8222cb0e2791fac924bb5a0dc97ba2)
2007-10-10r5068: I'm pretty sure an old search request is allowed to return changed caseJeremy Allison1-1/+1
versions of filenames. Tridge please check I haven't screwed this up. Jeremy. (This used to be commit 40c1e16b5bcdf520db1b514d647a7c7048e13ecc)
2007-10-10r5054: added a nmblookup tool, based on the new nbt libraryAndrew Tridgell3-240/+248
(This used to be commit 9587cbcb9ea5303b345c31a662e9cd75d7cd705d)
2007-10-10r5053: - fix up the library dependencies so that tools that need nbt don'tAndrew Tridgell4-6/+6
need to pull in the whole dcerpc subsystem - moved smbencrypt.c code into libcli/auth/ (This used to be commit 3351c636af23ad88649e84f4cb88fc1167d5c654)
2007-10-10r5052: minor formatting fixAndrew Tridgell1-4/+3
(This used to be commit 4337901c1b38aaaf6cc09641ad51ff28e591b1f4)
2007-10-10r5051: initialise all elements of an array (thanks to Mike Allan for pointingAndrew Tridgell1-1/+1
this out) (This used to be commit 7bd4ced313592310475b7403b87c7606afb1b7c1)
2007-10-10r5050: make sure we translate the generic to the specific bits before doing aAndrew Tridgell1-5/+4
pvfs_access_check_unix(). Fixes a problem with the cifsfs filesystem (This used to be commit 8ebc61a2297176515d767ef0f67ec912293ab905)
2007-10-10r5048: made the provision.pl script much less error prone (you don't need toAndrew Tridgell1-84/+40
rename a bunch of files) (This used to be commit 9aa5b076962c08cd54050526ecb41b2f613172e8)
2007-10-10r5047: Fix swig dependencies.Tim Potter1-4/+4
(This used to be commit f9e56d39c943a3edd6a13b6d29fe4e614c32d289)
2007-10-10r5045: add TODO commentStefan Metzmacher1-0/+4
metze (This used to be commit cbb6b80f41a7f9689d1ec5ea2d6caba147260089)
2007-10-10r5044: fix pidl--swigStefan Metzmacher1-1/+1
metze (This used to be commit 030bfd8d7feb16fd6d5117d17913b77b1468a507)
2007-10-10r5043: this broke more systems than it helped. Remove it and try to workAndrew Tridgell1-9/+0
around broken solaris headers some other way. (This used to be commit 1333522a6beea8d474aa36390acbd265b63413d3)
2007-10-10r5042: another attempt to get solaris10 buildingAndrew Tridgell1-1/+1
(This used to be commit 11277ddb4ca8a2917565f4e211816cbba431b90d)
2007-10-10r5041: add more verbose output for the krb5 libs detectionStefan Metzmacher1-0/+4
metze (This used to be commit 917a3b214abd2d92ba8df3e72c4e8711fe523e09)
2007-10-10r5040: attempt to get solaris10 building by defining _XOPEN_SOURCEAndrew Tridgell1-0/+9
(This used to be commit d9c1bf10608ecc3d6a4aace44fb0dce3547c5f53)
2007-10-10r5039: fixed eparser not to generate talloc_p()Andrew Tridgell1-2/+2
(This used to be commit dd67a5d833d7e44ff0ec1ba9f5c55c2b1e121b9a)
2007-10-10r5038: we don't need these defines any moreAndrew Tridgell1-4/+0
(This used to be commit 03697fc761d5f6a93de34c9eadc8fe2c45fa78ae)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell200-752/+751
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r5036: changed HYPER_T to the more standard "hyper"Andrew Tridgell10-80/+77
(This used to be commit 1d1a9c11ee681540ef8a1029409bb24fc26f976c)
2007-10-10r5035: fixed composite test to use --num-ops command line optionAndrew Tridgell1-20/+14
(This used to be commit f36e4cf6862c9cbcd36563007efa8dc59912d896)
2007-10-10r5034: - added a type mapping function in pidl, so the type names in our IDLAndrew Tridgell18-153/+111
files don't need to match the type names in the generated headers - with this type mapping we no longer need definitions for the deprecated "int32", "uint8" etc form of types. We can now force everyone to use the standard types int32_t, uint8_t etc. - fixed all the code that used the deprecated types - converted the IDL types "int64" and "uint64" to "dlong" and "udlong". These are the 4 byte aligned 64 bit integers that Microsoft internally define as two 32 bit integers in a structure. After discussions with Ronnie Sahlberg we decided that calling these "int64" was confusing, as it implied a true 8 byte aligned type - fixed all the cases where we incorrectly used things like "NTTIME_hyper" in our C code. The generated API now uses a NTTIME for those. The fact that it is hyper-aligned on the wire is not relevant to the API, and should remain just a IDL property (This used to be commit f86521677d7ff16bdc4815f9524e5286026f10f3)
2007-10-10r5033: Remove --with-eparserdir configure option and eparser_idl make target.Tim Potter3-30/+0
This is all done in the lorikeet/ethereal Makefile now. (This used to be commit 5ec9fad5cfc9c6010550aa1890e9d213030db55d)
2007-10-10r5032: get rid of the init fns in eparserAndrew Tridgell1-0/+3
(This used to be commit dc8c7cb85cf87d5976573ea6e9de43c0c9d5f44a)
2007-10-10r5027: added the IDL license to the IDL directoryAndrew Tridgell1-0/+9
(This used to be commit 765ede8ca6032ac1efdeca417eb62f34fdd7ed24)