summaryrefslogtreecommitdiff
path: root/source3/client/client.c
AgeCommit message (Collapse)AuthorFilesLines
2003-09-05More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison1-1/+1
as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
2003-08-25fix bug #39; save the -W value and restore it after lp_load()Gerald Carter1-1/+18
(This used to be commit 79efe7d72ba503b58c8ad3b9b1c711f5ebb33521)
2003-08-20metze's autogenerate patch for version.hGerald Carter1-1/+1
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-15get rid of more compiler warningsHerb Lewis1-2/+2
(This used to be commit 398bd14fc6e2f8ab2f34211270e179b8928a6669)
2003-08-15get rid of const as these things really are not constHerb Lewis1-2/+2
(This used to be commit 61bea183a229cc11f25c4a7cb5341faad9833d7b)
2003-08-14Don't ask twice for the passwordVolker Lendecke1-0/+1
(This used to be commit 8ebd92da01a72b26df769125f51934796e9e3d4f)
2003-08-10We get the server and workgroup list only over port 139. Fall back to thatVolker Lendecke1-0/+16
and if NetBIOS over TCP/IP is disabled, give an error message. Fixes Bug #284 Volker (This used to be commit a2902a6cf8d05569d1c690436f69b4a4cedac400)
2003-08-06Ensure smbclient obeys -s smb.conf option.Jeremy Allison1-6/+16
Jeremy. (This used to be commit 7950f7d6b2c5e8247bce1e96ddd1a9ec1045f7f9)
2003-08-06Anal formatting tidyup :-).Jeremy Allison1-181/+198
Jeremy. (This used to be commit 9c0197471366ad1acf922e02bb694769863054a6)
2003-08-01Fix the option processing for smbtar. Does no one check this !Jeremy Allison1-4/+20
Jeremy. (This used to be commit c4af1ec73584656fb9d2b372461da4748e1643f1)
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison1-0/+2
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
2003-07-23convert snprintf() calls using pstrings & fstringsGerald Carter1-2/+2
to pstr_sprintf() and fstr_sprintf() to try to standardize. lots of snprintf() calls were using len-1; some were using len. At least this helps to be consistent. (This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)
2003-07-18fixed the pstrcpy() bug in directory recursion properlyAndrew Tridgell1-1/+2
(This used to be commit 132d6fdf635eb2bf2a1afd6e850d0f6967260f84)
2003-07-17Fix for bug 222 from Marcin Owsiany.Tim Potter1-0/+5
Don't get stuck in an infinite loop listing directories recursively if the server returns an empty directory name. This can happen with incorrect i18n configuration on a Samba server. (This used to be commit f93a2831f1b4e5751ca86d46a6e5ede9adf660cb)
2003-07-17Don't use pstrcpy on non-pstrings.Tim Potter1-1/+1
(This used to be commit 3498624d941fe200b06f114ece3373d4c4cfb2d1)
2003-07-03Removed strupper/strlower macros that automatically map to ↵Jeremy Allison1-2/+2
strupper_m/strlower_m. I really want people to think about when they're using multibyte strings. Jeremy. (This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)
2003-07-02Suggest the user runs kinit if smbclient -k returns ↵Tim Potter1-0/+4
NT_STATUS_MORE_PROCESSING_REQUIRED. (This used to be commit 66c4beb28672ef335ff4d6d6a3447e4c2c337f76)
2003-06-11several places in client.c rely in commands[i].name == NULL being aAndrew Tridgell1-2/+2
termination condition for checking for commands. Make sure the last element is indeed NULL. (This used to be commit 294f79884df1ebc4a8d955601e7547bdcadef5d6)
2003-06-11i'm getting rather sick of thisAndrew Tridgell1-4/+1
********************************************************** **** PLEASE TEST YOUR CHANGES BEFORE CHECKING THEM IN **** ********************************************************** Jelmer, your change did not fix the -b option, it just make it not segfault on debian. It did however add a warning and make it not compile on some systems. It also gave the io_bufsize the value of a pointer, not the value the user specified. (this doesn't apply just to Jelmer, I'm just seeing rather too many checkins from everyone lately where the code could never have possibly worked, so was obviously checked in without testing) (This used to be commit 21931ad7a0584c14fd0278adc74eab9cacf14a3d)
2003-06-10Don't segfault when -b is specified (fixes debian bug #196833)Jelmer Vernooij1-1/+1
(This used to be commit 4af9074397bbb208e585f85aaa8a6e402057ebdd)
2003-05-29Don't crash when doing namecompletion in smbclient. Fixes debian bug #194776Jelmer Vernooij1-1/+1
(This used to be commit f130b4f2a143ef7507d7267ec12a11c1d91f0457)
2003-05-13Fix non-constant initialiser for Sun CC.Andrew Bartlett1-1/+7
(This used to be commit c2948b9248016388f9b7c5595b0e1aba7e1ace8d)
2003-05-12And finally IDMAP in 3_0Simo Sorce1-23/+164
We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo. (This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-2/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-0/+2
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-05-10Fix for possible segfault in readline handler. Found by vitalyb@mail333.com.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 151b7d0d88e14dd17c28e522a3e1e8f64a4a2a87)
2003-04-28Replace workgroup global variable with lp_workgroup()Tim Potter1-10/+8
Call lp_load() before parsing command line options so we can override the workgroup value with the -W switch. Fixes bug #39. (This used to be commit 56f070cd5242ac6c10699ca35726ce68199dd274)
2003-04-14Merge:Tim Potter1-360/+79
- Jelmer's popt changes (This used to be commit b5b6f11940c91dc5ecb5f4a4320e7b9aa72bcd99)
2003-03-18Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)Andrew Bartlett1-3/+3
This patch catches up on the rest of the work - as much string checking as is possible is done at compile time, and the rest at runtime. Lots of code converted to pstrcpy() etc, and other code reworked to correctly call sizeof(). Andrew Bartlett (This used to be commit c5b604e2ee67d74241ae2fa07ae904647d35a2be)
2003-03-18Fix segfault on FD_SET() when we have an fd of -1Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 92bd0f69df4eef612b73da00e45d244f5236afa2)
2003-03-18Add const.Andrew Bartlett1-1/+1
(This used to be commit ed245023016779700571d108e7b9339236bcbe7c)
2003-02-24Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a shareAndrew Bartlett1-19/+9
twice, let the libsmb code determine what form the share name should take. Andrew Bartlett (This used to be commit a25f6126647c94551c03bfc28e3fb5ec5ef6264a)
2003-02-07Samba janitors: applying mbp's redundant umask fix.Jeremy Allison1-4/+0
Jeremy. (This used to be commit b54f6bf06c6a4032ba0d6c2a25699948685ccf6a)
2003-01-14Merge from HEAD:Andrew Bartlett1-4/+4
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-07Added code to the handling of the -M option to ensure that we default toChristopher R. Hertel1-1/+7
port 139 for that option. The NetBIOS Messenger Service doesn't run on a non-NBT port. (This used to be commit a10195b7112b0a7cca3ddb5be2566364c59fefb7)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-2/+2
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-05fix stat reporting on put commandHerb Lewis1-1/+1
(This used to be commit aa38aaf36338a2c9e708410d6b1befa6d65c93cc)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison1-12/+7
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-11-09Sync with HEADJelmer Vernooij1-4/+4
(This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
2002-10-29Sync with HEADJelmer Vernooij1-1/+0
(This used to be commit 987b62137d38fc295dab75bdbc004031a99f4d56)
2002-10-01syncing up with HEAD. Seems to be a lot of differences creeping inGerald Carter1-3/+18
(i ignored the new SAMBA stuff, but the rest of this looks like it should have been merged already). (This used to be commit 3de09e5cf1f667e410ee8b9516a956860ce7290f)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-29/+126
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-22/+36
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-31Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison1-1/+1
processing work correctly in winbindd. This is a really good patch that gives full select semantics to the Samba modified select. Jeremy. (This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-29Doc.Martin Pool1-1/+4
(This used to be commit 91e8cb76628e9fcc5dc117d98d464b26db71654e)
2002-01-21Make the -L option to smbclient slightly less gross:Martin Pool1-4/+22
smbclient -L //nautilus1/ should definitely not say "unknown host "nautilus1/". Sheesh. (This used to be commit 1cd431b8f17e5ac394436d31f64032387ca11930)
2002-01-19fixes (asprintf) from 2.2Simo Sorce1-4/+4
(This used to be commit 6b123adda901ff05b0271eeda060297448f64eec)
2002-01-17Move the bang (!) command back to the bottom of the list, allowing smbclientAndrew Bartlett1-1/+3
to function again. Add comment to warn anybody that wants to 'Alphabetize' the list to read crh's existing comment on the issue. Andrew Bartlett (This used to be commit d123d79060caf3ad084e733dac02aa2f67bda35f)
2002-01-16Alphabetize.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 64301bc5f75283c948630d2b78d28e3869db39a2)