summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2008-07-21Remove one reference to PI_LSARPCVolker Lendecke1-1/+2
(This used to be commit 40247e8d3d53502fa8d7cc6b3eb9ed43f51142f3)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmsspVolker Lendecke1-7/+7
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit a13f0599551609394904b99e4014d580ec65c506)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke4-12/+15
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-07-17Use the macro to call samba_version_string().Andreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit d2682295f55a18d526434062834c033aa18e794b)
2008-07-16The compatibility function also should have a const buffer pointerDerrell Lipman1-1/+1
(This used to be commit b731447ec539d454002300fd755dddcad2351d6c)
2008-07-16The buf in the smbclient write function should be const.Andreas Schneider1-1/+1
As we try to provide POSIX function, we should use const like all other POSIX function. Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com> (This used to be commit 36e5df59544de9df140ca40ad0efd77afd8e1468)
2008-07-16Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-testDerrell Lipman2-2/+24
(This used to be commit 11d74fc51c637b8129304b5de85bbe02a86a69ce)
2008-07-16Fix typos.Derrell Lipman1-1/+1
libsmbclient doesn't have bool defined; rather it uses smbc_bool Derrell (This used to be commit e1ade80f468e8ed827f9d4fd035d79546fa0ee0a)
2008-07-15Release still reachable memory if the smbclient context is freed.Andreas Schneider1-0/+19
Signed-off-by: Andreas Schneider <anschneider@suse.de> (This used to be commit 7a65053bc8579b4f56045fb2c658a91a4af0dfea)
2008-07-15fix build warning.Günther Deschner1-2/+5
Guenther (This used to be commit 507660706901a79544d436046127947e4baa7e52)
2008-07-11Revert "Pass NULL to gencache_get when we are not interested in the timeout ↵Volker Lendecke3-5/+10
value" This reverts commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0. (This used to be commit 114ca8577568cdb5a81d8734f1d1d096f1b36c36)
2008-07-11Revert "Remove gencache_[un]lock_entry"Volker Lendecke1-2/+10
This reverts commit 7a5a575ffe5196caecedc93970a25abfbe6f8059. (This used to be commit 62e444dd50ae974c2ab9a553cdf7f188a8f2c538)
2008-07-08[BUG 5580] Allow access to DFS shares via libsmbclientDerrell Lipman1-0/+20
Brian Sheehan provided a nice patch intended for the 3.0 code base. This commit applies a similar patch for the 3.3 code base. It adds a new public function to libsmbclient -- smbc_set_credentials() -- that may be called from the authentication callback when DFS referrals are in use. Derrell (This used to be commit 888f922bd0d1c84a687d404e95ae314a9dd0aee1)
2008-07-03Remove gencache_[un]lock_entryVolker Lendecke1-10/+2
Günther agreed that it might be unnecessary in dsgetdcname_cache_store() :-) (This used to be commit 7a5a575ffe5196caecedc93970a25abfbe6f8059)
2008-07-03Pass NULL to gencache_get when we are not interested in the timeout valueVolker Lendecke3-10/+5
(This used to be commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0)
2008-07-01Two more fixes from Jim Brown <jim.brown@miami.edu> for SGI compiler warnings.Jeremy Allison1-1/+6
Jeremy. (This used to be commit d85cbdbe296ec6de5bdbd66a90ca41345f55c837)
2008-06-26Fix return of uninitialized variable.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 384052f546af8c1c6848c03cad4f2ba618ba7209)
2008-06-26errors: add WERR_DS_DRA_BAD_NC and WERR_DS_DRA_BAD_DN.Günther Deschner1-0/+4
Guenther (This used to be commit 2efe18f7c96d8d122943342b9af1db62a1432771)
2008-06-25rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.Günther Deschner1-3/+3
Guenther (This used to be commit 5b4650d56c04be0c498413f17afb2cf6d0e7d548)
2008-06-24crypto: add decrypt_drsuapi_blob from samba4.Günther Deschner1-0/+114
Guenther (This used to be commit 3b6352a60e6683963af1641786f9c230d49ebfb5)
2008-06-24kerberos: add smb_krb5_keytab_name().Günther Deschner1-0/+22
Guenther (This used to be commit c273ce8798062d1b55100411f3e92a01bdbf611c)
2008-06-24kerberos: make smb_krb5_kt_add_entry public, allow to pass keys without ↵Günther Deschner1-18/+38
salting them. Guenther (This used to be commit 7c4da23be1105dc224033b21eb486e7fcdc7d9c5)
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)