summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7010: Merge libcli/libsmb.mk into libcli/config.mkTim Potter1-1/+0
(This used to be commit d7d48adce9628ee7a0d2f8ac3504745aaeb912b9)
2007-10-10r6982: install the swat pages with 'make installswat'Andrew Tridgell2-2/+23
(This used to be commit 31543e1eae03d22343ea8c970494af36eb07b41f)
2007-10-10r6981: first version of the builtin web server for Samba4Andrew Tridgell1-0/+1
This includes an embedded server side scripting system called 'esp' (see http://www.appwebserver.org/products/esp/esp.html) and javascript based scripting language called 'esj' (see http://www.appwebserver.org/products/ejs/ejs.html) The justification for including this scripting language is that it should make it much easier to write a high quality web interface for Samba4. The scripting language can call into any Samba4 library code (so for example it will be able to make ldb and loadparm calls), plus it provides easy support for forms, cookies, sessions etc. There is still quite a bit more work to do on the web server, but there is enough here now for people to look at and comment. I will be committing some sample web pages that test esp functionality shortly. (This used to be commit 26f0ba92c0c565ac9e4cb5a079d795d4262497dd)
2007-10-10r6926: More build farm fixes:Jelmer Vernooij6-159/+71
- Warn about unknown attributes in .mk - Remove more unused functions (This used to be commit 6bf8126ae9368dc56cf0cd91b972a2d939974679)
2007-10-10r6924: Remove some unused functions.Jelmer Vernooij1-200/+0
(This used to be commit a7846183035295c2d60148beb23ddb4ed7d20723)
2007-10-10r6874: Fix static library buildJelmer Vernooij1-8/+6
(This used to be commit 1437257616a67634f2211ce85b70fc9d71acd17e)
2007-10-10r6853: again fixed SOCKET_WRAPPER_DIR in 'make test'Andrew Tridgell1-2/+1
(This used to be commit faa7e0366928a46abdc487f6d549fc95d67acae3)
2007-10-10r6842: Move to .mk fileJelmer Vernooij1-0/+1
(This used to be commit 77f9c471eaad71e6adf0371de206ed879daca2d8)
2007-10-10r6839: Add support for building subsystems as shared libraries. This can beJelmer Vernooij3-20/+22
done by setting: OUTPUT_TYPE = SHARED_LIBRARY in the [SUBSYSTEM::...] section belonging to a subsystem. The idea is to allow multiple values to OUTPUT_TYPE simultaneously (e.g. OUTPUT_TYPE = SHARED_LIBRARY, STATIC_LIBRARY, OBJLIST ) (This used to be commit b9d0ae93ba86fec0115f58e7940b2a6c908bc809)
2007-10-10r6838: Remove unnecessary calls to gensec_gsskrb5Jelmer Vernooij1-2/+9
Make the build system give a proper warning about this in the future (This used to be commit 2d980465af87d25ce17b8340c6b5f662ef29edd3)
2007-10-10r6828: More portability fixesJelmer Vernooij1-1/+1
(This used to be commit f46c532883e18b8780ff73d3ac0899690eeab3f4)
2007-10-10r6810: Rename auth/{ntlmssp,gensec,kerberos} mk and m4 files to be calledTim Potter1-3/+3
config.mk and config.m4 to be consistent with the rest of Samba. (This used to be commit f377c71e4f0d60684326906dfb65e4581294ec34)
2007-10-10r6809: ifeq is not portable in make - jelmer, you'll need to find some other ↵Andrew Tridgell1-6/+1
way of doing this if you want detection of socket wrapper :-) (This used to be commit f4bfc3a80e0986d48ea8f6ece5432732f5738f32)
2007-10-10r6725: the beginnings of a cldap serverAndrew Tridgell1-0/+1
(This used to be commit e51e0dffa8f8bff9bd1535751e805b548b6c6d7f)
2007-10-10r6621: Warn when the user is trying to use socket wrapperJelmer Vernooij1-0/+5
while it is not compiled in. (This used to be commit d63086918ba79307089b3992dc7ed8fc8c6d18a8)
2007-10-10r6617: Let --enable-developer imply --enable-socket-wrapperJelmer Vernooij1-1/+7
Add socket-wrapper-enabled test target and use that by default when the socket wrapper was included (This used to be commit d3b0ad8b4b6f8ee80a9c77e1102960d51ced5a5f)
2007-10-10r6607: fix the buildStefan Metzmacher1-3/+3
metze (This used to be commit 7fb10f2753f4acd7d86928b601139137af4be7b5)
2007-10-10r6589: Make the library versioning options for building a shared library ↵Tim Potter1-3/+10
optional. This will allow us to build unversioned libraries suitable for loading using dlopen() i.e for the swig wrappers. (This used to be commit 3feac34d84fa7cac646a90708f399420178c7313)
2007-10-10r6577: Make test works without installation now.Jelmer Vernooij1-7/+1
Running as a non-root user using socket_wrapper is possible by simple export SOCKET_WRAPPER_DIR before running 'make test' (This used to be commit 6d93fcc407cfd98e42045c65456cfb0c45f0ff1a)
2007-10-10r6568: Some more small 'make test' fixesJelmer Vernooij1-2/+1
(This used to be commit 02160c991a7e9bef2fabfe338a772e32679edf5d)
2007-10-10r6567: Use "real" prefix for 'make test'Jelmer Vernooij1-2/+2
(This used to be commit 195753b6afe3115762bcc4d579bc4a9f1c45af75)
2007-10-10r6564: - Fix bug in socket_wrapperJelmer Vernooij1-0/+10
- Add options --quiet and --outputdir options to the provisioning script - Add simple 'make test' and 'make test-swrap' (This used to be commit 7d2d4a57e0e58a51c76c2e86ea447e81a1d79544)
2007-10-10r6485: Move LDAP detection M4 file and use it for the standalone ldb buildJelmer Vernooij1-2/+0
Remove a couple of unused M4 macros. The standalone LDB build will not work until I've figured out what AC_CHECK_LIB_EXT() does exactly (it's Samba-specific) (This used to be commit cc20d6bb7f06e077ebe4c366e545e187a0c79472)
2007-10-10r6458: Split up NTLMSSP into a new directory, and into seperate files for theAndrew Bartlett1-0/+1
client and server logic code. In future, this may allow us to build only the NTLMSSP client, and not the server, but in the short-term, it allows me greater sainity in moving around these files. Andrew Bartlett (This used to be commit 2f22841c6753e3d5816c12bd463b71f74e1d8796)
2007-10-10r6177: Use here documents instead of print() statements to generate theTim Potter1-144/+164
Makefile fragments for the build system. This allows the file to be edited without using quite as many backslashes. Some are still necessary for interpolation of perl variables though. I've diffed the new Makefile against the old and there are only some extra newlines as a result of making things more consistent. (This used to be commit 3808c5e092e1a11d453d0a043818a10e28c78961)
2007-10-10r6148: Add a showflags target to display the various compiler flags a laTim Potter1-0/+7
showlayout. There seems to be a bunch of -D and -I stuff in LD_FLAGS which I don't think should be there. (This used to be commit 87f88aaceeacf57b4a8a31e005894cbff4a21779)
2007-10-10r6139: Move socket_wrapper to a seperate directoryJelmer Vernooij1-0/+1
(This used to be commit a2ef9225f15e369af7b884262b997ab321fd24d6)
2007-10-10r6113: Move GENSEC and the kerberos code out of libcli/auth, and intoAndrew Bartlett1-1/+2
auth/gensec and auth/kerberos. This also pulls the kerberos configure code out of libads (which is otherwise dead), and into auth/kerberos/kerberos.m4 Andrew Bartlett (This used to be commit e074d63f3dcf4f84239a10879112ebaf1cfa6c4f)
2007-10-10r5917: First step in using the new cli_credentials structure. This patchJelmer Vernooij1-0/+1
puts support for it into popt_common, adds a few utility functions (in lib/credentials.c) and the callback functions for the command-line (lib/cmdline/credentials.c). Comments are welcome :-) (This used to be commit 1d49b57c50fe8c2683ea23e9df41ce8ad774db98)
2007-10-10r5906: Fix the usage of the internal popt (make proto should ignore it)Jelmer Vernooij1-0/+1
Updated included popt to 1.7. (This used to be commit d60cb643e8a46771f3d836307ea45b869f34dc9b)
2007-10-10r5674: - Re-enable DCOM support.Jelmer Vernooij1-1/+0
- 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-10r5490: The big (D)COM commit! :-) Contains most of the changes described in theJelmer Vernooij1-1/+2
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-10r5487: - Allow disabling modulesJelmer Vernooij1-0/+5
- Disable all current DCOM functionality (I hope to commit a large bunch of COM and DCOM changes later today) - Make remact and oxidresolver depend on orpc rather then dcom (This used to be commit f298f2a5478a905fe385b8d68318db92ee984374)
2007-10-10r5438: Keep new CFLAGS if the compiler accepted them.Jelmer Vernooij1-1/+1
(This used to be commit d0a6b973307ba3b740f18214f14682495a607c63)
2007-10-10r5437: Allow Samba4 to be compiled by tcc (www.tinycc.org). It still crashes ↵Jelmer Vernooij1-4/+13
when linking though. (This used to be commit 2e1e8db6dc877eb32b51cfc3d9c8f463d14530ec)
2007-10-10r5197: moved events code to lib/events/ (suggestion from metze)Andrew Tridgell1-0/+1
(This used to be commit 7f54c8a339f36aa43c9340be70ab7f0067593ef2)
2007-10-10r5190: Grr - typo.Tim Potter1-1/+1
(This used to be commit 5f40ff0f554323ed0a806be7a4d0f1fac97e3ffb)
2007-10-10r5188: Add config.mk file for swig.Tim Potter1-0/+1
(This used to be commit c40fb6625d5cc6b3ddadfdc3c63d7856a45ec134)
2007-10-10r5108: the beginnings of a nbtd server for Samba4. Currently just displaysAndrew Tridgell1-0/+1
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-10r5104: - added support for task based servers. These are servers that withinAndrew Tridgell1-0/+1
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-10r5102: This is a major simplification of the logic for controlling top levelAndrew Tridgell1-2/+1
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-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-10r5047: Fix swig dependencies.Tim Potter1-4/+4
(This used to be commit f9e56d39c943a3edd6a13b6d29fe4e614c32d289)
2007-10-10r5033: Remove --with-eparserdir configure option and eparser_idl make target.Tim Potter2-23/+0
This is all done in the lorikeet/ethereal Makefile now. (This used to be commit 5ec9fad5cfc9c6010550aa1890e9d213030db55d)
2007-10-10r5016: Use LIBRARY instead of BINARY for inserting the swig stuff into theTim Potter1-5/+5
build system. This still generates bogus targets (i.e bin/swig_dcerpc.so.0.0.1) and the subsystem initialisation needs to be done by hand but it is less of a hack. (This used to be commit e9b69d19a84b31966fb6e66e9d8682b0f9b40a47)
2007-10-10r4983: On second thoughts don't include the config.mk file for the swig stuffTim Potter1-1/+0
just yet. More testing required. (This used to be commit c2664bb365e31a160b72e6eecfdfce9921e913f0)
2007-10-10r4982: Start to move swig dependencies into new build system. UnfortunatelyTim Potter2-34/+6
I can only get something useful happening by using the BINARY keyword as nothing else seems to generate dependency lists that can be used when linking the swig shared libraries. Anyway this is a lot nicer than having lots of junk in makefile.pm. (This used to be commit 71a22f5206086c5ab7315d38934d65483aff7a70)
2007-10-10r4814: cope with perl not being in /usr/bin for idl buildingAndrew Tridgell1-1/+1
(This used to be commit 1fc9448ccb0c2038c128e13535fce83d32f39058)
2007-10-10r4813: this is a temporary solution to a link problem we have on someAndrew Tridgell1-1/+2
platforms. The problem is that some loaders (for example the IRIX 6.5 machine us4 in the build farm) must have libs listed after object files that depend on them on the link line. If you put the libs first then all the symbols in the libs remain unresolved. I think the correct fix for this is to separate xxx_LINK_LIBS out from the current xxx_LINK_FLAGS, and use xxx_LINK_FLAGS followed by xxx_LINK_LIST followed by xxx_LINK_LIBS. I'm hoping metze or jelmer, as our build wizards, might take a look at this when they get time. This interim fix should work fine, but its rather ugly, as it lists the flags and libs twice in each link. (This used to be commit db7d43fbb95748c85316b41ad3dc4eb967ed8a08)