summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-27Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)Jeremy Allison1-1/+1
from Volker's patch. Jeremy. (This used to be commit 9f82a5766968dc72db5a86ad0afc71e8cffd5be0)
2007-10-27Two patchesVolker Lendecke2-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)
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 Allison6-95/+95
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-15Latest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctoolGünter Kukkukk3-10/+10
In addition some cleanup has been done to avoid compiler warnings. (This used to be commit 29eb4d0e2d8ce4a0bd2a081265417684c8c69d6d)
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) Carter3-119/+19
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25355: IP address parsing did not allow for fully expanded ipv6 addressesSteve French1-1/+1
(which can be 12 bytes longer than we were allowing for). Thanks to Dr. David Holder (This used to be commit 0202a84e3f61665953bd5207218063b0d5ff6088)
2007-10-10r25169: Fix bug 4028Volker Lendecke1-0/+4
(This used to be commit 1a022267003480b4487a780ebaa6016f491828a3)
2007-10-10r24601: Fix if statements where we still expected cli_connect() to return BOOL.Lars Müller1-1/+1
(This used to be commit 12cb06d6ad73c37b9ee4bdf31f88dd3ce8cc3935)
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-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell8-16/+8
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison9-9/+9
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23596: Add notes about smbfs/cifs to usage() in smb[u]mountVolker Lendecke2-1/+6
(This used to be commit 4896b4ee55b3c8213754ebe6a8edafd82a40c014)
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-10r23567: Fix bug 4721Volker Lendecke1-1/+1
(This used to be commit f2050f5a3af382ad88071a5d5f6b172af4143e0f)
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-10r23527: Use existing escaping function pointed by JamesSimo Sorce1-27/+3
(This used to be commit 9dcbef9615aec7cfe8f72e6f21f01af4e4fcc90e)
2007-10-10r23524: Fix bug 2319.Simo Sorce1-13/+60
Got report this is all ok form a tester. Close a loong standing bug preventing people to freely use any character in their password when printing via cups were involved. (This used to be commit 54ca011212982cf1d94a76ca9d39c391783da04f)
2007-10-10r22982: Do not prompt for password on sec=none for mount.cifs (and allow guestSteve French1-2/+5
option to pass to kernel code so it can know when to retry) (This used to be commit 500d9236c419be6ec32cc209279aeea2234f1a21)
2007-10-10r22979: Revert previous checkin (which had some debug junk) and fix misc ↵Steve French1-68/+25
frees that valgrind noticed (This used to be commit c8aa60692ba23c43820b820db3371a86dfbf40b5)
2007-10-10r22779: Patch for not prompting for password on cifs mounts when "sec=none"Steve French1-10/+61
specified (This used to be commit 9af97d8ead85c05d08ee24727525894df5866630)
2007-10-10r22560: Clean up frees of realloc memory in mount.cifs (thanks to Alex forSteve French1-6/+6
reminding me how to use Valgrind). (This used to be commit 4616c29b9f09b9863f1446e83c98e3adc327d0f9)
2007-10-10r22526: Support deep tree mounts after share (instead of having to specifySteve French1-0/+10
prepath) (This used to be commit 0548dea6c7222dc22144a86fffd32675cd14b677)