summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2008-06-17clikrb5: remove unrequired create_kerberos_key_from_string_direct() prototype.Günther Deschner1-10/+10
Guenther (This used to be commit ec86852fc6ce2d88ad5835c8fcb337c68fd6f6bc)
2008-06-17dsgetdcname: allow to use NULL mem_ctx.Günther Deschner1-1/+1
Guenther (This used to be commit d20353d30c2e08a6c6d67ae8b8c2faa26004249c)
2008-06-07Fix a crash in add_failed_connection_entryVolker Lendecke1-1/+2
(This used to be commit 2a689aa66af1de3d2e0d08b51e33e9a7015d6cb7)
2008-06-07Make the gencache based conncache use talloc_tos()Volker Lendecke1-11/+15
(This used to be commit f7f912a478af64b07beeb58673b605da0c46db94)
2008-06-07Negative conn cache uses gencacheMarc VanHeyningen1-129/+189
(This used to be commit 8765eb8ad7bb978d3bb9c9ff8e557791fdc43009)
2008-06-05More correct fix (hopefully :-) for any memory leaks.Jeremy Allison1-1/+17
Jerry promised to check :-). Vl also please review. Jeremy. (This used to be commit 8abc6e742147486a62b4a3f9845e34062845d8ea)
2008-06-02Fix bug reported by David Eisner <deisner@gmail.com>. When allocating cliJeremy Allison1-3/+3
buffers for large read/write - make sure we take account of the large read/write SMB headers as well as the buffer space. Jeremy. (This used to be commit 19519bca9b64b736d2fe0447b7cd495f00dba60a)
2008-06-03errors: add more WERRORs.Günther Deschner1-0/+5
Guenther (This used to be commit 973de861c98c62ba31ceb63b3434dc201ae8bf06)
2008-06-03doserr: Add WERR_GROUP_EXISTS and WERR_SPECIAL_ACCOUNT.Günther Deschner1-0/+3
Guenther (This used to be commit 058cf7001e8a57ff0a1e19aadf3e0e068b7e69f4)
2008-05-30minor memory leak fixChere Zhou1-0/+1
(This used to be commit 0c61631f345436bf88e93219c139af8cfbeea18b)
2008-05-28Security fix for CVE-2008-1105: Boundary failure when parsing SMB responsesJeremy Allison2-191/+3
can result in a buffer overrun. Jeremy. (This used to be commit 23b825e9d2c74c5b940cf4d3aa56c18692259972)
2008-05-27Memory leak fixes from Chere Zhou <czhou@isilon.com>.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 201bcc8ed291b51be6f4508c6aa1cb17ce6dcbe3)
2008-05-27dsgetdcname: use family (instead of sa_family).Günther Deschner1-1/+1
Guenther (This used to be commit 355fb81e9e42e507717f33a11793258db9169199)
2008-05-27doserr: add WERR_REVISION_MISMATCH.Günther Deschner1-0/+1
Guenther (This used to be commit 017ad275e51ff2d9ddfb4390979f16868f3e6a3f)
2008-05-25Fix two bogus uninitalized variable warningsVolker Lendecke1-1/+2
(This used to be commit 194ea682d9a5c12a0125fecc20349ca9cc3d3ea1)
2008-05-23drsuapi: add all code required for our drsuapi rpc client.Günther Deschner1-0/+84
Guenther (This used to be commit 7c93190843e77764be4d0f6d4f0b93061c192c98)
2008-05-23Manually merge Steven Danneman's patch for SPNEGO auth to a trustedGerald W. Carter1-20/+21
Win2008 domain (merged from v3-0-test). commit 8dc4e979776aae0ecaa74b51dc1eac78a7631405 Author: Steven Danneman <sdanneman@isilon.com> Date: Wed May 7 13:34:26 2008 -0700 spnego SPN fix when contacting trusted domains cli_session_setup_spnego() was not taking into consideration the situation where we're connecting to a trusted domain, specifically one (like W2K8) which doesn't return a SPN in the NegTokenInit. This caused two problems: 1) When guessing the SPN using kerberos_get_default_realm_from_ccache() we were always using our default realm, not the realm of the domain we're connecting to. 2) When falling back on NTLMSSP for authentication we were passing the name of the domain we're connecting to for use in our credentials when we should be passing our own workgroup name. The fix for both was to split the single "domain" parameter into "user_domain" and "dest_realm" parameters. We use the "user_domain" parameter to pass into the NTLM call, and we used "dest_realm" to create an SPN if none was returned in the NegTokenInit2 packet. If no "dest_realm" is provided we assume we're connecting to our own domain and use the credentials cache to build the SPN. Since we have a reasonable guess at the SPN, I removed the check that defaults us directly to NTLM when negHint is empty. (This used to be commit b78b14c88e8354aadf9ba7644bdb1c29245fe419)
2008-05-21Fix bug #5479, print spool shares require max_xmit toJeremy Allison1-1/+6
be adhered to. Jeremy. (This used to be commit 478a359edead0677281a3ca4e64db6521941b0f3)
2008-05-20Fix some signed/unsigned warningsVolker Lendecke1-1/+1
(This used to be commit dbb4d8107a61051d8bcf6c4c69ee976efc50b961)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty3-15/+18
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
2008-05-16dsgetdcname: store client sitename for mailslot and cldap replies.Günther Deschner1-0/+6
Guenther (This used to be commit a01ed719c31998620927dc9b1664ba8e36bd9b21)
2008-05-15dsgetdcname: add site support.Günther Deschner1-4/+14
Guenther (This used to be commit e305368538eaa72e3008a5517db3708936924297)
2008-05-15dsgetdcname: check for invalid sitename/flag combinations.Günther Deschner1-2/+7
Guenther (This used to be commit 255e509474cae92802e90613ccaddb6627ee77cd)
2008-05-14dsgetdcname: In case we didn't get a mailslot reply, don't cache the nodestatus.Günther Deschner1-1/+3
Guenther (This used to be commit 12e47be02f93e2f41af5772f6a83568b3574d032)
2008-05-14mailslot: Also pick domain name and pdc name from type 15 cldap reply.Günther Deschner1-1/+22
Guenther (This used to be commit 836877c4005ba081c0a4cc97726830d6dbd62d34)
2008-05-13Fix signing problem in the client with transs requestsVolker Lendecke1-0/+3
This is a different fix than Jeremy put into 3-0-test with 040db1ce85 and other branches with different hashes. Jeremy, I think your fix led to bug 5436, so I reverted your fix. This fixes the original problem I found with the transs requests for large rpc queries in a different way. Please check! Thanks, Volker (This used to be commit c572d537e088a3fffb057181cad9a3692e40b815)
2008-05-13Revert "Fix signing bug found by Volker. That one was *subtle*."Volker Lendecke2-5/+88
This reverts commit 816aea6c1a426eb2450061b847729e22bdac33a0. (This used to be commit e402e6508ca0806deef4c4044cfa6461b682850a)
2008-05-09dsgetdcname: add reminder that we need to support ipv6 here once we know how.Günther Deschner1-2/+4
Guenther (This used to be commit 4b3617bf505a835a6d4bb9b80c4ad837a2082dea)
2008-05-09dsgetdcname: make use of nbt_cldap_netlogon_15.Günther Deschner1-8/+91
Guenther (This used to be commit 5b0eda98f3d127399770f7a037ad3277dbe23393)
2008-05-09dsgetdcname: use existing messaging_context if possible.Günther Deschner1-6/+16
Guenther (This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
2008-05-09dsgetdcname: the forest name should never be empty.Günther Deschner1-1/+1
Guenther (This used to be commit 2c0a96f1e5fc065fdbeb5671cfa693009321dde8)
2008-05-09dsgetdcname: add map_dc_and_domain_names() for consolidating returned names.Günther Deschner1-50/+79
Guenther (This used to be commit eb7fee6e2a00326c03aa013058247e06279a4930)
2008-05-09cldap: move out cldap object to fix the build.Günther Deschner1-84/+0
Guenther (This used to be commit 56be9c98d24e64bf855439df21766d30f448f407)
2008-05-09dsgetdcname: fix gencache store for dsgetdcname().Günther Deschner1-20/+184
While storing always a type 29 reply structure in gencache, we are now able to deliver correct data according to return flags such as DS_RETURN_FLAT_NAME and DS_RETURN_DNS_NAME out of the cached data from gencache. Guenther (This used to be commit c67b6dc0ca866781043e443177d550e23b83ae36)
2008-05-09dsgetdcname: pure cosmetics.Günther Deschner1-6/+6
Guenther (This used to be commit 4b56c294e8ba045c84cab538b3d286e433d292ed)
2008-05-09dsgetdcname: simply call ourself with DS_FORCE_REDISCOVERY after cache expiry.Günther Deschner1-16/+8
Guenther (This used to be commit 847f258632f6d49a3fd45f466c5d3d8c6222ff85)
2008-05-09dsgetdcname: be more paranoid about the existance of an ip_address.Günther Deschner1-6/+36
Guenther (This used to be commit d13fe66f3d9ba152e3e8197ee6682e175163a6cd)
2008-05-09dsgetdcname: remove invalid assumption in discover_dc_dns().Günther Deschner1-5/+0
Guenther (This used to be commit f48b2e844b673e99c84cb24f3c3718352ab93ce5)
2008-05-09dsgetdcname: mailslot replies are identical to the cldap ones, use cldap ↵Günther Deschner2-81/+60
everywhere. Guenther (This used to be commit fe904ee77a7fec1674e9db660978c40c17897f77)
2008-05-09dsgetdcname: wait a little longer for mailslot replies.Günther Deschner1-2/+2
Guenther (This used to be commit bc0d7a90dcc7bf702b24feb16abf4634ff178671)
2008-05-09dsgetdcname: map additional flags to nt_version.Günther Deschner1-0/+2
Guenther (This used to be commit 1009123b8600e6ccebe180f4a2f87c217638fef8)
2008-05-09dsgetdcname: use make_dc_info_from_cldap_reply() for cldap replies.Günther Deschner1-63/+21
Guenther (This used to be commit a3e5b073f0474543ca74b40775ce1d7f80719c96)
2008-05-09dsgetdcname: add make_dc_info_from_cldap_reply().Günther Deschner1-0/+146
Guenther (This used to be commit 9db2e50a20caabaf90ce03203a066ddd7820d33a)
2008-05-09dsgetdcname: add get_cldap_reply_server_flags().Günther Deschner1-0/+32
Guenther (This used to be commit 3c05c56d4c0aac8106684cda3152c65299c63075)
2008-05-09cldap: let ads_cldap_netlogon() return all possible cldap replies.Günther Deschner1-4/+2
Guenther (This used to be commit 6f9d5e1cc94bc90685b54c04622b8f3357bd2f69)
2008-05-09dsgetdcname: add pull_mailslot_cldap_reply().Günther Deschner1-0/+84
Guenther (This used to be commit 95fb01d8702342265f8837a368dc42f4a4d394d5)
2008-05-09dsgetdcname: add map_ds_flags_to_nt_version.Günther Deschner1-0/+28
Guenther (This used to be commit 1809ea22c31ee28e109f49701f91534177027165)
2008-05-07dsgetdcname: remove invalid assumptions when using DNS for the DC query.Günther Deschner1-11/+2
Guenther (This used to be commit a81818ae54159755df441cc6421e5b272035f412)
2008-05-06build: fix the build w/o ldap.Günther Deschner1-1/+3
Guenther (This used to be commit a159ec5f1f3ec8e9232b8f3230a996a3f9986bc1)
2008-05-06mailslot/cldap: use nt_version bits in queries.Günther Deschner1-1/+4
Guenther (This used to be commit b261f063125f8454d8f4e8f6b6f8aa5bc393ea34)