summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* netlogon: move password change code out to rpccli_netlogon_set_trust_password.Günther Deschner2008-09-211-94/+5
| | | | Guenther
* netlogon: refactor just_change_the_password a bit.Günther Deschner2008-09-211-22/+16
| | | | Guenther
* netlogon: use init_netr_CryptPassword in "just_change_the_password"Günther Deschner2008-09-211-13/+10
| | | | Guenther
* Make use of TALLOC_ZERO_PVolker Lendecke2008-09-211-3/+1
|
* Remove a cast -- thanks metzeVolker Lendecke2008-09-171-2/+2
|
* Factor out validate_smb_cryptoVolker Lendecke2008-09-121-41/+53
| | | | (This used to be commit 37fcc9dc462dfb006fdac294e49c0dae7588c103)
* Fix "make test" -- gna...Volker Lendecke2008-09-121-1/+1
| | | | (This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6)
* remove a pointless empty lineVolker Lendecke2008-09-121-1/+0
| | | | (This used to be commit fba250ece45f6632c7d89b0ea28baab047e41a8f)
* Add a paranoia check on incoming PDUsVolker Lendecke2008-09-121-0/+7
| | | | (This used to be commit 8b81b85200b7ca18cf81fdbbc3254d8578b35f43)
* doserr: add WERR_NO_SUCH_ALIAS.Günther Deschner2008-09-121-0/+1
| | | | | Guenther (This used to be commit e065802a61f22e9fdcd4b911805c42c46a79b3f2)
* fix nonempty blank linesVolker Lendecke2008-09-121-98/+98
| | | | (This used to be commit 3111428dd42abf856f646f2a3aa2ee78ff3d3702)
* Fix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu ↵Jeremy Allison2008-09-111-34/+55
| | | | | | | | <fumiyas@osstech.co.jp>. Fix for smbclient and libsmbclient. Jeremy. (This used to be commit dbd5d6b145528527a614c6207d81a6c955e57461)
* Fix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.Jeremy Allison2008-09-101-2/+14
| | | | | Jeremy. (This used to be commit a59bd0e4854117a8646f4d388a0f7285362d5ba2)
* Fix some bogus compiler warningsVolker Lendecke2008-09-101-5/+10
| | | | (This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)
* Fix make test on sparc and possibly also on AIXVolker Lendecke2008-09-091-1/+3
| | | | (This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)
* Convert cli_query_secdesc to the async trans callVolker Lendecke2008-09-091-21/+16
| | | | (This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)
* Convert cli_qfileinfo to the async trans callVolker Lendecke2008-09-091-21/+19
| | | | (This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)
* Add async trans/trans2/nttrans calls to libsmbVolker Lendecke2008-09-091-0/+701
| | | | | Logic stolen from Samba4, naturally the specific implementation differs a bit. (This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)
* Move setting the mid field in req->outbuf from _cork to _uncorkVolker Lendecke2008-09-091-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)
* Add utility function cli_in_chain()Volker Lendecke2008-09-091-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)
* make smb_bytes_push_str publicVolker Lendecke2008-09-091-1/+1
| | | | (This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
* Fix a memleak in cli_qfilename (only used in smbtorture)Volker Lendecke2008-09-091-0/+5
| | | | (This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)
* Protect against a closed socketVolker Lendecke2008-09-051-0/+5
| | | | (This used to be commit d6cb5fdafbddb08d32b788674eff509cae9525c6)
* Do proper error handling if the socket is closedVolker Lendecke2008-09-051-2/+8
| | | | (This used to be commit e5a27773f97d7017cfa345799c6803fd82c8e797)
* Cleanup of DC enumeration in get_dcs()Steven Danneman2008-09-041-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)
* doserr: add WERR_WRONG_PASSWORD.Günther Deschner2008-09-021-0/+2
| | | | | Guenther (This used to be commit 977fec76b77639403ba9ab7bb00c57601e23493d)
* Fix some nonempty blank linesVolker Lendecke2008-09-011-11/+11
| | | | (This used to be commit 9336cd1c5e5b5d113cd4912d4479dfe609fe261e)
* Fix typoVolker Lendecke2008-09-011-1/+1
| | | | (This used to be commit 544d1fd19a7e85af5f522c5b6b4b68c6beb093a6)
* Remove a duplicate retval checkVolker Lendecke2008-08-311-8/+2
| | | | | Jeremy, please check! (This used to be commit 6579005e6490f1a99b3860627ba51decaeb864bd)
* kerberos: use KRB5_KT_KEY macro where appropriate.Günther Deschner2008-08-291-15/+5
| | | | | Guenther (This used to be commit a042dffd7121bda3dbc9509f69fcfae06ed4cc22)
* kerberos: move the KRB5_KEY* macros to header file.Günther Deschner2008-08-291-12/+0
| | | | | Guenther (This used to be commit c28fa17ffffee3e6fd4897c9c6b4937388a19600)
* Remove cli_request_get()Volker Lendecke2008-08-283-23/+16
| | | | | req->private_data==NULL at this point is definitely a bug. (This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e)
* Add async smbecho client supportVolker Lendecke2008-08-281-27/+139
| | | | (This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
* Add cli_request->recv_helperVolker Lendecke2008-08-281-1/+6
| | | | | Necessary for requests with multiple replies (This used to be commit cb2e338eb33dfb4627f9b43456af0c86d7d268c6)
* Activate code to enable chained requestsVolker Lendecke2008-08-281-176/+27
| | | | | Add the CHAIN1 torture test (This used to be commit 82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)
* This adds the code to allow chained requests in libsmb/Volker Lendecke2008-08-281-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)
* Move "struct cli_request" from client.h to async_smb.hVolker Lendecke2008-08-281-6/+32
| | | | | Also add some comments (This used to be commit 2ecc311f785317caf5b60051147dcd085c80d64f)
* Add cli_pull_replyVolker Lendecke2008-08-283-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)
* Remove cli->event_ctx, pass it explicitlyVolker Lendecke2008-08-283-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)
* Add async open&xVolker Lendecke2008-08-281-33/+117
| | | | (This used to be commit faf353edd60967efac4d5c222db14fa730866273)
* Add async cli_closeVolker Lendecke2008-08-281-13/+38
| | | | (This used to be commit f84a2b5dbf8a072a9e356fa39523f65d042a2643)
* Refactoring: Add the routine cli_request_send()Volker Lendecke2008-08-282-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)
* Correct the netsamlogon_clear_cached_user function.Ephi Dror2008-08-271-36/+18
| | | | (This used to be commit bb13312d9d53b1e048b3a0bfeeca088f9db84cd3)
* Revert "Protect against short read&x replies"Volker Lendecke2008-08-231-4/+0
| | | | | | | | | This reverts commit 4ed73cbbbeff4b554cc8d28252b756241396b3a1. ... how did this end up here?? Volker (This used to be commit 7dd9fd0956bd1c46105d1072c4774972933ab9ec)
* Protect against short read&x repliesVolker Lendecke2008-08-231-0/+4
| | | | (This used to be commit 4ed73cbbbeff4b554cc8d28252b756241396b3a1)
* Fix Bug #5710 and make machine account password changing work again.Günther Deschner2008-08-211-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)
* Fix length error in wrapping spnego blobIgor Mammedov2008-08-181-1/+1
| | | | (This used to be commit 16ee95494ba495c5f5ff8779206f380db1067b2d)
* Prevent NT_STATUS 0xF1000000 errors from appearing whenJim McDonough2008-08-141-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)
* Revert "If it is a forced DOS error, nt_errstr should say so"Volker Lendecke2008-08-131-5/+0
| | | | | This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f. (This used to be commit e987e9956f02557c7ec87a369b92f87083fda620)
* If it is a forced DOS error, nt_errstr should say soVolker Lendecke2008-08-131-0/+5
| | | | (This used to be commit ef5489ac805237274d6088aaa7ae870cc0deb52f)