summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-02-24Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a shareAndrew Bartlett2-24/+64
twice, let the libsmb code determine what form the share name should take. Andrew Bartlett (This used to be commit a25f6126647c94551c03bfc28e3fb5ec5ef6264a)
2003-02-18The cli_send_tconX code already determines to send \\server\share to port 139Andrew Bartlett1-18/+3
and share to 445, so doing this only confuses the issue (sending \\server\\server\share to 139) and makes debugging specific error codes more difficult. Andrew Bartlett (This used to be commit 1a723bcda72901dac00b36955e860e3af23c0dc6)
2003-02-15fix dumb perror used without errno beeing set.Simo Sorce1-2/+2
thanks to RedHat developers for the report (This used to be commit e257141c9b3703ef73ee312f3ec30d377e0d3293)
2003-02-15fix dumb perror used without errno beeing set.Simo Sorce1-2/+2
thanks to RedHat developers for the report (This used to be commit 4a3c6c62d979707900b95e6c38b0132f522269ca)
2003-02-15Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enableAndrew Bartlett2-6/+44
users w/o full administrative access on computer accounts to join a computer into AD domain. The patch and detailed changelog is available at: http://www.itcollege.ee/~aandreim/samba This is a list of changes in general: 1. When creating machine account do not fail if SD cannot be changed. setting SD is not mandatory and join will work perfectly without it. 2. Implement KPASSWD CHANGEPW protocol for changing trust password so machine account does not need to have reset password right for itself. 3. Command line utilities no longer interfere with user's existing kerberos ticket cache. 4. Command line utilities can do kerberos authentication even if username is specified (-U). Initial TGT will be requested in this case. I've modified the patch to share the kinit code, rather than copying it, and updated it to current CVS. The other change included in the original patch (local realms) has been left out for now. Andrew Bartlett (This used to be commit ce52f1c2ed4d3ddafe8ae6258c90b90fa434fe43)
2003-02-13Fix typo in WIFSIGNALED (as per Waider's report)Alexander Bokovoy1-1/+1
(This used to be commit 4463ffeed91163314d2d903a271b29e87edaadcf)
2003-02-13waitstatus audit: Correctly handle case where smbmnt is killed by aMartin Pool1-0/+3
signal. Previously this was incorrectly treated as success. (This used to be commit fe5582c1b2e1c6a6ed5e048dd169a1fcf908069c)
2003-02-07Samba janitors: applying mbp's redundant umask fix.Jeremy Allison1-4/+0
Jeremy. (This used to be commit 45d4e58ca5da1c01f135470257bb17a5257e6fb2)
2003-02-07Samba janitors: applying mbp's redundant umask fix.Jeremy Allison1-4/+0
Jeremy. (This used to be commit b54f6bf06c6a4032ba0d6c2a25699948685ccf6a)
2003-02-02smb signing compile fixTim Potter1-1/+1
(This used to be commit 22d7aa0e673baa1c26205d1c659ba71ad2f94609)
2003-02-02More signing updates - start checking that the server isn't being spoofed.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit b1c722e306533babeffeba9d8c7dcfa00e019423)