summaryrefslogtreecommitdiff
path: root/source3/client/client.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-08Fix bug #5247 "Wildcard expansion in mget is broken"Jeremy Allison1-71/+38
for 3.2. Jeremy. (This used to be commit 69aa0766203cb88b8b07e364f7148ade809f5ce6)
2008-02-02Convert receive_smb_raw to NTSTATUSVolker Lendecke1-3/+24
(This used to be commit ba771bd858602452a9e58c3aab1336f2ac8a25ef)
2008-01-23strtok -> strtok_rVolker Lendecke1-2/+3
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2008-01-18Fix error message for new allinfo command.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3a1bcbfa7ca2b55265eb486e2b7c740e04775698)
2008-01-18Add the "allinfo" command to smbclientVolker Lendecke1-0/+88
Modeled after the Samba4 allinfo command (This used to be commit 3fa0cf3fe5f819f6e76df6f7cef3bb4e1c307a52)
2008-01-09Correct comment. Default debug level of smbclient is 1, not 0.Karolin Seeger1-1/+1
(This used to be commit 9c81125e6d3df49806e1c0b39409ffac8e3a0fd1)
2008-01-05Use the common -e option not the custom one.Jeremy Allison1-1/+1
Jeremy. (This used to be commit ef1bbcdfb98da185c07005dd7810039f99f0685f)
2008-01-04Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-2/+8
v3-2-test (This used to be commit 3a45f62310faf63cd6864d2cb10f941492eda818)
2008-01-04Fix idle client reading keepalive.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4ce0bf785635371e2923217b1e0b7f30986c25bb)
2008-01-04Refactor the crypto code after a very helpful conversationJeremy Allison1-2/+8
with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8)
2007-12-30We may use 127k read/write for encrypted connections.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 656c9d0844e3d9d87ae768fe5a5538759b94d953)
2007-12-29Fix error message.Jeremy Allison1-1/+1
Jeremy. (This used to be commit a0494b115b644c1c4afa50442c46a54779687571)
2007-12-29Added -e, --encrypt option to smbclient that immediatelyJeremy Allison1-10/+35
forces encrypted smb after initial connect. Will document for 3.2 official release. Jeremy. (This used to be commit f02bf419282419950471deae74c4a6fe1543ed26)
2007-12-27Add the capability to set "smb encrypt = required"Jeremy Allison1-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. (This used to be commit d241bfa57729bb934ada6beabf842a2ca7b4f8a2)
2007-12-26Add SMB encryption. Still fixing client decrypt butJeremy Allison1-0/+43
negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
2007-12-21Remove next_token_nr_talloc and its associated globalVolker Lendecke1-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. (This used to be commit 86d9412611fd99c21e15c71d30a3f95e35d8535b)
2007-12-17Add smbclient support for basic mDNS browsing.Rishi Srivatsavai1-0/+7
Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification and minor syle changes by me. (This used to be commit db74b99d0ef1a60894c838b4c9d0d454db6cf620)
2007-12-14Revert smbclient changes.Karolin Seeger1-5/+0
Patch broke option -p. Sorry for breaking the build! Karolin (This used to be commit 81dab4145ffaf21d5d2176b16b5989f4035dd791)
2007-12-14Make smbclient to display error message and usage in the case of invalid ↵Karolin Seeger1-0/+5
options. (This used to be commit 04131b26de08b3cea948ef89921c56561d69dd1d)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-2/+2
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-09Move load_case_tables() to after logging is set up. This can logJames Peach1-1/+2
errors. (This used to be commit ffee51586cfc32a7e394f606e5021ee8fd198559)
2007-12-08Fix C++ warningsVolker Lendecke1-1/+1
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
2007-12-07More null deref fixes.Jeremy Allison1-4/+4
Jeremy. (This used to be commit efaebdb141a841ec083f20f8905ae0294b81d0d6)
2007-12-07More null deref fixes.Jeremy Allison1-1/+1
Jeremy (This used to be commit 78c98796d9328723b7c46012adf5393134a4fea3)
2007-12-07Don't deref null pointers.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 686e4e5efe23e074b661e876b6b118c03ff0058d)
2007-12-06Add popt to binaries in makefile. Hack clitar to compile until I fix it.Jeremy Allison1-7/+5
Jeremy. (This used to be commit 252ef28bb8f1406fdd92edba8538cb9e88f0b77f)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison1-981/+1555
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-06Remove trailing slashes from service nameAndreas Schneider1-0/+7
(This used to be commit a9b686bfdcf993d5423875543f154607836ac143)
2007-11-29Remove PSTRING_LEN from smbd/ nmbd/.Jeremy Allison1-38/+47
Remove pstring from libsmb/clidfs.c except for a nasty hack (that will be removed when pstrings are gone from client/). Jeremy. (This used to be commit cc257b71d13daa47e6f2315d0f07a60eb4aaeca6)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison1-7/+9
one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
2007-11-05Remove the horror that was the global smb_rw_error.Jeremy Allison1-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. (This used to be commit 255c2adf7b6ef30932b5bb9f142ccef4a5d3d0db)
2007-11-02Change the client library to write directly out ofJeremy Allison1-0/+30
the incoming buffer in the non-signed case. Speeds up writes by over 10% or so. Complete the server recvfile implementation. Jeremy. (This used to be commit 81ca5853b2475f123faab3b550f0a7b24ae3c208)
2007-10-31Add printout of large read/write caps if detected.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 52f13d84955224ebbaead53d8428baade6a22fe0)
2007-10-27Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison1-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 used to be commit 2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison1-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. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison1-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. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-67/+18
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25169: Fix bug 4028Volker Lendecke1-0/+4
(This used to be commit 1a022267003480b4487a780ebaa6016f491828a3)
2007-10-10r24223: Convert reply_echo to the new APIVolker Lendecke1-4/+6
(This used to be commit 4863ff2899419e791ed0e340821072d004fb1d17)
2007-10-10r24036: Fix dfs rename bug in smbclient reported by Thomas Bork ↵Jeremy Allison1-5/+14
<tombork@web.de>. Couldn't rename file as we weren't DFS enabling the target path. Jeremy. (This used to be commit cd66c133a1b010874ea9e7a500ea24c52011e523)
2007-10-10r23989: For testing purposes, add "echo" to smbclientVolker Lendecke1-0/+19
(This used to be commit 4cdfc887545f7367239c73b0fecf173970bbc5d2)
2007-10-10r23825: Add ".." command as an alias to "cd ..".Günther Deschner1-1/+15
Guenther (This used to be commit c254c5e2549b2a4fe4895b467c4802f4b8ddb2f3)
2007-10-10r23824: Add ls alias for lazy typers like me.Günther Deschner1-0/+1
Guenther (This used to be commit cdec09956c941d7ea9d67dc03959f2bdf9a37cb2)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23571: Fix, parsing of multi byte share names.Simo Sorce1-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. (This used to be commit d2846e6b90e8774a729e6cf3a0c809aa8ff4a93a)
2007-10-10r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison1-2/+8
Long overdue fix.... Jeremy. (This used to be commit 073fdc5a58139796dbaa7ea9833dca5308f11282)
2007-10-10r22354: Make client select krb5 encrpyt if krb5 already on.Jeremy Allison1-23/+28
Jeremy. (This used to be commit 7b89a5de57cd5fed814eda95e44dcc345f380fb2)
2007-10-10r22155: Fixed warning #4498 from jason@ncac.gwu.edu.Jeremy Allison1-2/+2
Jeremy. (This used to be commit f1b22c952719f004d7e33813c4d0f10514e1fff9)