summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2008-08-28Add async smbecho client supportVolker Lendecke1-27/+139
(This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
2008-08-28Add cli_request->recv_helperVolker Lendecke1-1/+6
Necessary for requests with multiple replies (This used to be commit cb2e338eb33dfb4627f9b43456af0c86d7d268c6)
2008-08-28Activate code to enable chained requestsVolker Lendecke1-176/+27
Add the CHAIN1 torture test (This used to be commit 82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)
2008-08-28This adds the code to allow chained requests in libsmb/Volker Lendecke1-0/+534
This is not compiled yet, but it makes the patches much easier to read if it is add in bulk. (This used to be commit b4c539ba041bab8856c83816f08a35b5f5b21740)
2008-08-28Move "struct cli_request" from client.h to async_smb.hVolker Lendecke1-6/+32
Also add some comments (This used to be commit 2ecc311f785317caf5b60051147dcd085c80d64f)
2008-08-28Add cli_pull_replyVolker Lendecke3-10/+81
Along the lines of cli_request_send this abstracts away the smb-level buffer handling when parsing replies we got from the server. (This used to be commit 253134d3aaa359fdfb665709dd5686f69af7f8fd)
2008-08-28Remove cli->event_ctx, pass it explicitlyVolker Lendecke3-90/+81
Storing the event_context as permanent state in struct cli_state creates more complex code than necessary IMO. (This used to be commit debb37f703075008e5ea7d34d214cfa4d0f8f916)
2008-08-28Add async open&xVolker Lendecke1-33/+117
(This used to be commit faf353edd60967efac4d5c222db14fa730866273)
2008-08-28Add async cli_closeVolker Lendecke1-13/+38
(This used to be commit f84a2b5dbf8a072a9e356fa39523f65d042a2643)
2008-08-28Refactoring: Add the routine cli_request_send()Volker Lendecke2-51/+82
cli_request_send() is supposed to bundle all generic SMB-header handling. This makes cli_request_new static to async_smb.c. (This used to be commit 7e73dd4e7622db64d30d48ba106892e0895fc188)
2008-08-27Correct the netsamlogon_clear_cached_user function.Ephi Dror1-36/+18
(This used to be commit bb13312d9d53b1e048b3a0bfeeca088f9db84cd3)
2008-08-23Revert "Protect against short read&x replies"Volker Lendecke1-4/+0
This reverts commit 4ed73cbbbeff4b554cc8d28252b756241396b3a1. ... how did this end up here?? Volker (This used to be commit 7dd9fd0956bd1c46105d1072c4774972933ab9ec)
2008-08-23Protect against short read&x repliesVolker Lendecke1-0/+4
(This used to be commit 4ed73cbbbeff4b554cc8d28252b756241396b3a1)
2008-08-21Fix Bug #5710 and make machine account password changing work again.Günther Deschner1-23/+52
When we negotiated NETLOGON_NEG_PASSWORD_SET2 we need to use NetrServerPasswordSet2 to change the machine password. Tested with NT4, W2k, W2k3 and W2k8. Guenther (This used to be commit 5820360451e4db0fad0472f814cae667b2ea51fd)
2008-08-18Fix length error in wrapping spnego blobIgor Mammedov1-1/+1
(This used to be commit 16ee95494ba495c5f5ff8779206f380db1067b2d)
2008-08-14Prevent NT_STATUS 0xF1000000 errors from appearing whenJim McDonough1-0/+6
dos errors are used and there is no error. It should be mapped directly to NT_STATUS_OK. smbclient to older servers didn't work. (This used to be commit 78f009b7ef1f1d63b21df9ba6da7fcca01c12109)
2008-08-13Revert "If it is a forced DOS error, nt_errstr should say so"Volker Lendecke1-5/+0
This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f. (This used to be commit e987e9956f02557c7ec87a369b92f87083fda620)
2008-08-13If it is a forced DOS error, nt_errstr should say soVolker Lendecke1-0/+5
(This used to be commit ef5489ac805237274d6088aaa7ae870cc0deb52f)
2008-08-12Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX.Jeremy Allison1-22/+16
Here is a patch to allow many subsystems to be re-initialized. The only functional change I made was to remove the null context tracking, as the memory allocated here is designed to be left for the complete lifetime of the program. Freeing this early (when all smb contexts are destroyed) could crash other users of talloc. Jeremy. (This used to be commit 8c630efd25cf17aff59448ca05c1b44a41964b16)
2008-08-11doserr: add WERR_MEMBER_IN_ALIAS.Günther Deschner1-0/+1
Guenther (This used to be commit b62de0d1944de3dba55e182e0d8eb7c6ca5ec045)
2008-08-11fix build warning.Günther Deschner1-1/+1
Guenther (This used to be commit 85021d6a459c957cc276a93c3515029244f52677)
2008-08-08One more build fix. Ensure we have KRB5_AUTH_CONTEXT_USE_SUBKEY defined ↵Jeremy Allison1-3/+3
before we compile the new code. Jeremy. (This used to be commit 7686752c5b015b15a6729631ba4aeedd25ebc659)
2008-08-08Try and fix the build for systems that don't have ↵Jeremy Allison1-3/+3
krb5_auth_con_set_req_cksumtype(). Jeremy. (This used to be commit 8598e7b06ec57ca6fcde863270e6bb0e2de9993e)
2008-08-08Add Derrick Schommer's <dschommer@F5.com> kerberos delegation patch. SomeJeremy Allison2-3/+185
work by me and advice by Love. Jeremy. (This used to be commit ecc3838e4cb5d0c0769ec6d9a34a877ca584ffcc)
2008-08-07Fix bug #5675 with a varient of Tim Waugh's patch,Jeremy Allison1-3/+2
as proposed by James Peach. Jeremy. (This used to be commit 5c27ad75836136c39774c9456d63f46fa62e281f)
2008-08-04clikrb5: don't use krb5_keyblock_init() when no salt is specifiedStefan Metzmacher1-35/+30
If the caller wants to create a key with no salt we should not use krb5_keyblock_init() (only used when using heimdal) because it does sanity checks on the key length. metze (This used to be commit c83de77b750837a110611d7023c4cf71d2d0bab1)
2008-08-01cli_request_new() already gave use the req, remove a pointless function callVolker Lendecke1-2/+0
(This used to be commit 08e97bd369ebe3ab1fd92433b168585faea92c68)
2008-08-01Fix a typoVolker Lendecke1-5/+5
(This used to be commit 37bd2815c70176046bbe0232222b9f59dfa159c4)
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)