summaryrefslogtreecommitdiff
path: root/source4/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18121: Simplify m4 code, hopefully fix Samba4 build problems.Jelmer Vernooij1-1/+1
(This used to be commit 1adf65b4d7c5d2d4f65d4b28575bdf2368a42139)
2007-10-10r18117: first steps in making samba4 use libreplaceAndrew Tridgell1-1/+1
(This used to be commit c079cedb084d621c5a0aac59310b237ba375df20)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij2-2/+2
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17227: don't call a function which takes some nonoptional argsStefan Metzmacher1-9/+15
with NULL. metze (This used to be commit 3711b968adf8a0951171ad1a90be65a9ae0dc03b)
2007-10-10r17209: Add dependency over the new share configuration module into smbdSimo Sorce1-1/+2
Should fix some build farm machine (This used to be commit 15b8fafb991d3ce4b40c144702399d6f705a8e8e)
2007-10-10r17206: Add a modular API for share configuration.Simo Sorce1-0/+2
Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)
2007-10-10r17197: This patch moves the encryption of bulk data on SASL negotiated securityAndrew Bartlett1-0/+5
contexts from the application layer into the socket layer. This improves a number of correctness aspects, as we now allow LDAP packets to cross multiple SASL packets. It should also make it much easier to write async LDAP tests from windows clients, as they use SASL by default. It is also vital to allowing OpenLDAP clients to use GSSAPI against Samba4, as it negotiates a rather small SASL buffer size. This patch mirrors the earlier work done to move TLS into the socket layer. Unusual in this pstch is the extra read callback argument I take. As SASL is a layer on top of a socket, it is entirely possible for the SASL layer to drain a socket dry, but for the caller not to have read all the decrypted data. This would leave the system without an event to restart the read (as the socket is dry). As such, I re-invoke the read handler from a timed callback, which should trigger on the next running of the event loop. I believe that the TLS code does require a similar callback. In trying to understand why this is required, imagine a SASL-encrypted LDAP packet in the following formation: +-----------------+---------------------+ | SASL Packet #1 | SASL Packet #2 | ----------------------------------------+ | LDAP Packet #1 | LDAP Packet #2 | ----------------------------------------+ In the old code, this was illegal, but it is perfectly standard SASL-encrypted LDAP. Without the callback, we would read and process the first LDAP packet, and the SASL code would have read the second SASL packet (to decrypt enough data for the LDAP packet), and no data would remain on the socket. Without data on the socket, read events stop. That is why I add timed events, until the SASL buffer is drained. Another approach would be to add a hack to the event system, to have it pretend there remained data to read off the network (but that is ugly). In improving the code, to handle more real-world cases, I've been able to remove almost all the special-cases in the testnonblock code. The only special case is that we must use a deterministic partial packet when calling send, rather than a random length. (1 + n/2). This is needed because of the way the SASL and TLS code works, and the 'resend on failure' requirements. Andrew Bartlett (This used to be commit 5d7c9c12cb2b39673172a357092b80cd814850b0)
2007-10-10r15580: (Hopefully) fix pthreads process modelJelmer Vernooij1-1/+1
(This used to be commit 8d95bf14b93326b097884366a527753f8ad93d47)
2007-10-10r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests.Jelmer Vernooij1-1/+1
(This used to be commit d72c5c8f755277eb22e1f6834d98202f00c09934)
2007-10-10r15301: Use static libraries internally. This required a few hacks in the buildJelmer Vernooij1-92/+0
system - these should be removed later on. (This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10r15298: Fix the build using a few hacks in the build system.Jelmer Vernooij1-3/+7
Recursive dependencies are now forbidden (the build system will bail out if there are any). I've split up auth_sam.c into auth_sam.c and sam.c. Andrew, please rename sam.c / move its contents to whatever/wherever you think suits best. (This used to be commit 6646384aaf3e7fa2aa798c3e564b94b0617ec4d0)
2007-10-10r15277: - fix the build on netbsd, where stdlib.h has the setproctitle() ↵Stefan Metzmacher1-2/+3
prototype but --with-setproctitle wasn't used metze (This used to be commit 0754154f5154e8285608c7f17e15aa223f04adea)
2007-10-10r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues ↵Jelmer Vernooij2-4/+4
with local (empty) libpopt.a overriding global one (This used to be commit 2f06305e53478e5030c24550954f221a9a97c83f)
2007-10-10r15273: fix setproctitle supportStefan Metzmacher1-6/+10
metze (This used to be commit 35936fd4743554bb4ba9b2f61ec3651762189bee)
2007-10-10r15223: Move heimdal's -I parameters from the global list of includes toJelmer Vernooij1-0/+2
the subsystems in question (This used to be commit 2fbb4d91fa580ccb64e36f0b082f23af33123b13)
2007-10-10r15212: Simplify setproctitle codeJelmer Vernooij1-6/+7
(This used to be commit 555ca1df1c57e5798e75b19f66b62b253a066e21)
2007-10-10r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacementJelmer Vernooij2-14/+14
for REQUIRED_SUBSYSTEMS. (This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename isJames Peach1-2/+1
"." for "..". These express the intention better that strcmp or strequal and improve searchability via cscope/ctags. (This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)
2007-10-10r15182: make stuff more portableStefan Metzmacher1-4/+4
metze (This used to be commit 2b0ce388a4d955ce9bf0cdb00a13cd82f8acc87d)
2007-10-10r15179: Detect setproctitle if it is in libc. Patch by Timur BakeveyJelmer Vernooij1-4/+7
(This used to be commit 3ebdae4217be9c00150ae4ceb76c94ba619bbf6a)
2007-10-10r15100: Port the bugfix for #3569 to Samba4Volker Lendecke1-2/+2
(This used to be commit 5f1d52f232051324082b840f29dd7719a9328bd5)
2007-10-10r14997: Fix build of static libraries. Libraries build fine now, but linking ↵Jelmer Vernooij1-1/+1
doesn't work yet. (This used to be commit d3106699dba7a4344511134dd2cf1bfa2f4bc7ab)
2007-10-10r14890: fix the usage of popt...Stefan Metzmacher1-5/+17
I don't know why this causes problems on my laptop today... anyway we have done this change in smbtorture month ago... metze (This used to be commit ad84a69db276e3a655b2dc477214bbe0ed68411a)
2007-10-10r14736: - the ntvfs subsystem should not know about smb_server.hStefan Metzmacher5-6/+4
- the process module subsystem should not know about smb_server.h - the smb_server module should not know about process models metze (This used to be commit bac95bb8f4ad35a31ee666f5916ff9b2f292d964)
2007-10-10r14572: Give libraries saner names, remove some .pc files, make some thingsJelmer Vernooij1-2/+2
subsystems in case a library doesn't make sense. (This used to be commit ed382873fd01457a53e0a1e1f5ba6753dfbc0646)
2007-10-10r14571: More improvements on shared library support in Samba. Only ldb is ↵Jelmer Vernooij1-1/+3
left now... (This used to be commit e71cca7f0cec62357eba6ba02d13f1c3f04edaa7)
2007-10-10r14567: Make some more functions public.Jelmer Vernooij1-2/+2
(This used to be commit 8e84e6cb6b172c89072723e07f344da8f4476c1f)
2007-10-10r14554: Write out header dependencies. This means all C files affected will beJelmer Vernooij1-1/+1
rebuilt when a header file is changed. It also means parallel builds work now. It will take a minute or so to generate all the dependency information, but there should be no need to rebuild that information later on, unless a file changes. This behaviour is only enabled when building in developer mode (--enable-developer) and requires a GNU make (or compatible). In all other cases, the file 'static_deps.mk' is included, which contains some basic hardcoded dependency information. (This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
2007-10-10r14380: Reduce the size of structs.hJelmer Vernooij6-1/+46
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
2007-10-10r14205: move smb specific stuff out of includes.h (finally!!!:-)Stefan Metzmacher1-0/+1
all this changes really help ccache to speed up the samba4 build:-) metze (This used to be commit 180a79d1036e54fc0c50572b820818e9aafa28e9)
2007-10-10r14100: print out the title with the thread specific debug messagesStefan Metzmacher1-4/+25
metze (This used to be commit defc9438d10d51f5f59a8ee69e6baf40b8d9278e)
2007-10-10r14095: disable setproctitle support by defaultStefan Metzmacher1-10/+24
--with-setproctitle enables it metze (This used to be commit fb9e7d176a3379d451bdbfad567426ddfb91a8bf)
2007-10-10r14094: Use saner module directory names, fix loading of server service modules.Jelmer Vernooij4-49/+49
(This used to be commit b6ffad3860ba2cf9d8f3423d65be91dcfc962ca2)
2007-10-10r14082: fix the build of process model threadStefan Metzmacher1-1/+1
metze (This used to be commit 63778a76be8212baad8f4668b0ffcc3b6732857e)
2007-10-10r14079: I just found the setproctitle library from alt linux:-)Stefan Metzmacher8-3/+103
- add set_title hook to the process models - use setproctitle library in process_model standard if available - the the title for the task servers and on connections metze (This used to be commit 526f20bbecc9bbd607595637c15fc4001d3f0c70)
2007-10-10r14078: move ldb_global_init() to the main smbd code,Stefan Metzmacher1-1/+4
to fix the process_model standard metze (This used to be commit a465126e15490c5605064eb2387fb589d312db7b)
2007-10-10r14038: reopen log files after a SIGHUPStefan Metzmacher1-3/+6
metze (This used to be commit 8e9a69171a03a1f886fcff911e8a923368645a54)
2007-10-10r13960: Generate makefile rules for installing/removing shared modules.Jelmer Vernooij1-1/+1
(This used to be commit 2c746980328431ab04852dc668899e3eb042da99)
2007-10-10r13944: Yet another round of splitups.Jelmer Vernooij1-0/+1
(This used to be commit f87debeb12cebd734b47314554ab671c9e06237e)
2007-10-10r13938: Around round of splitupsJelmer Vernooij2-1/+4
(This used to be commit 2d655f05285a86bb1bbb882e4dd843def15c9dfa)
2007-10-10r13937: fix the buildStefan Metzmacher1-1/+1
metze (This used to be commit 7aabff829836580be8816f38a6e0ef5b7c3bb565)
2007-10-10r13926: More header splitups.Jelmer Vernooij2-0/+2
(This used to be commit 930daa9f416ecba1d75b8ad46bb42e336545672f)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij4-0/+5
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13786: [merge] Add registration functions for LDB modulesJelmer Vernooij1-1/+1
Applications that use LDB modules will now have to run ldb_global_init() before they can use LDB. The next step will be adding support for loading LDB modules from .so files. This will also allow us to use one LDB without difference between the standalone and the Samba-specific build (This used to be commit 52a235650514039bf8ffee99a784bbc1b6ae6b92)
2007-10-10r13655: Use new name of build headerJelmer Vernooij2-2/+2
(This used to be commit bca0e8054f6d9c7adc9d92e0c30d4323f994c9e9)
2007-10-10r13070: Add a simple smbd manpage, based on the Samba 3 one.Jelmer Vernooij2-0/+178
(This used to be commit cbcce3b5731d27e863c916731fe30acac0602c16)
2007-10-10r12815: try to fix the build on AIXStefan Metzmacher3-0/+3
metze (This used to be commit 21bc072c7addafc6f692fb8e998bd4dd9ab88b49)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-2/+13
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r12797: check for a errorStefan Metzmacher1-1/+2
metze (This used to be commit ed4fbfcf3e5b7133e73ee031ad5c68659690e2b1)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-1/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)