summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
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 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)
2007-12-09C++ warningVolker Lendecke1-1/+1
(This used to be commit 85a7f800b6ff8a21d234cee1a24123fb48bafa13)
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-07After conversations with Jerry, remove smbctool until it'sJeremy Allison1-3780/+0
maintained. Now I don't have to fix the pstrings in it :-). Jeremy. (This used to be commit 9da4f408433759b7d86d1954e2e7c1365d590389)
2007-12-07Remove pstring from clitar.cJeremy Allison1-141/+225
Jeremy (This used to be commit 1d5fee5038413c90b367434f9066d947849bdaed)
2007-12-06Add popt to binaries in makefile. Hack clitar to compile until I fix it.Jeremy Allison2-19/+12
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-12-05Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-simoSimo Sorce1-79/+178
(This used to be commit 78581ad070dd6e1886dd2094cf75ebebbb83d9a6)
2007-12-05pstring removal.Jeremy Allison1-79/+178
Jeremy. (This used to be commit 66e7e30b13bc6904f20a1b4277143c63f8beec83)
2007-12-05Fix warningSimo Sorce1-1/+1
(This used to be commit 05bca093d107609f236928f338e2512a628c2c91)
2007-12-05* helper source for handling cifs kernel module upcall for kerberosIgor Mammedov2-0/+347
authorization * Added -c option to set service prefix to "cifs" in service principal by default service prefix "host" is used * replaced malloc/free/srtncpy with replacements from samba project Signed-off-by: Igor Mammedov <niallain@gmail.com> (This used to be commit 705f06a0315df83071b799fc77ecf20510a5a1ac)
2007-12-04More pstring removal.Jeremy Allison1-6/+15
Jeremy. (This used to be commit 905943137c2dafca4dc946f9b1f133fc5542eb37)
2007-12-04Fix sample gtk code. Does this compile ?Jeremy Allison1-38/+40
Jeremy. (This used to be commit 750d26b7e9ab39663da0c3e6ccc1288fc08c81ea)
2007-11-29Remove PSTRING_LEN from smbd/ nmbd/.Jeremy Allison2-63/+81
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-20Ensure we have a talloc stackframe (found by Kukks).Jeremy Allison2-6/+10
Jeremy. (This used to be commit b409f1c3356a72216136411234b345666159c88b)
2007-11-16Fix bug #4393 smbclient does not store files with zero filesize in tar-archivesJeremy Allison1-4/+3
from tometzky@batory.org.pl. Jeremy. (This used to be commit f3bd5e828af04f33178a66f9f332199f7d395b7b)
2007-11-16Fix for bug #4781: allow cleaning of /etc/mtab by canonicalizing mountpoint.Michael Adam1-0/+7
Canonicalize mountpoint by trimming trailing slashes before unmounting. This allows for correct cleanup of /etc/mtab after unmounting. Thanks to Steve Langasek <vorlon@debian.org>. Michael (This used to be commit 118fd6213d5f6419f654e9226a41d527c04346f7)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison3-13/+16
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-09Remove the silly "user_socket_options" global variableVolker Lendecke1-2/+1
This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
2007-11-08Remove more pstring/fstrings.Jeremy Allison1-11/+19
Jeremy. (This used to be commit 7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)
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-05Fix the smbmount buildVolker Lendecke1-1/+1
(This used to be commit 5b8ca7ebdef5d385420c89af246c2dae737c5717)
2007-11-03Remove more static data from lib/util_sock.c andJeremy Allison1-2/+2
callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
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 Allison2-2/+2
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)