summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
2003-08-12Apply a little constVolker Lendecke1-1/+1
(This used to be commit e3b36906c53bd4a9231c2efb007cec234e52a78f)
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-06Reversed replacement. Oops.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 520bee397d946766cef8ab9f0d7d89064106f510)
2003-08-06Anal formatting tidyup :-).Jeremy Allison1-181/+198
Jeremy. (This used to be commit 9c0197471366ad1acf922e02bb694769863054a6)
2003-08-06Get rid of MAXPATHLEN, move to standard PATH_MAX.Jeremy Allison3-5/+5
Jeremy. (This used to be commit 455ed2d51d86f39ce0fa6e6abca31a5425d2ea17)
2003-08-01Fix the option processing for smbtar. Does no one check this !Jeremy Allison2-6/+35
Jeremy. (This used to be commit c4af1ec73584656fb9d2b372461da4748e1643f1)
2003-08-01Finish reformatting.Jeremy Allison1-516/+467
Jeremy. (This used to be commit 5ef75fa36620a87e8fd8567b854ea0770d8125ea)
2003-08-01Reformat lots of clitar code as I hate the style so much :-).Jeremy Allison1-563/+540
Jeremy. (This used to be commit 77f2a91549c8b61e74e2088faef2b61612803aed)
2003-08-01Reformat clitar option processing - getting ready to fix it for popt...Jeremy Allison1-183/+176
Jeremy. (This used to be commit 94b30e7b4a4f71d3aa2fefee60b9ea8ead2acccd)
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison2-1/+3
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
2003-07-23convert snprintf() calls using pstrings & fstringsGerald Carter2-5/+5
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-16Fix from Dragan Krnic for handling files in tar archives > 8GB.Tim Potter1-0/+10
Fixes bug 102. (This used to be commit b54183a7b23d1046faad0890de3fdda3df0fec88)
2003-07-04More conversions I missed. Thanks metze.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 4f78d747e66b38edcd2a5754681f9a01aeaf7864)
2003-07-03Removed strupper/strlower macros that automatically map to ↵Jeremy Allison2-3/+3
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-20Fix mount options for ro, dir_mode, file_modeSteve French1-2/+2
(This used to be commit 7e7cf0dd98ec8e28c02cb9e36064eaf098339801)
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-06-10don't call a function error_message() as that conflicts with aAndrew Tridgell1-3/+3
kerberos name (This used to be commit 8fa737f2235abfdc6c78b0af707aea2c67243597)
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-28Syncup with HEAD:Tim Potter1-4/+10
>revision 1.3 >date: 2003/05/20 04:28:29; author: sfrench; state: Exp; lines: +10 -5 >Fix Linux cifs vfs mount helper parsing of slashes (This used to be commit b2b4a7e4998cc41842e8b564a4ccb77737aeed04)
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 Vernooij3-6/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij3-0/+6
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-04-14Merge:Tim Potter1-1/+1
- "Fix lingering large offset problems in smbtar etc." (This used to be commit ba53df64cab5dc0ea9f2b7d82007bf655f85bc67)
2003-04-08Update smbmount to include unicode and lfs capabilities options -- smbfs ↵Alexander Bokovoy1-9/+16
supports this already (This used to be commit fbbb9a6660e1e384d7a4ff4c5fe2d077246bedd1)
2003-03-18Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)Andrew Bartlett2-27/+27
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 an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett1-1/+1
'set_local_machine_name' so that the client can't change it from under us. (.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP on the domain join). Andrew Bartlett (This used to be commit 4c7163e7c2cc09bd95faa05156ee480957a7a4d8)
2003-03-18Add const.Andrew Bartlett1-1/+1
(This used to be commit ed245023016779700571d108e7b9339236bcbe7c)
2003-03-18This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+557
used to be commit f0d009c3e91979b0dc3443e16f3f545bcc64cfda)
2003-03-16 - Make ReadDirName return a const char*.Andrew Bartlett1-1/+1
- Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit fe2bc64bc439b27387b8f326b0f4f3bfcc3d04a1)
2003-03-15Checkin cifs vfs for Linux mount helperSteve French1-43/+211
(This used to be commit a55acfd7a296c5ae9b043dc03393a29d87e43a40)
2003-03-15If the server went away, don't segfault by attempting to FD_SET -1.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 4b1337ee94a19e39a2f4012c4dbc32a2e58cacf5)
2003-03-08Make sure that the 'remote' machine name can only be set once. For some weirdAndrew Bartlett1-1/+1
reason, during a Win2003 installation, when you select 'domain join' it sends one machine name in the name exchange, and litraly 'machinename' during the NTLMSSP login. Also fix up winbindd's logfile handling, so that it matches smbd and nmbd. (This helps me, by seperating the logs by pid). Andrew Bartlett (This used to be commit afe5a3832f79131fb74461577f1db0e5e8bf4b6d)
2003-03-07Add early prototype of cifs mount helper for LinuxSteve French1-0/+389
(This used to be commit b20bcf8d336b4b2079eb42342a96d1fe714709de)
2003-03-06More safe_strcpy() off-by-one bug fixes. (mostly moves to pstrcpy()/fstrcpy())Andrew Bartlett2-27/+27
Andrew Bartlett (This used to be commit 42b5514404bc7e33306c11344c6c934a1f83d295)
2003-03-03More janitorial duties, fixing the BIG_UINT changes for large offsets.Richard Sharpe1-5/+6
(This used to be commit 1af39523cc3b2313f3e8acd4f2e5338182ec0b13)
2003-03-03Do my janitorial duties to encourage others to do so.Richard Sharpe1-6/+7
Fix lingering large offset problems in smbtar etc. (This used to be commit c416eec2f2a38eebfcda5868999d474628037f1e)
2003-02-25Fix breakage done by myself yesterday.Tim Potter1-6/+3
(This used to be commit f4492de2d668082df6ae06933d12a3cfe120d403)
2003-02-25Fixed up some const related compiler warnings.Tim Potter1-3/+6
(This used to be commit 923425e497112c5d1e2e569da6c13dcd02b6a8af)