summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Add async cli_pull support"Volker Lendecke2008-03-031-15/+27
| | | | | This reverts commit 844a163458c7585e4306a21ffdae5d08e03d6e4d. (cherry picked from commit 5ab1cfda500de07ff3c712442ab2fc74eecc8886)
* Add async cli_pull supportVolker Lendecke2008-02-281-27/+15
| | | | | | | | | | | | 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.
* Change the client library to write directly out ofJeremy Allison2007-11-021-0/+30
| | | | | | | the incoming buffer in the non-signed case. Speeds up writes by over 10% or so. Complete the server recvfile implementation. Jeremy.
* Add printout of large read/write caps if detected.Jeremy Allison2007-10-311-0/+6
| | | | Jeremy.
* Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison2007-10-271-1/+1
| | | | | | | | zero_addr(&ss). All current uses were always of the AF_INET form, so simplify the call. If in the future we need to zero an addr to AF_INET6 this can be done separately. Jeremy.
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-241-9/+9
| | | | | | | | | | | | | to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-34/+34
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison2007-10-101-2/+2
| | | | | | | | | | IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy.
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-testGerald (Jerry) Carter2007-10-101-67/+18
|
* r25169: Fix bug 4028Volker Lendecke2007-10-101-0/+4
|
* r24223: Convert reply_echo to the new APIVolker Lendecke2007-10-101-4/+6
|
* r24036: Fix dfs rename bug in smbclient reported by Thomas Bork ↵Jeremy Allison2007-10-101-5/+14
| | | | | | | <tombork@web.de>. Couldn't rename file as we weren't DFS enabling the target path. Jeremy.
* r23989: For testing purposes, add "echo" to smbclientVolker Lendecke2007-10-101-0/+19
|
* r23825: Add ".." command as an alias to "cd ..".Günther Deschner2007-10-101-1/+15
| | | | Guenther
* r23824: Add ls alias for lazy typers like me.Günther Deschner2007-10-101-0/+1
| | | | Guenther
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23571: Fix, parsing of multi byte share names.Simo Sorce2007-10-101-16/+10
| | | | | | | | | | | Thanks to SATOH Fumiyasu Fixes 4720 Jerry, this is a showstopper for 3.0.25b, please grab it into SAMBA_3_0_RELEASE before cuting the tarballs. Simo.
* r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison2007-10-101-2/+8
| | | | | Long overdue fix.... Jeremy.