summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13354: Add tests to check that controls work properlySimo Sorce3-7/+56
Fix asq module, add a second_stage_init to register with rootdse Fix asq control ldap parsing routines (this was nasty to find out) (This used to be commit 933a80397d137f7d5b79c82a068d62bb6928ef47)
2007-10-10r13353: Fix a crash bug in rootdse when we do not pass in credentialsSimo Sorce2-9/+7
a plain ldbsearch would just crash Fix kludge_acl, not passing on the second stage registration phase to other modules Simo (This used to be commit bec99c5cb65d8c32fd4f636ed2f5383fb1b39830)
2007-10-10r13352: Integrate Patch to support the ManageDSAIT controlSimo Sorce1-0/+20
from Pete Rowley <prowley@redhat.com> (This used to be commit bf20a848fda1607ca1b0d84791c299c0035793a1)
2007-10-10r13349: In the end I could not use ldb_caseless_cmpSimo Sorce5-39/+3
in attrib_handler.c functions remove it again Simo (This used to be commit 513ff499071e6cb5e608a82430718021f72997bd)
2007-10-10r13348: Put a reminder for now.Simo Sorce1-0/+2
Until we do not have an internal utf8 compliant casefloding function we cannot pass this test in the non-samba build (This used to be commit 5d93c1eeba8f64784294f3aabcaefa4aaf798355)
2007-10-10r13347: - Now we compare values with an optimized utf8Simo Sorce2-9/+50
safe function if the user provides an utf8 compliant casefold function to ldb. - Fix toupper_m and tolower_m to not crash if the case tables are not found - Let load_case_table() search into the correct directory in the search tree for the case tables so that we can test utf8 Simo (This used to be commit e12f070958eb3c144beb81c5cb878db122249021)
2007-10-10r13346: use private proto header files for the torture testsStefan Metzmacher24-1/+66
metze (This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
2007-10-10r13345: let us replicate with NT4sp6aStefan Metzmacher2-0/+35
I don't yet know what the extra data in the start_association call mean... This also let w2k use WREPL_REPL_INFORM messages to us, but w2k3 doesn't it do it yet... metze (This used to be commit 02d6dfa1da754857c28125392a561cfde0087c48)
2007-10-10r13344: Trust SASL to have subtle distinctions between NULL and zero-lengthAndrew Bartlett2-13/+41
responses... Also trust OpenLDAP to be pedantic about it, breaking connections to AD. In any case, we now get this 'right' (by nasty overloading hacks, but hey), and we can now use system-supplied OpenLDAP libs and SASL/GSSAPI to talk to Samba4. Andrew Bartlett (This used to be commit 0cbe18211a95f811b51865bc0e8729e9a302ad25)
2007-10-10r13342: Make the GSSAPI SASL mech actually work, by (shock horror) reading ↵Andrew Bartlett3-86/+442
the spec. GSSAPI differs from GSS-SPNEGO in an additional 3 packets, negotiating a buffer size and what integrity protection/privacy should be used. I worked off draft-ietf-sasl-gssapi-03, and this works against Win2k3. I'm doing this in the hope that Apple clients as well as SASL-based LDAP tools may get a bit further. I still can't get ldapsearch to work, it fails with the ever-helpful 'Local error'. Andrew Bartlett (This used to be commit 3e462897754b30306c1983af2d137329dd937ad6)
2007-10-10r13341: Trivial.Andrew Bartlett1-1/+1
(This used to be commit b986278b367a6693f69a06e07ca90f8b5a23a0c0)
2007-10-10r13340: The gensec_init() needs to be after the popt processing, as itAndrew Bartlett1-2/+3
disables modules based on parametric options. Andrew Bartlett (This used to be commit db32a81f3ea661e2308cccca8d6a251a3d57337e)
2007-10-10r13339: Propogate more error infomation into the error packet and reformat theAndrew Bartlett1-38/+49
code a little. This also fixes a segfault when we didn't fill in the error message. Andrew Bartlett (This used to be commit 3be01a4ac7efe8d161910e8339bfe42584c0db86)
2007-10-10r13336: Doh! We actually never optimized for the ascii case.Simo Sorce1-3/+3
In the 3.0 branches it is fixed this but we missed it for samba4 (This used to be commit baccb3c9147e161a6d2cbe371a60bf2ddcc0585c)
2007-10-10r13335: Fix the build and add an utf8 safe ldb_hadler_fold functionSimo Sorce4-17/+46
based on ldb_casefold (This used to be commit 6104f900863c688707809d42c5429a42d654d5fb)
2007-10-10r13334: Add comments describing what these functions do.Andrew Bartlett1-2/+21
We still need many more, but it is a start... Andrew Bartlett (This used to be commit b2bda127f681dc1e2003c86159a85fa613373f16)
2007-10-10r13333: revert previous commit I will use ldb_caseless_cmp in attrib_handlersSimo Sorce7-15/+70
to correctly support utf8 comparisons add an ldb_attr_Casefold function for attribute names and use it instead of casefold in the right places (This used to be commit 3b4eb2413bbce059dde69f35c03cdc3cc2ba85c5)
2007-10-10r13328: After the attribute name check cleanup it turned up ldb_caseless_cmp()Simo Sorce5-46/+6
was used just in one places and by mistake, as there we should have been using ldb_attr_cmp() Remove ldb_caseless_cmp() ... going on with the cleanup and utf8 compliance effort. Simo. (This used to be commit afda68d7bf655a9145648856d29e6e64b9f21aa3)
2007-10-10r13325: let samba register it's own utf8 aware functions in ldbSimo Sorce2-0/+20
(This used to be commit 12faf556833807d3f2aa4360c54e10583ac77fed)
2007-10-10r13324: From now on check attribute names obey rfc2251Simo Sorce11-98/+139
Also add a way to provide utf8 compliant functions by registering them with ldb_set_utf8_fns() Next comes code to register samba internal utf8 functions. Simo. (This used to be commit ac9b8a41ffca8e06c5e849d544d3203a665b8e0d)
2007-10-10r13321: Bind to each interface and to the 0.0.0.0 interface on the KDC. ThisAndrew Bartlett1-9/+24
was pointed out by Maurice Massar. It ensures we get the addresses for the krb5_mk_priv() correct (otherwise an MIT kpasswdd fails over localhost). Also never run the KDC unless we are a DC. Andrew Bartlett (This used to be commit c17007918459678004a009ccaa50fb85e8b6a739)
2007-10-10r13320: Fix kpasswd's use of the local HDB. /dev/null was a bad idea, we wantAndrew Bartlett1-2/+2
'no filename' instead. Andrew Bartlett (This used to be commit 7de385dca4c40e98a40ef1e769826de8bff64323)
2007-10-10r13317: Create a new function messaging_client_init() which can be used whenAndrew Bartlett3-2/+11
we don't have a server messaging context. We should replace the datagram messages with stream sockets in this case, so we don't have to create a unique socket. Andrew Bartlett (This used to be commit fd974fb64792f8f6c532b01d2a2e012be18eef7e)
2007-10-10r13307: docsSimo Sorce1-0/+787
(This used to be commit e56630d1f8688ff3ff334893a4bc49dff8e36fe2)
2007-10-10r13297: It's a good thing the shipment of function headers tridgeJeremy Allison1-221/+404
sent me arrived on time... :-). Refactor this code to make it comprehensible. Tested against W2K3 SP 1 and W2K SP 4. Test 19 is different from what I thought. Turns out delete on close on "open" of a directory (not create) does have an effect - even if not reported in the flag bit. trige please test against Vista (my XP box is refusing to serve at the moment - have to reinstall). Jeremy. (This used to be commit 2b708e26185bfc0a909a33e74e67dd2101c3bbbe)
2007-10-10r13289: Check the tree is not NULLSimo Sorce2-0/+5
Thanks to Aaron J. Seigo <aseigo@kde.org> for spotting this (This used to be commit 4b5c0493e2276a9eba1bada7c4bac99999a465e2)
2007-10-10r13283: added two optimisations to the tdb transactions code. The first is toAndrew Tridgell1-1/+36
more agressively coalesce entries in the linked list of the undo log. The second is to ensure that writes during a transaction into the hash table don't cause the size of the undo log linked list to grow. These optimisations don't affect Samba much, but they make a huge difference to the use of ldb in kde (This used to be commit a37d9434d1fa181fd3d060ad032ee4ec5135fc52)
2007-10-10r13282: Indentation, and ensure we handle the talloc_free in the right placeAndrew Bartlett1-4/+4
all the time. Andrew Bartlett (This used to be commit 2aa9fefbb30959f29e9d5a79c4880f33a747b68c)
2007-10-10r13281: Use TALLOC_CTX * not a void *, and use tmp_ctx as the name for ↵Andrew Bartlett1-58/+59
consistancy. (I was chasing ghosts in this code, and decided to do a cleanup while I was there). Andrew Bartlett (This used to be commit c05f6be09a0cffdd0b87483f5b3751cc3f96e7f5)
2007-10-10r13280: Tidy up formatting.James Peach1-21/+46
(This used to be commit 531995000df77a54a4f2d7734e1ad33cd7cda37a)
2007-10-10r13278: remove a silly strcasecmp() replacementAndrew Tridgell1-9/+1
(This used to be commit 6ec71ffbc141df398aff3e11c45e35e15192c66f)
2007-10-10r13277: print a useful error message when test 17 failsAndrew Tridgell1-2/+2
(This used to be commit 70ad98b05136da0cdbd91b8374ac9709abfcadeb)
2007-10-10r13276: start to work towards the BASE-DELETE test passing. This changeAndrew Tridgell1-11/+22
ensures that we give the right error code to opens that are denied due to the file having delete pending set (This used to be commit c5b709fae66f9135e5c0e2eeb2e25dd8837b64de)
2007-10-10r13275: With a liberal sprinkling of smb_raw_exit thisJeremy Allison1-9/+70
now passes for me for W2K and W2K3... booting the XP box to test it... Jeremy. (This used to be commit 0133ba78c15b10e925f4e26e163656aa7cd11476)
2007-10-10r13272: Re-arrange so all the normal tests we can pass come first.Jeremy Allison1-90/+92
Jeremy. (This used to be commit 0b61a8df3c1b5b1a73bf6afd0404871286d3a2fc)
2007-10-10r13271: Do the same tests with directories.Jeremy Allison1-2/+161
Jeremy. (This used to be commit 7986af2ece2e707ee3d98dadb37af9fc5126d138)
2007-10-10r13270: Add tests for even more insane delete-on-close semantics.Jeremy Allison1-0/+142
Jeremy. (This used to be commit ae0851ce667c0559e786c3a83389ccfddce1a813)
2007-10-10r13269: ${prefix} is a special case in the autoconf/build system, and shouldAndrew Bartlett1-2/+2
be escaped as \${prefix}, otherwise it evaluates too early as "NONE". Andrew Bartlett (This used to be commit 6b42029de99011986c1fa7bfd5833dbbbf476206)
2007-10-10r13268: fixed typo noticed by Aaron SeigoAndrew Tridgell1-1/+1
(This used to be commit a49d024f3d4866655d4436a5c42b3c228374594b)
2007-10-10r13265: Clarify how delegation works with the remote RPC backend.Andrew Bartlett1-1/+32
Andrew Bartlett (This used to be commit 75489ac8bced0f9e7ab28739fd6b26ab12cfa585)
2007-10-10r13264: Move declaration before code.James Peach1-5/+6
(This used to be commit 6e55241a843f80cc513d06266b54b38ce48c51ed)
2007-10-10r13263: Check whether open(2) will accept the O_DIRECT flag. This should fix theJames Peach2-1/+18
build on NetBSD. (This used to be commit 7354de62a7fbf3921dfcb0bd865e89bdf1ef5bcd)
2007-10-10r13258: Fix the talloc heirachy for ldb_tdb.Andrew Bartlett3-17/+20
In the return value res->msgs, msgs was not a child of res, in the indexed path. Instead, it hung directly off the ldb, which was sometimes a long-term context. Also remove unused parameters. Found by --leak-report-full Andrew Bartlett (This used to be commit 29cb5af827c459758997c80dca034d471bb92449)
2007-10-10r13256: Free temporary memory on error cases, and try to clean up what's leftAndrew Bartlett2-4/+13
earlier. Move gendb_search() to use talloc_vasprintf() and steal only the parts actually being used for the results. Andrew Bartlett (This used to be commit 53efb3e3e980c768e0aee216ccd8dc3e14707246)
2007-10-10r13255: New CIFS dd client for use in performance testing. The guts of this isJames Peach9-7/+1356
in client/cifsdd*, which implements a minimal implementation of dd. The IO path is careful to always perform IO at the requested block size. There is a very basic test suite in script/tests/test_cifsdd.sh which covers local and remote IO at a variety of block sizes. Added to lib/util_str.c is a small set of conv_str_*() functions to convert strings to the corresponding type. smbcli_parse_unc is modified to insert NULL terminators after its hostname and sharename parameters. This allows it to correctly parse a path of the form //foo/share/path/file. (This used to be commit cd2f94a65817bfae20ac21b730a2c42d8e581ab3)
2007-10-10r13253: More work to ensure that we don't keep data on long-term contexts.Andrew Bartlett1-0/+5
Andrew Bartlett (This used to be commit 35517573ff807339f96573e58bdec29073be9594)
2007-10-10r13252: Cleanup, both in code, comments and talloc use:Andrew Bartlett5-53/+102
In particular, I've used the --leak-report-full option to smbd to track down memory that shouldn't be on a long-term context. This is now talloc_free()ed much earlier. Andrew Bartlett (This used to be commit c6eb74f42989d62c82d2a219251837b09df8491c)
2007-10-10r13250: I missed a couple of talloc_free()'sAndrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 3570a62876dcd656b328bf8c2c1be617ae9a8fd7)
2007-10-10r13249: Check for alloca.h. popt needs this.James Peach1-0/+1
(This used to be commit 08bdaa8e106caeab675aaca5124f0e59fa20cc8c)
2007-10-10r13248: Revert revision 13071. It turns out that sys/param.h can be implicitlyJames Peach2-32/+0
included from other headers. In this case, undeffing MIN and MAX is a really bad idea because the subsequent include of sys/param.h will do nothing because of its include guards. (This used to be commit 8aa8be93b09cfbd176455738dfd305047030fd50)