summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2008-09-24Use common crc32 implementation.Jelmer Vernooij2-3/+3
2008-09-24s3-nbt: use the new generated nbt.Günther Deschner2-293/+120
Guenther
2008-09-23s3: fix NETLOGON_NT_VERSION version flags.Günther Deschner1-10/+10
Guenther
2008-09-23s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.Günther Deschner1-1/+1
Guenther
2008-09-23s3: use samba4 prototype for ndr_push/pull_struct_blob.Günther Deschner2-4/+4
Guenther
2008-09-21netlogon: move password change code out to rpccli_netlogon_set_trust_password.Günther Deschner1-94/+5
Guenther
2008-09-21netlogon: refactor just_change_the_password a bit.Günther Deschner1-22/+16
Guenther
2008-09-21netlogon: use init_netr_CryptPassword in "just_change_the_password"Günther Deschner1-13/+10
Guenther
2008-09-21Make use of TALLOC_ZERO_PVolker Lendecke1-3/+1
2008-09-17Remove a cast -- thanks metzeVolker Lendecke1-2/+2
2008-09-12Factor out validate_smb_cryptoVolker Lendecke1-41/+53
(This used to be commit 37fcc9dc462dfb006fdac294e49c0dae7588c103)
2008-09-12Fix "make test" -- gna...Volker Lendecke1-1/+1
(This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6)
2008-09-12remove a pointless empty lineVolker Lendecke1-1/+0
(This used to be commit fba250ece45f6632c7d89b0ea28baab047e41a8f)
2008-09-12Add a paranoia check on incoming PDUsVolker Lendecke1-0/+7
(This used to be commit 8b81b85200b7ca18cf81fdbbc3254d8578b35f43)
2008-09-12doserr: add WERR_NO_SUCH_ALIAS.Günther Deschner1-0/+1
Guenther (This used to be commit e065802a61f22e9fdcd4b911805c42c46a79b3f2)
2008-09-12fix nonempty blank linesVolker Lendecke1-98/+98
(This used to be commit 3111428dd42abf856f646f2a3aa2ee78ff3d3702)
2008-09-11Fix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu ↵Jeremy Allison1-34/+55
<fumiyas@osstech.co.jp>. Fix for smbclient and libsmbclient. Jeremy. (This used to be commit dbd5d6b145528527a614c6207d81a6c955e57461)
2008-09-10Fix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.Jeremy Allison1-2/+14
Jeremy. (This used to be commit a59bd0e4854117a8646f4d388a0f7285362d5ba2)
2008-09-10Fix some bogus compiler warningsVolker Lendecke1-5/+10
(This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)
2008-09-09Fix make test on sparc and possibly also on AIXVolker Lendecke1-1/+3
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)
2008-09-09Convert cli_query_secdesc to the async trans callVolker Lendecke1-21/+16
(This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)
2008-09-09Convert cli_qfileinfo to the async trans callVolker Lendecke1-21/+19
(This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)
2008-09-09Add async trans/trans2/nttrans calls to libsmbVolker Lendecke1-0/+701
Logic stolen from Samba4, naturally the specific implementation differs a bit. (This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)
2008-09-09Move setting the mid field in req->outbuf from _cork to _uncorkVolker Lendecke1-1/+1
The async trans calls need this, as for secondary trans calls they have to modify the MID from what cli_request_chain() gave us. (This used to be commit c85de4b7b5db8b54b8bf0f91acbd6d08d1b0bc9d)
2008-09-09Add utility function cli_in_chain()Volker Lendecke1-0/+15
This gives a hint whether a function is called from within the middle of a chain. In particular the trans calls don't really like this. (This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)
2008-09-09make smb_bytes_push_str publicVolker Lendecke1-1/+1
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
2008-09-09Fix a memleak in cli_qfilename (only used in smbtorture)Volker Lendecke1-0/+5
(This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)
2008-09-05Protect against a closed socketVolker Lendecke1-0/+5
(This used to be commit d6cb5fdafbddb08d32b788674eff509cae9525c6)
2008-09-05Do proper error handling if the socket is closedVolker Lendecke1-2/+8
(This used to be commit e5a27773f97d7017cfa345799c6803fd82c8e797)
2008-09-04Cleanup of DC enumeration in get_dcs()Steven Danneman1-1/+1
This is a fix for a few small inefficiencies/bugs in the get_dcs() path. * because the third add_one_dc_unique() loop was outside the ADS check all DCs returned from the non-sitename lookup were being tacked onto the dc_name_ip list twice. * add_one_dc_unique() now checks if the given IP address already exists before adding it to the list, making the returned list actually unique * added more thorough doxygen comment headers (This used to be commit cb2d488e1dbd90953c496c5e25d648977884f7e3)
2008-09-02doserr: add WERR_WRONG_PASSWORD.Günther Deschner1-0/+2
Guenther (This used to be commit 977fec76b77639403ba9ab7bb00c57601e23493d)
2008-09-01Fix some nonempty blank linesVolker Lendecke1-11/+11
(This used to be commit 9336cd1c5e5b5d113cd4912d4479dfe609fe261e)
2008-09-01Fix typoVolker Lendecke1-1/+1
(This used to be commit 544d1fd19a7e85af5f522c5b6b4b68c6beb093a6)
2008-08-31Remove a duplicate retval checkVolker Lendecke1-8/+2
Jeremy, please check! (This used to be commit 6579005e6490f1a99b3860627ba51decaeb864bd)
2008-08-29kerberos: use KRB5_KT_KEY macro where appropriate.Günther Deschner1-15/+5
Guenther (This used to be commit a042dffd7121bda3dbc9509f69fcfae06ed4cc22)
2008-08-29kerberos: move the KRB5_KEY* macros to header file.Günther Deschner1-12/+0
Guenther (This used to be commit c28fa17ffffee3e6fd4897c9c6b4937388a19600)
2008-08-28Remove cli_request_get()Volker Lendecke3-23/+16
req->private_data==NULL at this point is definitely a bug. (This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e)
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)