summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
2008-03-15Fix Coverity ID 564Volker Lendecke1-10/+0
finfo1==NULL just does not happen in current code (This used to be commit 9ea0078c3151984a901c9bba559ae2bd7959e077)
2008-03-10Use rpccli_srvsvc_NetShareEnumAll in smbclient.Günther Deschner1-15/+21
Guenther (This used to be commit 1121633652ffb77dce8df9cc91b7dfc2d55fd348)
2008-03-06Eliminate global variable in_client and a plethora of extern declarations.Derrell Lipman2-4/+2
Derrell (This used to be commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
2008-03-06Change default bufsize to 512kVolker Lendecke1-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) (This used to be commit 1bcfef6a9093aa873550a263dc142c8a3f5edffd)
2008-03-06Use io_bufsize as window size in smbclient get commandVolker Lendecke1-1/+1
(This used to be commit e602f06cbba852a7eacd15b2511ef2571a95cc80)
2008-03-06Add async cli_pull supportVolker Lendecke1-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 (This used to be commit 76f9b360ee1d973630d82d401eeddce858189301)
2008-03-01Revert "Add async cli_pull support"Volker Lendecke1-15/+27
This reverts commit 844a163458c7585e4306a21ffdae5d08e03d6e4d. (This used to be commit 5ab1cfda500de07ff3c712442ab2fc74eecc8886)
2008-03-01Revert "Fix warnings"Volker Lendecke1-1/+2
This reverts commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9. (This used to be commit 413695e8d0d8232a9c35e693f9a4a8009418ede4)
2008-02-29Fix warningsVolker Lendecke1-2/+1
(This used to be commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9)
2008-02-28Remove smbmount.Karolin Seeger3-1575/+0
Karolin (This used to be commit 5fbd98f7065268ae134108310119078ad8f62322)
2008-02-28Add async cli_pull supportVolker Lendecke1-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 (This used to be commit 844a163458c7585e4306a21ffdae5d08e03d6e4d)
2008-02-25Do the formatting change in all 3 places :-)Volker Lendecke1-3/+7
(This used to be commit d32066eaef1d09ec41fd5365e18eacd93e485d53)
2008-02-25Fix confusing error message -- bug 5252Volker Lendecke1-3/+5
Thanks to Walter Franzini (This used to be commit 19de47fef1b35c47885acc40760a232e4643079c)
2008-02-22Make sure mount.cifs.c compiles on Fedora 9 with gcc 4.3Simo Sorce1-0/+1
(This used to be commit ce57d388251063c22f89680e9d1c2129d9879975)
2008-02-18Replace C++-style comments with C.Tim Potter1-1/+1
(This used to be commit a1d07469236c06b65f14a59a27d7f7abcb106b5e)
2008-02-14Revert "Merge in J.Layton patch and resolve conflict."Simo Sorce1-64/+26
This reverts commit 6b1a118eaaab405eeef0cf3c0488a2747af562ba. We found that this patch does not play well with currently released cifs.ko code, so after discussions with Jeff Layton and Steve french we decided it is best to back it off and re-think a better approach. Jeff will send new patches later, but for now it is better to just revert to the previous code (This used to be commit c5b7d538ecfa93377ff20704633ac57dbf8dd530)
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-25Fix bogus uninitialized variable warningsVolker Lendecke2-2/+2
(This used to be commit 71d6580c837adcc2cddcdff561f6fb09701501ee)
2008-01-24Fix Coverity ID 463Volker Lendecke1-1/+3
(This used to be commit 21d126c56a633d2d72ffad08db7331ecc0ee3c0c)
2008-01-23strtok -> strtok_rVolker Lendecke4-8/+13
(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-16Adds support for cifs.resolver upcall.Igor Mammedov1-2/+61
Here is a patch for userspace cifs.spnego handler that adds support for cifs.resolver upcall used in DFS code. Any comments are appreciated. ############################# Cifs upcall with key type cifs.resolver is used for resolving server names in handling DFS refferals. Signed-off-by: Igor Mammedov <niallain@gmail.com> (This used to be commit dfc80b4f1c00c131ba8077432bfe79f22f63ccd1)
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-05Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testSteve French2-6/+31
(This used to be commit d3b91e494c824a65506ba1bc1cba5bba77000530)
2008-01-05Use the common -e option not the custom one.Jeremy Allison1-1/+1
Jeremy. (This used to be commit ef1bbcdfb98da185c07005dd7810039f99f0685f)
2008-01-05Add general '-e' option to enable smb encryptionJeremy Allison1-1/+20
on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
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)
2008-01-03Update mount.cifs helpSteve French1-3/+5
Steve (This used to be commit b9d2da4d10e6e7ac2dc604565c7f2ce39d0916b5)
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 Lendecke2-75/+124
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-19Fix a "no prototype" warningVolker Lendecke1-0/+1
(This used to be commit e5bd32812dd1e864e51c2199fd90d71813517f68)
2007-12-17Add smbclient support for basic mDNS browsing.Rishi Srivatsavai2-0/+243
Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification and minor syle changes by me. (This used to be commit db74b99d0ef1a60894c838b4c9d0d454db6cf620)
2007-12-17Merge in J.Layton patch and resolve conflict.Simo Sorce1-26/+64
(This used to be commit 6b1a118eaaab405eeef0cf3c0488a2747af562ba)
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-13We don't need to call endpwent if we never call getpwent.Jeremy Allison1-2/+0
Jeremy. (This used to be commit 27078d1292e8588956ae78e4cddb1bcebbe84478)
2007-12-13Add a varient of Steve Langasek <vorlon@debian.org> patchJeremy Allison1-10/+59
for bug #4780. Cause user mounts to inherit uid= and gid= from the calling user when called as non-root, except when overridden on the commandline. Jeremy. (This used to be commit 7fad5f38ea86ef76dc8e0853926b3248230616be)
2007-12-12Missed one strcpy call.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b215fb1ad0d5bb3fa7084c2773845ce1dffb2173)
2007-12-12Add a portable version of strlcpy and strlcat and convertJeremy Allison1-36/+70
all strncpy/strcat calls to them. Convert all sprintf calls to snprintf. Safety first ! Jeremy. (This used to be commit eff2b368e891d523de38b43ced95798b74ae101e)
2007-12-12Fix bug #4784. Patch from Steve Langasek <vorlon@debian.org>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4f503ea8912eb787209c8df364bfdb161dbb212c)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison3-8/+8
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)