summaryrefslogtreecommitdiffstats
path: root/source/client
Commit message (Collapse)AuthorAgeFilesLines
* r22781: grab Steve's patch for mount.cifs and sec=noneGerald Carter2007-05-101-2/+5
|
* r22650: sync up with SMABA_3_0_25 as of svn r22649Gerald Carter2007-05-031-0/+10
|
* r22434: sync from the 3.0.25 tree for rc2Gerald Carter2007-04-211-2/+2
|
* r22138: * Sync up with the SAMBA_3_0_25 as of svn r22132.Gerald Carter2007-04-091-26/+63
| | | | | * Set VERSION to 3.0.25rc1 * Update release notes.
* r21889: * Pull from SAMBA-3_0_25 svn r21888Gerald Carter2007-03-204-63/+231
| | | | * Set version to 3.0.25pre2
* r21585: Start syncing the monster that will become 3.0.25pre1Gerald Carter2007-02-287-112/+364
| | | | | | | | Still todo: * release notes * few minor outstanding patches * additional idmap man pages
* r19581: Merge from SAMBA_3_0_23Gerald Carter2006-11-061-7/+71
|
* r16674: After removing each individual post-3.0.23rc3 change:Gerald Carter2006-06-293-2/+10
| | | | | | | | | | | | | | This pulls is what I considered safe fixes from SAMBA_3_0. This boiled down to either Klocwork fixes or obvious compiler warning fixes. I did not include any changes to fnuction signatures not the version change to the passdb API. Also pulled in the 3 nmbd fixes requested by Jeremy and the wildcard delete fix. This code will sit for a few days in the cooker and then become 3.0.23 if nothing blows up. I don't care how many more compile warning fixes people throw into SAMBA_3_0.
* r16418: Pull in more Klocwork fixes (up to r16415)Gerald Carter2006-06-201-0/+5
|
* r16348: * merging changes from SAMBA_3_0 r16346Gerald Carter2006-06-192-7/+23
| | | | * updating release notes to match
* r16254: pulling klocwork fixes for 3.0.23rc3 (current up to r16251)Gerald Carter2006-06-153-17/+49
|
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-232-2/+5
|
* r15144: final code changes for 3.0.23pre1 (SAMBA_3_0 r15141)Gerald Carter2006-04-201-19/+30
|
* r15098: Make smbclient -L use RPC to list shares, fall back to RAP. This ↵Volker Lendecke2006-04-161-1/+56
| | | | | | | | should list long share names. Volker
* r14359: Try and fix Coverity #176 by making the pointerJeremy Allison2006-03-131-7/+7
| | | | | | aliasing clearer. This isn't a bug but a code clarification. Jeremy.
* r14351: Ensure we use the minimum of PATH_MAX and sizeof(pstring).Jeremy Allison2006-03-131-5/+12
| | | | | Fix Coverity #59. Jeremy.
* r14248: Fix Coverity bug # 84Volker Lendecke2006-03-121-0/+1
|
* r14246: Fix Coverity bug # 85Volker Lendecke2006-03-121-0/+2
|
* r14242: Fix Coverity bug # 82Volker Lendecke2006-03-121-0/+2
|
* r14176: Fix coverity bug #30. Ensure no possible null deref.Jeremy Allison2006-03-101-2/+7
| | | | Jeremy.
* r14166: Fix const warning.Jeremy Allison2006-03-101-1/+1
| | | | Jeremy.
* r14148: Removing the not very well tested krb5 ticket refresh handling activatedGünther Deschner2006-03-101-10/+0
| | | | | | over --with-kcm. No time to look after it for the moment. Guenther
* r14145: Add missing WITH_KCM hunks from my local tree.Günther Deschner2006-03-101-2/+12
| | | | Guenther
* r14128: Remove warning generated by coverity scan tool (missing SAFE_FREE in ↵Steve French2006-03-101-0/+1
| | | | error path)
* r14127: Remove coverity warning on mount.cifs.cSteve French2006-03-101-1/+7
|
* r14126: resolve two warnings from the coverity scanSteve French2006-03-101-5/+8
|
* r14009: Remove last const warning (have to use CONST_DISCARD).Jeremy Allison2006-03-081-1/+3
| | | | Jeremy.
* r14006: Fix a couple of irritating warnings.Jeremy Allison2006-03-081-2/+2
| | | | Jeremy.
* r13915: Fixed a very interesting class of realloc() bugs found by Coverity.Jeremy Allison2006-03-073-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | realloc can return NULL in one of two cases - (1) the realloc failed, (2) realloc succeeded but the new size requested was zero, in which case this is identical to a free() call. The error paths dealing with these two cases should be different, but mostly weren't. Secondly the standard idiom for dealing with realloc when you know the new size is non-zero is the following : tmp = realloc(p, size); if (!tmp) { SAFE_FREE(p); return error; } else { p = tmp; } However, there were *many* *many* places in Samba where we were using the old (broken) idiom of : p = realloc(p, size) if (!p) { return error; } which will leak the memory pointed to by p on realloc fail. This commit (hopefully) fixes all these cases by moving to a standard idiom of : p = SMB_REALLOC(p, size) if (!p) { return error; } Where if the realloc returns null due to the realloc failing or size == 0 we *guarentee* that the storage pointed to by p has been freed. This allows me to remove a lot of code that was dealing with the standard (more verbose) method that required a tmp pointer. This is almost always what you want. When a realloc fails you never usually want the old memory, you want to free it and get into your error processing asap. For the 11 remaining cases where we really do need to keep the old pointer I have invented the new macro SMB_REALLOC_KEEP_OLD_ON_ERROR, which can be used as follows : tmp = SMB_REALLOC_KEEP_OLD_ON_ERROR(p, size); if (!tmp) { SAFE_FREE(p); return error; } else { p = tmp; } SMB_REALLOC_KEEP_OLD_ON_ERROR guarentees never to free the pointer p, even on size == 0 or realloc fail. All this is done by a hidden extra argument to Realloc(), BOOL free_old_on_error which is set appropriately by the SMB_REALLOC and SMB_REALLOC_KEEP_OLD_ON_ERROR macros (and their array counterparts). It remains to be seen what this will do to our Coverity bug count :-). Jeremy.
* r13714: Set MOUNT_CIFS_VENDOR_SUFFIX if _SAMBA_BUILD_ is set toLars Müller2006-02-272-4/+22
| | | | | | | | | | | | | | "-"SAMBA_VERSION_OFFICIAL_STRING"-"SAMBA_VERSION_VENDOR_SUFFIX if SAMBA_VERSION_VENDOR_SUFFIX is set or "-"SAMBA_VERSION_OFFICIAL_STRING only if MOUNT_CIFS_VENDOR_SUFFIX is undefined. This results in: mount.cifs -V mount.cifs version: 1.10-3.1.2pre1-SVN-build-13706-foovendor or mount.cifs version: 1.10-3.1.2pre1-SVN-build-13706 Steve: If this is to long or you do not like it, we might add something lile -VV to report the added part.
* r13697: Remove unneeded header (header not present on all Linux either) for ↵Steve French2006-02-261-1/+0
| | | | umount.cifs.c
* r13612: #define NO_SYSLOG is dead as a doornail.Tim Potter2006-02-221-2/+0
|
* r13535: Fix #2353 based on a patch by William Jojo.Jeremy Allison2006-02-161-3/+4
| | | | Jeremy.
* r13486: Two more -- fix bug 3503Volker Lendecke2006-02-131-0/+2
|
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2006-01-284-4/+4
| | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.)
* r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix ↵Gerald Carter2006-01-131-0/+3
| | | | bad access to gencache.tdb after fork() in smbmount
* r12555: Fix more load_case_table swegfaults. Arggg.Jeremy Allison2005-12-281-0/+1
| | | | | What I'd give for a global constructor... Jeremy.
* r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")Jeremy Allison2005-12-271-1/+1
| | | | | | and replace calls to isupper/islower/toupper/tolower with ASCII equivalents (mapping into _w variants). Jeremy.
* r12045: More warning fixes... Just a few more to go.Jeremy Allison2005-12-031-0/+2
| | | | Jeremy.
* r12015: When smbspool tries to connect to a printer shared on a standaloneGünther Deschner2005-12-021-1/+14
| | | | | | | Windows XP box, smbspool has to mimic smbclient behaviour and also send a password-less NTLMSSP session setup. Guenther
* r11978: Volker's fix for #3292 (smbclient spins if server terminatesJeremy Allison2005-11-301-1/+5
| | | | | connection). Jeremy.
* r11976: (Slightly modified) Volker fix for #3293. Use SMBecho instead ofJeremy Allison2005-11-301-1/+6
| | | | | chkpath to keep a connection alive. Jeremy.
* r11938: Fix cifs to handle non-numeric uid and gid parameters and merge ↵Steve French2005-11-281-42/+122
| | | | | | | trunk and SAMBA_3 versions of mount.cifs and cleanup cifs vfs help. Modified version of patch from Olaf Kirch <okir at SuSE dot de> for Novell Bug 120601
* r11839: Info level 0x101 is really a protocol NT level.Jeremy Allison2005-11-221-1/+1
| | | | | Fix bug #3274 from Guenter Kukkukk <guenter.kukkukk@kukkukk.com> Jeremy.
* r11790: Avoid infinite retry to gather a connection.Günther Deschner2005-11-181-3/+11
| | | | Guenther
* r11770: BUG 2718: don't use qpathinfo_basic() call when remote server is ↵Gerald Carter2005-11-181-2/+3
| | | | Win9x or the do_cd() call will fail
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2005-11-053-6/+6
| | | | | | | | | | | | | | | | of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy.
* r10964: BUG 1051: store the directory path so we can send the full name in ↵Gerald Carter2005-10-131-2/+9
| | | | the unlink call (del tmp\foo)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-302-26/+15
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r10590: merging lost fix from the release branchGerald Carter2005-09-281-0/+2
|