summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
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)
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)