summaryrefslogtreecommitdiffstats
path: root/source3/client
Commit message (Collapse)AuthorAgeFilesLines
* 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. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8)
* Fix error message.Jeremy Allison2007-12-291-1/+1
| | | | | Jeremy. (This used to be commit a0494b115b644c1c4afa50442c46a54779687571)
* 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. (This used to be commit f02bf419282419950471deae74c4a6fe1543ed26)
* 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. (This used to be commit d241bfa57729bb934ada6beabf842a2ca7b4f8a2)
* Add SMB encryption. Still fixing client decrypt butJeremy Allison2007-12-261-0/+43
| | | | | | negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
* Remove next_token_nr_talloc and its associated globalVolker Lendecke2007-12-212-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)
* Fix a "no prototype" warningVolker Lendecke2007-12-191-0/+1
| | | | (This used to be commit e5bd32812dd1e864e51c2199fd90d71813517f68)
* Add smbclient support for basic mDNS browsing.Rishi Srivatsavai2007-12-172-0/+243
| | | | | | Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification and minor syle changes by me. (This used to be commit db74b99d0ef1a60894c838b4c9d0d454db6cf620)
* Merge in J.Layton patch and resolve conflict.Simo Sorce2007-12-171-26/+64
| | | | (This used to be commit 6b1a118eaaab405eeef0cf3c0488a2747af562ba)
* Revert smbclient changes.Karolin Seeger2007-12-141-5/+0
| | | | | | | | Patch broke option -p. Sorry for breaking the build! Karolin (This used to be commit 81dab4145ffaf21d5d2176b16b5989f4035dd791)
* Make smbclient to display error message and usage in the case of invalid ↵Karolin Seeger2007-12-141-0/+5
| | | | | | options. (This used to be commit 04131b26de08b3cea948ef89921c56561d69dd1d)
* We don't need to call endpwent if we never call getpwent.Jeremy Allison2007-12-131-2/+0
| | | | | Jeremy. (This used to be commit 27078d1292e8588956ae78e4cddb1bcebbe84478)
* Add a varient of Steve Langasek <vorlon@debian.org> patchJeremy Allison2007-12-131-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)
* Missed one strcpy call.Jeremy Allison2007-12-121-1/+1
| | | | | Jeremy. (This used to be commit b215fb1ad0d5bb3fa7084c2773845ce1dffb2173)
* Add a portable version of strlcpy and strlcat and convertJeremy Allison2007-12-121-36/+70
| | | | | | | all strncpy/strcat calls to them. Convert all sprintf calls to snprintf. Safety first ! Jeremy. (This used to be commit eff2b368e891d523de38b43ced95798b74ae101e)
* Fix bug #4784. Patch from Steve Langasek <vorlon@debian.org>.Jeremy Allison2007-12-121-1/+1
| | | | | Jeremy. (This used to be commit 4f503ea8912eb787209c8df364bfdb161dbb212c)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-103-8/+8
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* Move load_case_tables() to after logging is set up. This can logJames Peach2007-12-091-1/+2
| | | | | errors. (This used to be commit ffee51586cfc32a7e394f606e5021ee8fd198559)
* C++ warningVolker Lendecke2007-12-091-1/+1
| | | | (This used to be commit 85a7f800b6ff8a21d234cee1a24123fb48bafa13)
* Fix C++ warningsVolker Lendecke2007-12-081-1/+1
| | | | (This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
* More null deref fixes.Jeremy Allison2007-12-071-4/+4
| | | | | Jeremy. (This used to be commit efaebdb141a841ec083f20f8905ae0294b81d0d6)
* More null deref fixes.Jeremy Allison2007-12-071-1/+1
| | | | | Jeremy (This used to be commit 78c98796d9328723b7c46012adf5393134a4fea3)
* Don't deref null pointers.Jeremy Allison2007-12-071-1/+1
| | | | | Jeremy. (This used to be commit 686e4e5efe23e074b661e876b6b118c03ff0058d)
* After conversations with Jerry, remove smbctool until it'sJeremy Allison2007-12-071-3780/+0
| | | | | | maintained. Now I don't have to fix the pstrings in it :-). Jeremy. (This used to be commit 9da4f408433759b7d86d1954e2e7c1365d590389)
* Remove pstring from clitar.cJeremy Allison2007-12-071-141/+225
| | | | | Jeremy (This used to be commit 1d5fee5038413c90b367434f9066d947849bdaed)
* Add popt to binaries in makefile. Hack clitar to compile until I fix it.Jeremy Allison2007-12-062-19/+12
| | | | | Jeremy. (This used to be commit 252ef28bb8f1406fdd92edba8538cb9e88f0b77f)
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-061-981/+1555
| | | | | | Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
* Remove trailing slashes from service nameAndreas Schneider2007-12-061-0/+7
| | | | (This used to be commit a9b686bfdcf993d5423875543f154607836ac143)
* Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-simoSimo Sorce2007-12-051-79/+178
|\ | | | | | | (This used to be commit 78581ad070dd6e1886dd2094cf75ebebbb83d9a6)
| * pstring removal.Jeremy Allison2007-12-051-79/+178
| | | | | | | | | | Jeremy. (This used to be commit 66e7e30b13bc6904f20a1b4277143c63f8beec83)
* | Fix warningSimo Sorce2007-12-051-1/+1
| | | | | | | | (This used to be commit 05bca093d107609f236928f338e2512a628c2c91)
* | * helper source for handling cifs kernel module upcall for kerberosIgor Mammedov2007-12-052-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)
* More pstring removal.Jeremy Allison2007-12-041-6/+15
| | | | | Jeremy. (This used to be commit 905943137c2dafca4dc946f9b1f133fc5542eb37)
* Fix sample gtk code. Does this compile ?Jeremy Allison2007-12-041-38/+40
| | | | | Jeremy. (This used to be commit 750d26b7e9ab39663da0c3e6ccc1288fc08c81ea)
* Remove PSTRING_LEN from smbd/ nmbd/.Jeremy Allison2007-11-292-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)
* Ensure we have a talloc stackframe (found by Kukks).Jeremy Allison2007-11-202-6/+10
| | | | | Jeremy. (This used to be commit b409f1c3356a72216136411234b345666159c88b)
* Fix bug #4393 smbclient does not store files with zero filesize in tar-archivesJeremy Allison2007-11-161-4/+3
| | | | | | from tometzky@batory.org.pl. Jeremy. (This used to be commit f3bd5e828af04f33178a66f9f332199f7d395b7b)
* Fix for bug #4781: allow cleaning of /etc/mtab by canonicalizing mountpoint.Michael Adam2007-11-161-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)
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-153-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)
* Remove the silly "user_socket_options" global variableVolker Lendecke2007-11-091-2/+1
| | | | | This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
* Remove more pstring/fstrings.Jeremy Allison2007-11-081-11/+19
| | | | | Jeremy. (This used to be commit 7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)
* 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. (This used to be commit 255c2adf7b6ef30932b5bb9f142ccef4a5d3d0db)
* Fix the smbmount buildVolker Lendecke2007-11-051-1/+1
| | | | (This used to be commit 5b8ca7ebdef5d385420c89af246c2dae737c5717)
* Remove more static data from lib/util_sock.c andJeremy Allison2007-11-031-2/+2
| | | | | | callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
* 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. (This used to be commit 81ca5853b2475f123faab3b550f0a7b24ae3c208)
* Add printout of large read/write caps if detected.Jeremy Allison2007-10-311-0/+6
| | | | | Jeremy. (This used to be commit 52f13d84955224ebbaead53d8428baade6a22fe0)
* Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison2007-10-272-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)
* Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)Jeremy Allison2007-10-271-1/+1
| | | | | | from Volker's patch. Jeremy. (This used to be commit 9f82a5766968dc72db5a86ad0afc71e8cffd5be0)
* Two patchesVolker Lendecke2007-10-272-6/+6
| | | | | | | | | | | | | | | | Hi! Can you check and push them? Thanks, Volker From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001 From: Volker Lendecke <vl@sernet.de> Date: Sat, 27 Oct 2007 14:20:09 +0200 Subject: [PATCH] Fix some warnings and errors (This used to be commit e17d3e10e860c96b6d5208e5fe51e43b8e58c174)
* 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. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)