summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the given name, not the absolute pathname, when printing out ACL info.Jeremy Allison2008-09-111-1/+1
| | | | | Make this match the non-ACL case. Jeremy.
* Fix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu ↵Jeremy Allison2008-09-111-1/+1
| | | | | | | <fumiyas@osstech.co.jp>. Fix for smbclient and libsmbclient. Jeremy.
* Clarify usage of "force create mode".Jeremy Allison2008-08-281-1/+1
| | | | Jeremy.
* Add async smbecho client supportVolker Lendecke2008-08-281-4/+6
|
* Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke2008-07-201-2/+3
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Fix a brown paper bag segfault in clitarVolker Lendecke2008-06-171-1/+1
| | | | | | | Thanks to "No Body is Perfect" from gmail, whoever that is :-) Volker (cherry picked from commit 679d8dfa390601f777bfb43c02cd921eae5edcf4)
* Security fix for CVE-2008-1105: Boundary failure when parsing SMB responsesJeremy Allison2008-05-281-1/+1
| | | | | can result in a buffer overrun. Jeremy.
* Fix client authentication with -P switch in client tools (Bug 5435).Günther Deschner2008-05-051-0/+5
| | | | Guenther
* Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke2008-04-201-2/+2
|
* Add "desthost" to rpc_pipe_clientVolker Lendecke2008-04-201-1/+1
| | | | This reduces the dependency on cli_state
* Fix the problem when -L is used with IPv6 addresses. Don't try toJeremy Allison2008-04-171-0/+8
| | | | | | connect on port 139 with IPv6. Found by David Holder @ Erion. Karolin please merge to 3.2-stable. Jeremy.
* More ssize_t->SMB_OFF_TVolker Lendecke2008-03-281-1/+1
|
* Coverity fixesMarc VanHeyningen2008-03-171-1/+4
|
* Fix Coverity ID 563Volker Lendecke2008-03-151-5/+1
| | | | dirmask is always set here, we've dereferenced it before anyway
* Use rpccli_srvsvc_NetShareEnumAll in smbclient.Günther Deschner2008-03-101-15/+21
| | | | Guenther
* Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman2008-03-061-2/+1
| | | | Derrell
* Change default bufsize to 512kVolker Lendecke2008-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | I did not do any scientific tests, but the dummy test on my laptop against a w2k3 vmware shows that in this specific situation going beyond 512k seems not to gain anything anymore. smb: \> iosize 64512 iosize is now 64512 smb: \> lcd /dev smb: \> get random null getting file \random of size 104857600 as null (33453,1 kb/s) (average 19718,5 kb/s) smb: \> get random null getting file \random of size 104857600 as null (34236,0 kb/s) (average 20509,1 kb/s) smb: \> iosize 524288 iosize is now 524288 smb: \> get random null getting file \random of size 104857600 as null (49042,1 kb/s) (average 22521,9 kb/s) smb: \> get random null getting file \random of size 104857600 as null (49420,8 kb/s) (average 23432,9 kb/s) smb: \> iosize 1048576 iosize is now 1048576 smb: \> get random null getting file \random of size 104857600 as null (49420,8 kb/s) (average 24284,2 kb/s) smb: \> get random null getting file \random of size 104857600 as null (49136,3 kb/s) (average 25076,9 kb/s)
* Use io_bufsize as window size in smbclient get commandVolker Lendecke2008-03-061-1/+1
|
* Add async cli_pull supportVolker Lendecke2008-03-061-29/+16
| | | | | | | | | | | | This is the big (and potentially controversial) one. It took a phone call to explain to metze what is going on inside cli_pull_read_done, but I would really like everybody to understand this function. It is a very good and reasonably complex example of async programming. If we want more asynchronism in s3, this is what we will have to deal with :-) Make use of it in the smbclient "get" command. Volker
* Fix bug #5247 "Wildcard expansion in mget is broken"Jeremy Allison2008-02-081-71/+38
| | | | | for 3.2. Jeremy.
* Convert receive_smb_raw to NTSTATUSVolker Lendecke2008-02-021-3/+24
|
* strtok -> strtok_rVolker Lendecke2008-01-231-2/+3
|
* Fix error message for new allinfo command.Jeremy Allison2008-01-181-1/+1
| | | | Jeremy.
* Add the "allinfo" command to smbclientVolker Lendecke2008-01-181-0/+88
| | | | Modeled after the Samba4 allinfo command
* Correct comment. Default debug level of smbclient is 1, not 0.Karolin Seeger2008-01-091-1/+1
|
* Use the common -e option not the custom one.Jeremy Allison2008-01-051-1/+1
| | | | Jeremy.
* Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2008-01-041-2/+8
|\ | | | | | | v3-2-test
| * Fix idle client reading keepalive.Jeremy Allison2008-01-041-1/+1
| | | | | | | | Jeremy.
| * Refactor the crypto code after a very helpful conversationJeremy Allison2008-01-041-2/+8
| | | | | | | | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy.
* | We may use 127k read/write for encrypted connections.Jeremy Allison2007-12-301-2/+2
|/ | | | Jeremy.
* Fix error message.Jeremy Allison2007-12-291-1/+1
| | | | Jeremy.
* Added -e, --encrypt option to smbclient that immediatelyJeremy Allison2007-12-291-10/+35
| | | | | | forces encrypted smb after initial connect. Will document for 3.2 official release. Jeremy.
* Add the capability to set "smb encrypt = required"Jeremy Allison2007-12-271-2/+15
| | | | | | | | on a share (or global) and have the server reply with ACCESS_DENIED for all non-encrypted traffic (except that used to query encryption requirements and set encryption state). Jeremy.
* Add SMB encryption. Still fixing client decrypt butJeremy Allison2007-12-261-0/+43
| | | | | negotiation works. Jeremy.
* Remove next_token_nr_talloc and its associated globalVolker Lendecke2007-12-211-70/+69
| | | | | | Only client.c and clitar.c used this, I think they should carry the static themselves. Also move the a bit funny routine toktocliplist to clitar.c, the only place where it is used.
* Add smbclient support for basic mDNS browsing.Rishi Srivatsavai2007-12-171-0/+7
| | | | | Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification and minor syle changes by me.
* Revert smbclient changes.Karolin Seeger2007-12-141-5/+0
| | | | | | | Patch broke option -p. Sorry for breaking the build! Karolin
* Make smbclient to display error message and usage in the case of invalid ↵Karolin Seeger2007-12-141-0/+5
| | | | options.
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-2/+2
| | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy.
* Move load_case_tables() to after logging is set up. This can logJames Peach2007-12-091-1/+2
| | | | errors.
* Fix C++ warningsVolker Lendecke2007-12-081-1/+1
|
* More null deref fixes.Jeremy Allison2007-12-071-4/+4
| | | | Jeremy.
* More null deref fixes.Jeremy Allison2007-12-071-1/+1
| | | | Jeremy
* Don't deref null pointers.Jeremy Allison2007-12-071-1/+1
| | | | Jeremy.
* Add popt to binaries in makefile. Hack clitar to compile until I fix it.Jeremy Allison2007-12-061-7/+5
| | | | Jeremy.
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-061-981/+1555
| | | | | Mostly compiles.... Jeremy.
* Remove trailing slashes from service nameAndreas Schneider2007-12-061-0/+7
|
* Remove PSTRING_LEN from smbd/ nmbd/.Jeremy Allison2007-11-291-38/+47
| | | | | | | Remove pstring from libsmb/clidfs.c except for a nasty hack (that will be removed when pstrings are gone from client/). Jeremy.
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-151-7/+9
| | | | | | one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy.
* Remove the horror that was the global smb_rw_error.Jeremy Allison2007-11-051-1/+1
| | | | | | | | | | Each cli struct has it's own local copy of this variable, so use that in client code. In the smbd server, add one static to smbd/proccess.c and use that inside smbd. Fix a bunch of places where smb_rw_error could be set by calling read_data() in places where we weren't reading from the SMB client socket (ie. winbindd). Jeremy.