summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10435: fill in the reference to the generic wbsrv_call in the ↵Stefan Metzmacher1-0/+1
wbsrv_samba3_call, so that async function can use it. metze (This used to be commit 72302b5d3dc3657caf885d40696495b6c8aabefb)
2007-10-10r10434: add a short path to the event context that should be used for async ↵Stefan Metzmacher2-1/+5
replies metze (This used to be commit cc9579d08567ec38adf0617901669fb3bb91e489)
2007-10-10r10426: - restructure the winbind server code a bitStefan Metzmacher8-253/+530
- remove the echo test stuff - abstract out the used protocol - we have a seperate handler for the samba3 protocol now - the backend can easy do async replies by setting WBSRV_CALL_FLAGS_REPLY_ASYNC in wbsrv_call and then call wbsrv_queue_reply() later metze (This used to be commit 32f3e68a569e9273b8d34fbd797c0a28494e5b6d)
2007-10-10r10424: for caller convenience, automatically turn a tdb_traverse() into aAndrew Tridgell1-0/+4
tdb_traverse_read() for read only databases (This used to be commit 9b53e04377d2ff652c4a9496798d2e3aa0dccab3)
2007-10-10r10423: minor changes to the ldb test suite to allow it to work correctly withAndrew Tridgell2-7/+15
a real ldap backend (such as openldap) (This used to be commit d267f8c6231664ec86edb2ae21e8585b1b51f7a1)
2007-10-10r10422: ldb_search() can now use tdb_traverse_read() to ensure it can run inAndrew Tridgell1-1/+1
parallel with any transaction (This used to be commit ddff66298f1a668c5220e24fc47f98d7dfc3068a)
2007-10-10r10421: following on discussions with simo, I have worked out a way ofAndrew Tridgell10-32/+130
allowing searches to proceed while another process is in a transaction, then only upgrading the transaction lock to a write lock on commit. The solution is: - split tdb_traverse() into two calls, called tdb_traverse() and tdb_traverse_read(). The _read() version only gets read locks, and will fail any write operations made in the callback from the traverse. - the normal tdb_traverse() call allows for read or write operations in the callback, but gets the transaction lock, preventing transastions from starting inside the traverse In addition we enforce the following rule that you may not start a transaction within a traverse callback, although you can start a traverse within a transaction With these rules in place I believe all the deadlock possibilities are removed, and we can now allow for searches to happen in parallel with transactions (This used to be commit 7dd31288a701d772e45b1960ac4ce4cc1be782ed)
2007-10-10r10420: Two minor scons fixesJelmer Vernooij2-4/+4
(This used to be commit 749b19d34f6105c696a07cc2cd39d5acecfc735b)
2007-10-10r10419: Remove unused prototypes of locking functions (thanks Jelmer)Simo Sorce1-10/+1
omment about transactions (This used to be commit 33352507593875a147276841fdb70de8edd668f5)
2007-10-10r10418: Fix comparison_fn_t test I busted. Add $HOME to the environment as someTim Potter1-2/+5
tools get confused if it isn't there. (This used to be commit b2f15b5c79970b7f0be752ccf5bb8a6b3c0e5d70)
2007-10-10r10416: Detect some more types to get rid of spurious warnings in theTim Potter1-1/+12
lib/replace/replace.h header. Running 'scons lib/tdb' now (mostly) builds tdb. (This used to be commit 324bfd5d25212a0b0a3a7e30be62d1b72b10b98f)
2007-10-10r10415: The ldb and tdb libraries are bad examples to test out the make protoTim Potter2-11/+5
code as they are marked as NOPROTO in the config.mk files. (This used to be commit 5f530eacbae073e9df6adde316404f70ecfe9122)
2007-10-10r10414: Fix building of proto.hTim Potter1-1/+1
(This used to be commit 4a137e4e6eca0c5718835a92d93f8a16f0504db9)
2007-10-10r10411: we don't need the 10 times retry on rid allocation now, asAndrew Tridgell1-10/+2
transactions ensure two account creations can't interfere with each other (This used to be commit 91c27bc97662c8d8b764c76bd2d98a1b04f47337)
2007-10-10r10410: blindly update the scons file for tdb. I'm not sure how this works,Andrew Tridgell1-1/+1
but it definately needs transaction.c now (This used to be commit fa353a5bc562fa1ace0daf6586c42d1d5698c6e4)
2007-10-10r10409: allow smb.conf override of ldb synchronous transactions with ↵Andrew Tridgell1-0/+5
"ldb:nosync = yes/no" (This used to be commit 435cbcf78b70a82c2ec89fab21e4ff8af538f2f1)
2007-10-10r10408: now that we are using tdb transactions we don't need any additionalAndrew Tridgell3-166/+36
locking code in the ldb_tdb backend, except for a single read lock during searches to ensure searches don't cross transaction boundaries The tdb transactions code would map these extra locks to noops anyway (as locking makes no sense inside a transaction), but the work in setting up the locking keys still costs something, and it makes the code needlessly complex (This used to be commit 1b8d368a6771360fb0626127c02b3eb95f3eae59)
2007-10-10r10407: the schannel database does not need to be synchronous (and thus crashAndrew Tridgell1-1/+1
safe) as it is removed on smbd restart (This used to be commit 0951db6a89d15792ee1ea6b9f37c45486958ad57)
2007-10-10r10406: added --nosync option to all ldb tools, so that you can control ifAndrew Tridgell6-16/+29
transactions are synchronous or not on the command line. add LDB_FLG_NOSYNC flag to ldb_connect() so we can make our temporary ldb databases non-synchronous (This used to be commit dba41164e0c52f1e4351bd9057b16661cee3a822)
2007-10-10r10405: added transactions into tdb, and hook them into ldb. See myAndrew Tridgell20-116/+1348
samba-technical posting for more details on the transactions design. This also adds a number of command line arguments to tdbtorture, making it more flexible, and fixes some lock deadlock conditions in the tdbtorture code. (This used to be commit 06bd8abba942ec9f1e23f5c5d546cbb71ca3a701)
2007-10-10r10404: make sure we use the right smb.conf in the ldap testingAndrew Tridgell1-1/+1
(This used to be commit aa30f8faa5924c29c81193646205b08922cdd43d)
2007-10-10r10403: fixed the basedn for testing, and add a debug showing the size of ↵Andrew Tridgell1-1/+4
the test in ldbtest (This used to be commit 740b9f7537d60c7dbd48fe592587b12b304c52d1)
2007-10-10r10402: Make the RPC-SAMLOGON test pass against Win2k3 SP0 again.Andrew Bartlett14-165/+274
I still have issues with Win2k3 SP1, and Samba4 doesn't pass it's own test for the moment, but I'm working on these issues :-) This required a change to the credentials API, so that the special case for NTLM logins using a principal was indeed handled as a special, not general case. Also don't set the realm from a ccache, as then it overrides --option=realm=. Andrew Bartlett (This used to be commit 194e8f07c0cb4685797c5a7a074577c62dfdebe3)
2007-10-10r10398: Don't do DNS lookups on short names (no .).Andrew Bartlett2-0/+13
Andrew Bartlett (This used to be commit 77aca9619d24a8e118f53bcd1a1e54b8437812a8)
2007-10-10r10395: While playing with winbind, I found a segfault because I had givenVolker Lendecke1-1/+2
resolve_name_send a stack-allocated method list. Duplicate it. Volker (This used to be commit 17dbbf965bcf038be7450781e28acb5e061eb295)
2007-10-10r10393: More type checking in sconsJelmer Vernooij3-11/+54
Remove unused file (This used to be commit a9e71ab5d1ed8b34f158ff0e89dd67ec785b9829)
2007-10-10r10390: Remove fstring, pstring and uint32_t from winbindd_nss.h.Volker Lendecke4-104/+76
Volker (This used to be commit 3dc7e67dc5e5844523e9768081123c622e61c7e9)
2007-10-10r10389: Add Manifest file (required for CPAN)Jelmer Vernooij1-0/+36
(This used to be commit 775323815961c25986e2557de5d59626822b3944)
2007-10-10r10388: Add version numbers (required for CPAN)Jelmer Vernooij22-0/+60
(This used to be commit 786329576bf14ae774f9d5a24268e46b7dcb634a)
2007-10-10r10387: By exporting KRB5_CONFIG pointing at a file of our choosing, we canAndrew Bartlett1-1/+22
avoid DNS delays in our testsuite. The next step will be to use kerberos in the tests (awaits application of socketwrapper or hooks into our socket layer). Andrew Bartlett (This used to be commit b9e9cca14e345a338fd7ffe06f6862bb3cb74e78)
2007-10-10r10386: Merge current lorikeet-heimdal into Samba4.Andrew Bartlett17-866/+570
Andrew Bartlett (This used to be commit 4d2a9a9bc497eae269c24cbf156b43b8588e2f73)
2007-10-10r10385: removed obsolete commentAndrew Tridgell1-1/+0
(This used to be commit 40a8ad2d1eb26d1635b8f188036b04319ffd41b4)
2007-10-10r10384: add _GNU_SOURCE in tdb configureAndrew Tridgell1-0/+1
(This used to be commit 21e5c328a033a4b452b3fd696069ad8bbfa6b9cc)
2007-10-10r10383: This patch is on the road to implementing servers (such as kpasswd) thatAndrew Bartlett1-29/+140
use raw krb5, not GSSAPI. I still keep the 'fake GSSAPI' code, but under the module name 'fake_gssapi_krb5'. Andrew Bartlett (This used to be commit 99efec2758ad6c996db65dd42cb72a81077c9b2b)
2007-10-10r10382: In the absence of client support for the full KDC-sideAndrew Bartlett1-10/+23
canonicalisation code, I've hacked Heimdal to use the default realm if no other realm can be determined for a given host. Andrew Bartlett (This used to be commit 0f0b0021b7728ce75ca0060003a3d08264ead810)
2007-10-10r10381: Be a bit stricter on pod syntaxJelmer Vernooij1-11/+20
(This used to be commit 3f646c620a354ab6820c4a97d629e1e27978b76d)
2007-10-10r10380: Use pod-style documentation rather then XML-doc, in good perl style.Jelmer Vernooij4-623/+403
(This used to be commit fcc1ba97a3dd955208d8d9555ff8dab455239412)
2007-10-10r10379: Add files for ldb and tdb to proto_files. The tool for building proto.hTim Potter2-16/+26
is busted though. (This used to be commit 54882f88cad1427b6adcb4c956a63e534e7d13e4)
2007-10-10r10378: Build config.h file from dictionary of defines and always use it.Tim Potter1-8/+13
(This used to be commit 252b64eb20db9152d357188d45fb39bb3d0b61bc)
2007-10-10r10377: Save configuration stuff to sconf.cache so it isn't annoyingly runTim Potter7-54/+92
at every single build. Run 'scons configure=1' or delete sconf.cache to force checks to be re-run. Jelmer, I think this stuff is cached in the .sconf_cache directory but the message is still displayed and it looks like it caches the compiled test object file not the actual result of the test. (This used to be commit 9d001dc083937bbf5642af90bc8a8b1a27825de0)
2007-10-10r10376: Argh - not quoting dictionary/hash keys is a bit of a perlism.Tim Potter1-1/+1
(This used to be commit 588a3183b3f5922349b85520d554dcce23cd699f)
2007-10-10r10374: Add HAVE_* defines (on command-line or in config.h file) for scons +Jelmer Vernooij7-22/+57
some other minor updates (This used to be commit f142c15de1afb2f13a5e23ceb40ce70f0115c8bf)
2007-10-10r10373: Fix segfault in LookupSids.Andrew Bartlett1-0/+6
Andrew Bartlett (This used to be commit ddc3a1c79e80e12296c398c42110fc378fb80e00)
2007-10-10r10372: Having gone to all the effort to uppercase the realm, actually set theAndrew Bartlett1-1/+1
upper-case realm. Andrew Bartlett (This used to be commit 3e38456dd5c40730f3203e89393dad2b97996d56)
2007-10-10r10370: only validate the re-generated binding string for hostnames with IPsAndrew Tridgell1-1/+1
Jelmer, can you see a better approach to this? As far as I am aware protocol towers don't use hostnames, they always use IP addresses (This used to be commit 7a3ec95d9911e8c0a278f5a94513e4fd61979eab)
2007-10-10r10369: You don't need to put leading or trailing spaces on variables. It'sTim Potter1-22/+22
a make-ism. Use consistent (single) quoting. (This used to be commit 368475ffcb88e4cd1f632847f6fe661eb35b9403)
2007-10-10r10368: when building the epm tower, don't put host names in the ip addressAndrew Tridgell1-1/+12
field, instead put a zero address. Note that zero is correct (ie. we shouldn't do the lookup) as in the client we want to send a zero for the server to fill in. When we make this call from the server we fill in a real IP. (This used to be commit e54c8b5658761c33d50a1a557d2ec77229b07b47)
2007-10-10r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of ↵Jelmer Vernooij16-106/+137
works now (This used to be commit 22f18a84242e5e68a2d57b6d7ff77c089ee7434a)
2007-10-10r10365: Use nsswitch/winbindd_nss.h in winbind/, update that file to the ↵Volker Lendecke3-352/+77
current 3_0 interface. Volker (This used to be commit 90f98e9be310edcdf6ac8b5f7ce792b52cec1d79)
2007-10-10r10364: Turn gensec:gssapi on by default, except for a login of the formAndrew Bartlett4-38/+31
-Udomain\\user. This will probably break in a few configurations, so please let me know. I'll also work to have a way to inhibit kerberos/ntlmssp, as this removes -k. Andrew Bartlett (This used to be commit 3c0dc570b86e79aea5446d7c3bb9750a11bf8ca4)