summaryrefslogtreecommitdiff
path: root/source4/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25301: Merge my includes.h cleanups.Jelmer Vernooij2-0/+4
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25028: Fix more warnings.Jelmer Vernooij2-4/+6
(This used to be commit 3aa7ee4a0d8837471deeaa1c5a1f4a0d2a14aa6e)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij4-0/+4
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij2-2/+2
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij3-3/+7
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-1/+1
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-4/+1
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)
2007-10-10r24623: add back '-D' option to smbdStefan Metzmacher1-7/+29
metze (This used to be commit 5ecc1311a143dd1adf9369d71ccb919be06daf57)
2007-10-10r24276: don't mark a stream readable until after the messaging setup isAndrew Tridgell1-2/+4
complete. This is needed because messaging setup with ctdb involve events, and we don't want a SMB packet to be processed on this stream until after the stream structure is fully setup (This used to be commit 8e378051e594372dfb2c00a380ef4bc151021ea2)
2007-10-10r23960: Don't destory the 'reason' for terminating the service before ↵Andrew Bartlett1-1/+3
printing it. Andrew Bartlett (This used to be commit 18d2680f357cef68e0e9714ce5404be70759d2ad)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell13-39/+26
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23702: fixed a "falling back to select" error in the standard processAndrew Tridgell1-1/+5
model. It's much cleaner to get the event system to close the fd, especially with the complexity of forks (This used to be commit d1b710f09c95a8181d2b642081282d8c97b37811)
2007-10-10r23695: By not using the NULL context for these large structures, we don'tAndrew Bartlett1-1/+1
falsely report them as leaked. Andrew Bartlett (This used to be commit e3eb6c2cf63edf50d93a87f656df3ae5aa6efc00)
2007-10-10r23288: give more info...Stefan Metzmacher1-0/+2
metze (This used to be commit 7fae261a494b4b71c3022f63112ef23ea495c769)
2007-10-10r22403: this dependencies should be privateStefan Metzmacher1-2/+2
metze (This used to be commit c3cc03ffb290cb7c1eba51e98c52e5e7c1aba5fb)
2007-10-10r22242: ctdb init now takes a process modelAndrew Tridgell1-1/+1
(This used to be commit ec611774da4759d2d6a334e57c104ed0ad5b7967)
2007-10-10r21669: Fix --enable-dso buildJelmer Vernooij1-1/+2
(This used to be commit 7cf9d07c88b0c81777bb9363d445ac657982a366)
2007-10-10r20895: enable ctdb backend at startup (if configured)Andrew Tridgell1-0/+4
(This used to be commit e73063a0c6af927e520b3bdd7574dc7183847813)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell7-18/+24
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r20449: Happy New Year!Stefan Metzmacher1-1/+1
metze (This used to be commit dbabec633881d7b2521aa17b484e425e6db36e01)
2007-10-10r19676: Fix some more dependencies.Jelmer Vernooij1-0/+1
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
2007-10-10r19675: the process model don't depend on heimdal anymoreStefan Metzmacher1-4/+2
and only have private depdendencies metze (This used to be commit f37c9f4d920c1a2dc160ce1c26cf70fbb45c653f)
2007-10-10r19643: make process_model thread compile againStefan Metzmacher1-7/+0
metze (This used to be commit f02f7ed19db2be8e23b1a5850082c9f9da35c028)
2007-10-10r19610: fix the buildStefan Metzmacher2-1/+3
metze (This used to be commit 59fe6cfaba2eb39cb5ff33110e830c4c9b21fb95)
2007-10-10r19604: This is a massive commit, and I appologise in advance for it's size.Andrew Bartlett2-14/+0
This merges Samba4 with lorikeet-heimdal, which itself has been tracking Heimdal CVS for the past couple of weeks. This is such a big change because Heimdal reorganised it's internal structures, with the mechglue merge, and because many of our 'wishes' have been granted: we now have DCE_STYLE GSSAPI, send_to_kdc hooks and many other features merged into the mainline code. We have adapted to upstream's choice of API in these cases. In gensec_gssapi and gensec_krb5, we either expect a valid PAC, or NO PAC. This matches windows behavour. We also have an option to require the PAC to be present (which allows us to automate the testing of this code). This also includes a restructure of how the kerberos dependencies are handled, due to the fallout of the merge. Andrew Bartlett (This used to be commit 4826f1735197c2a471d771495e6d4c1051b4c471)
2007-10-10r19573: Move secrets.o into param/ (subsystems haven't been integrated yet).Jelmer Vernooij2-2/+2
(This used to be commit 8143de855c0b65346b2d8e59ecdb78952927de4a)
2007-10-10r19569: Require that all public header files have a destination path. FixJelmer Vernooij1-1/+1
places where this was currently not the case. (This used to be commit 3894497a232df8cf0457c7439c9ae347f63f24a1)
2007-10-10r19539: Move pidfile to smbd/Jelmer Vernooij3-2/+127
(This used to be commit eefa64cbe392c4c4dcbf71b8bcf5128cce0339ba)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij1-1/+1
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10r18806: fixed two spelling errorsAndrew Tridgell1-2/+2
(This used to be commit f11112d7f0a6b1550008fd8192be2592412fb222)
2007-10-10r18805: make error message match function nameAndrew Tridgell1-1/+1
(This used to be commit e46d8ed53f8eb4ba596ab6fc1924eb7f1829a3df)
2007-10-10r18360: better handling of child process killing in standard modeAndrew Tridgell1-0/+19
(This used to be commit 6a2144caab60073b40577dc1f66f663f817d6cbd)
2007-10-10r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.Jelmer Vernooij1-1/+1
(This used to be commit 8b622c5ded0732df0eaf9f6226f52a27b6eacd73)
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)