summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24019: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/:Stefan Metzmacher1-8/+23
use a timed event to make sure the timelimit is correctly handled in smbcontrol when waiting for messages metze (This used to be commit 68c786dafacb187dfea83c45b7fd84127dc02e43)
2007-10-10r24017: merge from http://samba.org/~tridge/samba_3_2_ctdb/:Stefan Metzmacher1-14/+22
add add_trusted_domain() can return NULL metze (This used to be commit 12440efe0bab70a8a1b5100d77e387ce1c371a4e)
2007-10-10r24013: merge from http://samba.org/~tridge/samba_3_2_ctdb/:Stefan Metzmacher1-1/+1
fixed prototype metze (This used to be commit 0add4e9478afd9b20205f572a485b450a669c275)
2007-10-10r24009: Revert to the 3.0.25 logic for parsing the client's protocols. hpisgr8Volker Lendecke1-13/+5
with gcc still gives timeouts which worry me. Volker (This used to be commit c30835b4f0416b2b2b7d77d31b0fca0606f2387a)
2007-10-10r24008: Fix Bug 4792. Thanks to David Gajewski <dgajews@math.utoledo.edu> and toVolker Lendecke1-1/+1
Timur I. Bakeyev for bugging me :-) Volker (This used to be commit 59aef0451bed536d5cd72f2b26a0595947e94343)
2007-10-10r24007: Attempt to fix the build on host "gwen". The Makefile ended up with anVolker Lendecke1-2/+2
empty line. (This used to be commit d05f7aefdfb2177fff665fc5dc44794c33c92612)
2007-10-10r24006: Some more paranoia in reply_negprotVolker Lendecke1-2/+12
Some hosts see the smb_bufrem(req->inbuf, p) as an unsigned int. And as the p += strlen(p) + 2 went one beyond the buffer, this was a very large positive. Also take the chance to add one more consistency check. (This used to be commit 3673707f9f1a3ba29966ac7cf744e2b6462c8dde)
2007-10-10r24005: Attempt to fix the build on host deckchairVolker Lendecke1-1/+1
(This used to be commit cdc8ca57a7eb3e7e33a243e705be8a33c538253a)
2007-10-10r24004: Convert reply_checkpath to the new APIVolker Lendecke2-17/+24
(This used to be commit e5c7c6406af5552b3060f03a09b5e6c9a42e531c)
2007-10-10r24003: Convert reply_tcon_and_X to the new APIVolker Lendecke2-45/+73
(This used to be commit 9422385d9c018a0b1f2a0b2edd82dc574a9fb403)
2007-10-10r24002: Convert reply_negprot to the new APIVolker Lendecke2-91/+115
(This used to be commit bd981f53282573058bf4c2939e0e836499cf38be)
2007-10-10r24001: Separate out the parsing of the client's requested protocolsVolker Lendecke1-29/+66
This way the range checking only needs to be done once (This used to be commit befaa9713adec90088eedcf264f1e396ab150d25)
2007-10-10r24000: Add message_push_blob() and message_push_string().Volker Lendecke2-0/+61
The proposed new API convention is to start with a 0 bcc length and then push things step by step. These routines reallocate the outbuf and adjust the length and bcc fields as necessary. (This used to be commit 624f1fe4f6e022d73e78fa8c9646f6f64035f3ee)
2007-10-10r23999: Convert reply_open_and_XVolker Lendecke3-71/+105
This is an example of chained code that is executed in make test (This used to be commit e3a10e9ffb06f429208f8b8e8482bbfd56dace91)
2007-10-10r23998: Convert reply_close to the new APIVolker Lendecke3-19/+28
(This used to be commit dbf74cb747d34dac571d85d6bae9398558086456)
2007-10-10r23997: Check in the infrastructure for getting rid of the global ↵Volker Lendecke10-395/+782
InBuffer/OutBuffer The complete history of this patch can be found under http://www.samba.org/~vlendec/inbuf-checkin/. Jeremy, Jerry: If possible I would like to see this in 3.2.0. I'm only checking into 3_2 at the moment, as it currently will slow down operations for all non-converted (i.e. all at this moment) operations, as it will copy the talloc'ed inbuf over the global InBuffer. It will need quite a bit of effort to convert everything necessary for the normal operations an XP box does. I have patches for negprot, session setup, tcon_and_X, open_and_X, close. More to come, but I would appreciate some help here. Volker (This used to be commit 5594af2b208c860d3f4b453af6a649d9e4295d1c)
2007-10-10r23996: One more constVolker Lendecke1-1/+1
(This used to be commit a54fa551a4b9ffe3f29b339a54e563cdfe924959)
2007-10-10r23992: Some constVolker Lendecke1-2/+2
(This used to be commit bc106cf50732ed6c169dcf593797501fcb3ae675)
2007-10-10r23991: Some constVolker Lendecke2-2/+2
(This used to be commit 804be77e4695eb923048948dbc6e223967fdef94)
2007-10-10r23990: Reformatting for 80 cols and trailing whitespaceVolker Lendecke1-11/+18
(This used to be commit 0484de27d97306707ae0243443d18e9dec6d80f3)
2007-10-10r23989: For testing purposes, add "echo" to smbclientVolker Lendecke1-0/+19
(This used to be commit 4cdfc887545f7367239c73b0fecf173970bbc5d2)
2007-10-10r23988: Looks a lot more scary than it is: This just unwraps the else-branch ofVolker Lendecke1-67/+74
if (smb_messages[type].fn == NULL) { into the function top-level. Makes this function a bit easier to understand IMO. Volker (This used to be commit ada23b7f06acb00c36763a3e7a6f6e0caac86951)
2007-10-10r23987: Remove static pid in switch_message()Volker Lendecke1-5/+3
There's no point in duplicating functionality that exists in sys_getpid() that also only used in a debug statement (This used to be commit ebf1b1e97c709f5ffe48c85b4227a0af1f88b0ab)
2007-10-10r23986: Some constVolker Lendecke2-6/+14
(This used to be commit dc6f4bdb7f5fc0fd4cd9f687c47af3719985da8b)
2007-10-10r23981: Make tdb_validate_and_backup try harder to end up with a valid tdb:Michael Adam1-23/+60
If restoring a backup fails due to lack of space, remove the corrupt tdb previously moved away to "name.corrupt", and retry. If restoring still fails, move the backup in place instead of copying it. Michael (This used to be commit f81f2bf480a955213be8461636ee6f81643f17b8)
2007-10-10r23980: Fix one more use of pwrite in expand_file.Michael Adam1-1/+10
Michael (This used to be commit de0ef9134650e3e7cc5b5cfec9e8dd8510bd6677)
2007-10-10r23979: Fix another occurence of (written != requested) as anMichael Adam1-5/+22
error condition to write. This is in tdb_new_database. Fix one call to tdb_new_database in tdb_open_ex to not overwrite the newly propagated errno (typically ENOSPC). Michael (This used to be commit 24fed55d72a4922bfd3ddba61449fbae01365feb)
2007-10-10r23977: Im prove the pwrite-patch to tdb_expand_file of r23972:Michael Adam1-7/+20
* prevent infinite loops due to 0 bytes written: try once more. if we still get 0 as return, set errno to ENOSPC and return -1 (error) * replace int by correct types (ssize_t and size_t). * print a warning log message in case "written < requested to write" usually this means, that the next call to pwrite will fail with return value -1 and set errno accordingly. Note that the former error condition "written != requested to write" is not a correct error condition of write/pwrite. If this is due to an error, a subsequent call to (p)write will reveal the cause (typically "no space left on device" - ENOSPC). Michael (This used to be commit 5b8d53dfe1872621bf28c8351d87bfc53ef6e66b)
2007-10-10r23976: Move authdata.o to LIBADS_SERVER_OBJ.Günther Deschner1-2/+2
Guenther (This used to be commit 3544d19d543fa8e9166017a8c31e981941beafdd)
2007-10-10r23975: Enhance some debug output.Michael Adam1-2/+4
(This used to be commit 909172839a512b60db075fb1a7488345a2e48eb0)
2007-10-10r23974: Fix Coverity ID 361. num_rids == 0 is caught on function entryVolker Lendecke1-10/+5
(This used to be commit 839d64add4ebf900863f1ed3e7a379db9b6fdf69)
2007-10-10r23973: For debugging, add (undocumented) net ads kerberos commands (kinit, ↵Günther Deschner2-1/+112
renew, pac). Guenther (This used to be commit 4cada7c1485c9957e553d6e75cb6f30f4338489f)
2007-10-10r23972: Fix a bug in pwrite error detection in tdb_expand_file():Michael Adam1-3/+3
The proper error condition is (ret == -1) instead of (ret != number_of_byte_told_to_write). Michael (This used to be commit e3af95f0983e9f92c10a80ee4f15a0cd718a4728)
2007-10-10r23971: Prevent build failures.Günther Deschner1-1/+5
Guenther (This used to be commit f959a0f152956429d8b525a55f99cbe2963504d6)
2007-10-10r23970: Allow to set the debuglevel at which to dump the PAC logon info.Günther Deschner1-18/+18
Guenther (This used to be commit 7d321aad83cb7b9cc766bc89a886676337a2bad8)
2007-10-10r23969: Some helper routines to retrieve a PAC and PAC elements.Günther Deschner1-0/+160
Guenther (This used to be commit d4c87c792a955be7d5ef59fc683fc48e3d8afe16)
2007-10-10r23968: Harmonize net's password prompts.Günther Deschner2-16/+35
Guenther (This used to be commit 7e2fb14d6e4f58fe6645b7e7468f925c21cb4c9d)
2007-10-10r23967: Memleak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>Volker Lendecke1-0/+3
Thanks! Volker (This used to be commit 46997a70199296d4ec45780f002898f23029bb26)
2007-10-10r23962: Linux oplock support is conditional on HAVE_KERNEL_OPLOCKS_LINUX,James Peach1-2/+3
not plain old LINUX. (This used to be commit 234cb7c893172edeb6802ac02304a041b33ee939)
2007-10-10r23957: Use tdb_open_log instead of tdb_open.Michael Adam1-6/+6
Michael (This used to be commit efabd7fe03733d1fcb02d0d270c18ede7836f3a9)
2007-10-10r23956: merge from 3_2-ctdb-tridge:Stefan Metzmacher1-0/+8
fixed a bug with dead share mode entries jra: please tell me if it's ok to merge this to 3_2_0. metze (This used to be commit 044ac6afa7a36b352f4cb203879af082d4726417)
2007-10-10r23954: merge from 3_0-ctdb-tridge:Stefan Metzmacher1-0/+4
don't display dead share mode entries in smbstatus metze (This used to be commit b52bb1e1556d2f4c2bfbd21e12782420bc26a029)
2007-10-10r23953: Some C++ warningsVolker Lendecke2-4/+7
(This used to be commit 8716edf157bf8866328f82eb6cf25e71af7fea15)
2007-10-10r23952: Streamline and improve the logic of tdb_validate_and backup:Michael Adam1-29/+63
- call tdb_validate on the given tdb. - if validation is successful, create a backup return 0 (success) even if the backup fails. - if validation fails: - move tdb to name.corrupt (don't exit if this fails) - look for a valid backup - if a valid backup is found, restore it, else return -1 (failure) if restoring succeeds, return 0 (success), else -1 (failure) Summing up: If 0 is returned, there is a valid tdb at the given location: either the original one ore one restrored from a backup. If -1 is returned, there is no valid tdb at the given location: Either there is no file at all, or the original file is still in place (if moving it away failed). Michael (This used to be commit 1c36ccd86d85b02f27ec66d37bdf7f04ad760901)
2007-10-10r23951: Fix segfault.Günther Deschner1-1/+1
Guenther (This used to be commit 1a5c8780ae79e5ae4e6a36bfb66cd92ae7d3aa88)
2007-10-10r23950: unlink before rename is superfluous.Michael Adam1-1/+0
Michael (This used to be commit 63c4c40cf7055ab7cf413a23e306cf209a1dd0a1)
2007-10-10r23948: add gsskrb5 sign and seal support for LDAP connectionsStefan Metzmacher1-5/+135
NOTE: only for the "GSSAPI" SASL mech yet metze (This used to be commit a079b66384b15e9d569dded0d9d6bd830e1a6dfa)
2007-10-10r23946: add support for NTLMSSP sign and sealStefan Metzmacher2-2/+123
NOTE: windows servers are broken with sign only... metze (This used to be commit 408bb2e6e2171196a2bd314db181d9b124e931a1)
2007-10-10r23945: add infrastructure to select plain, sign or seal LDAP connectionStefan Metzmacher3-3/+35
metze (This used to be commit 2075c05b3d8baa7d6d8510cd962471a5781740a6)
2007-10-10r23943: - always provide ads_setup_sasl_wrapping() functionStefan Metzmacher1-4/+10
- read/write returning 0 means EOF and we need to return direct metze (This used to be commit 885d557ae746c318df0aabc0a03dce1587918cce)