summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* Factor out validate_smb_cryptoVolker Lendecke2008-09-121-41/+53
|
* Fix "make test" -- gna...Volker Lendecke2008-09-121-1/+1
|
* remove a pointless empty lineVolker Lendecke2008-09-121-1/+0
|
* Add a paranoia check on incoming PDUsVolker Lendecke2008-09-121-0/+7
|
* doserr: add WERR_NO_SUCH_ALIAS.Günther Deschner2008-09-121-0/+1
| | | | Guenther
* fix nonempty blank linesVolker Lendecke2008-09-121-98/+98
|
* 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.
* Fix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.Jeremy Allison2008-09-101-2/+14
| | | | Jeremy.
* Fix some bogus compiler warningsVolker Lendecke2008-09-101-5/+10
|
* Fix make test on sparc and possibly also on AIXVolker Lendecke2008-09-091-1/+3
|
* Convert cli_query_secdesc to the async trans callVolker Lendecke2008-09-091-21/+16
|
* Convert cli_qfileinfo to the async trans callVolker Lendecke2008-09-091-21/+19
|
* Add async trans/trans2/nttrans calls to libsmbVolker Lendecke2008-09-091-0/+701
| | | | Logic stolen from Samba4, naturally the specific implementation differs a bit.
* 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.
* 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.
* make smb_bytes_push_str publicVolker Lendecke2008-09-091-1/+1
|
* Fix a memleak in cli_qfilename (only used in smbtorture)Volker Lendecke2008-09-091-0/+5
|
* Protect against a closed socketVolker Lendecke2008-09-051-0/+5
|
* Do proper error handling if the socket is closedVolker Lendecke2008-09-051-2/+8
|
* 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
* doserr: add WERR_WRONG_PASSWORD.Günther Deschner2008-09-021-0/+2
| | | | Guenther
* Fix some nonempty blank linesVolker Lendecke2008-09-011-11/+11
|
* Fix typoVolker Lendecke2008-09-011-1/+1
|
* Remove a duplicate retval checkVolker Lendecke2008-08-311-8/+2
| | | | Jeremy, please check!
* kerberos: use KRB5_KT_KEY macro where appropriate.Günther Deschner2008-08-291-15/+5
| | | | Guenther
* kerberos: move the KRB5_KEY* macros to header file.Günther Deschner2008-08-291-12/+0
| | | | Guenther
* Remove cli_request_get()Volker Lendecke2008-08-283-23/+16
| | | | req->private_data==NULL at this point is definitely a bug.
* Add async smbecho client supportVolker Lendecke2008-08-281-27/+139
|
* Add cli_request->recv_helperVolker Lendecke2008-08-281-1/+6
| | | | Necessary for requests with multiple replies
* Activate code to enable chained requestsVolker Lendecke2008-08-281-176/+27
| | | | Add the CHAIN1 torture test
* 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.
* Move "struct cli_request" from client.h to async_smb.hVolker Lendecke2008-08-281-6/+32
| | | | Also add some comments
* 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.
* 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.
* Add async open&xVolker Lendecke2008-08-281-33/+117
|
* Add async cli_closeVolker Lendecke2008-08-281-13/+38
|
* 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.
* Correct the netsamlogon_clear_cached_user function.Ephi Dror2008-08-271-36/+18
|
* Revert "Protect against short read&x replies"Volker Lendecke2008-08-231-4/+0
| | | | | | | | This reverts commit 4ed73cbbbeff4b554cc8d28252b756241396b3a1. ... how did this end up here?? Volker
* Protect against short read&x repliesVolker Lendecke2008-08-231-0/+4
|
* 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
* Fix length error in wrapping spnego blobIgor Mammedov2008-08-181-1/+1
|
* 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.
* Revert "If it is a forced DOS error, nt_errstr should say so"Volker Lendecke2008-08-131-5/+0
| | | | This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f.
* If it is a forced DOS error, nt_errstr should say soVolker Lendecke2008-08-131-0/+5
|
* Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX.Jeremy Allison2008-08-121-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.
* doserr: add WERR_MEMBER_IN_ALIAS.Günther Deschner2008-08-111-0/+1
| | | | Guenther
* fix build warning.Günther Deschner2008-08-111-1/+1
| | | | Guenther
* One more build fix. Ensure we have KRB5_AUTH_CONTEXT_USE_SUBKEY defined ↵Jeremy Allison2008-08-081-3/+3
| | | | | | before we compile the new code. Jeremy.
* Try and fix the build for systems that don't have ↵Jeremy Allison2008-08-081-3/+3
| | | | | | krb5_auth_con_set_req_cksumtype(). Jeremy.