summaryrefslogtreecommitdiffstats
path: root/source/modules
Commit message (Collapse)AuthorAgeFilesLines
* r22770: sync with SAMBA_3_0_25 as of svn r22765Gerald Carter2007-05-091-1/+1
|
* r22650: sync up with SMABA_3_0_25 as of svn r22649Gerald Carter2007-05-034-21/+29
|
* r22434: sync from the 3.0.25 tree for rc2Gerald Carter2007-04-212-4/+3
|
* r22141: add forgotten vfs_readahead fileGerald Carter2007-04-091-0/+188
|
* r22138: * Sync up with the SAMBA_3_0_25 as of svn r22132.Gerald Carter2007-04-092-17/+42
| | | | | * Set VERSION to 3.0.25rc1 * Update release notes.
* r21889: * Pull from SAMBA-3_0_25 svn r21888Gerald Carter2007-03-207-61/+156
| | | | * Set version to 3.0.25pre2
* r21585: Start syncing the monster that will become 3.0.25pre1Gerald Carter2007-02-2834-451/+7616
| | | | | | | | Still todo: * release notes * few minor outstanding patches * additional idmap man pages
* r21147: committing changes for 3.0.24Gerald Carter2007-02-051-1/+1
|
* r16418: Pull in more Klocwork fixes (up to r16415)Gerald Carter2006-06-201-23/+31
|
* r16104: Set version to 3.0.23rc2Gerald Carter2006-06-082-2/+18
| | | | | Bring release tree up to current 3.0 tree (svn merge -r15845:16103 $SVNURL/branches/SAMBA_3_0)
* r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison2006-04-101-0/+17
| | | | | | | | into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy.
* r14333: Fix coverity #77, ensure we can't exit after allocation.Jeremy Allison2006-03-131-0/+4
| | | | Jeremy.
* r13915: Fixed a very interesting class of realloc() bugs found by Coverity.Jeremy Allison2006-03-071-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* r13384: Adding in some more SuSE patchesGerald Carter2006-02-082-0/+2
| | | | | | * uninitialized-variables.diff * samba-smbadduser.diff * samba-implicit_decl.patch
* r13293: Rather a big patch I'm afraid, but this should fix bug #3347Jeremy Allison2006-02-021-4/+4
| | | | | | | | by saving the UNIX token used to set a delete on close flag, and using it when doing the delete. libsmbsharemodes.so still needs updating to cope with this change. Samba4 torture tests to follow. Jeremy.
* r13224: better to cast the return tooSimo Sorce2006-01-291-1/+1
|
* r13222: Never assume mode_t is of type int.Simo Sorce2006-01-291-2/+2
| | | | We were trashing the stack on machines that define mode_t as uint16_t
* r13028: Fix for #3419 - vfs_full_audit *never* workedJeremy Allison2006-01-191-20/+64
| | | | | correctly. Static variables were used ! Jeremy.
* r12279: unix_mask_match has been broken for *ever*... (How).Jeremy Allison2005-12-161-1/+1
| | | | | | | | Ensure it returns a BOOL. Jerry (and anyone else) please check this, I think all uses are now correct but could do with another set of eyes. Essential for 3.0.21 release. Jeremy.
* r12051: Merge across the lookup_name and lookup_sid work. Lets see how the ↵Volker Lendecke2005-12-031-27/+8
| | | | | | | | build farm reacts :-) Volker
* r11585: Implement the possibility to have AFS users as SIDs in pts.Volker Lendecke2005-11-081-0/+24
| | | | Volker
* r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.Jeremy Allison2005-10-201-0/+21
| | | | Jeremy.
* r10819: merging a couple of fixes from trunkGerald Carter2005-10-071-0/+132
| | | | | | | * only keep the registry,tdb file open when we have an open key handle * tpot's setup.py fix * removing files that no longer exist in trunk and copying some that were missing in 3.0
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-301-1/+1
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r10619: Allow syslog facility and priority to be set viaDeryck Hodge2005-09-293-34/+99
| | | | | | | | | | | | | | | smb.conf for audit modules. Facility may be set to USER or LOCAL0-LOCAL7. Any of the syslog priority settings may be used. smb.conf will look like: audit:facility = LOCAL5 audit:priority = INFO (Or full_audit:facility, or whatever audit module is used.) deryck
* r10239: Fix cut&paste errorVolker Lendecke2005-09-151-1/+1
|
* r10106: Fix typos. Oops, more fixes.John Terpstra2005-09-091-6/+6
|
* r10105: Fix typos. Oops, modules are called objects.John Terpstra2005-09-091-2/+2
|
* r10061: add some description to the default_quota moduleStefan Metzmacher2005-09-071-0/+50
| | | | | | jht: can you merge that to the howto, please? metze
* r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison2005-08-227-37/+37
| | | | | | | UNIX vendor not understanding abstract data types :-(. Jeremy.
* r8366: Root-level files don't have a slash, but acls need to be settable onVolker Lendecke2005-07-121-4/+6
| | | | | | them. Thanks to Brent Trotter for reminding me to commit this :-) Volker
* r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison2005-07-081-2/+2
| | | | | | | | | tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy.
* r8029: Fix bug 2841. Thanks to Brett Trotter.Volker Lendecke2005-06-301-5/+5
| | | | Volker
* r7963: Add aio support to 3.0.Jeremy Allison2005-06-271-0/+108
| | | | Jeremy.
* r7904: Fix a memleak in vfs_afsaclVolker Lendecke2005-06-251-1/+1
|
* r7902: Fix the buildVolker Lendecke2005-06-251-3/+3
|
* r7893: Add in the extra parameters to opendir() to fix the large ↵Jeremy Allison2005-06-257-19/+19
| | | | | | | directory/insane app problem. Rev vfs version. Doesn't change the normal codepath. Jeremy.
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2005-06-245-21/+21
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r7807: Allow to touch mtime in vfs-recycle withGünther Deschner2005-06-211-5/+16
| | | | | | recycle:touch_mtime = true Guenther
* r7544: Fix for bug #2196 from Denis Sbragion <d.sbragion@infotecna.it>.Jeremy Allison2005-06-131-3/+8
| | | | | Allow absolute path (system wide) recycle bin. Jeremy.
* r7542: Patch from Renaud Duhaut <rd@duhaut.com> for a parameterJeremy Allison2005-06-131-1/+18
| | | | | | "directory_mode" when creating recycle directories. Bug #1040. Jeremy.
* r7541: Patch from core@road-star.jp for bug #2792. Ensure the shadow copyJeremy Allison2005-06-131-0/+24
| | | | | | module hooks seekdir, telldir, rewinddir to match updated large directory code. Jeremy.
* r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter2005-05-313-10/+12
| | | | version to 3.0.20pre1
* r6777: Fix vfs_full_audit.c after jra's change.Volker Lendecke2005-05-131-0/+8
| | | | Volker
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2005-04-061-4/+2
|
* r6149: Fixes bugs #2498 and 2484.Derrell Lipman2005-03-313-12/+10
| | | | | | | | | | | | | | | | | | 1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task.
* r5880: From the comment....Volker Lendecke2005-03-181-0/+317
| | | | | | | | | | | * Implement a fixed mapping of forbidden NT characters in filenames that are * used a lot by the CAD package Catia. * * Yes, this a BAD BAD UGLY INCOMPLETE hack, but it helps quite some people * out there. Catia V4 on AIX uses characters like "<*$ a *lot*, all forbidden * under Windows... Volker
* r5820: Fix bug #2451 - missing functions in full audit vfs module.Jeremy Allison2005-03-161-2/+21
| | | | Jeremy.
* r4864: Remove unused var.Jeremy Allison2005-01-201-2/+2
| | | | Jeremy.
* r4738: Fix for bug #2238 - memory leak in shadow copy vfs.Jeremy Allison2005-01-141-0/+1
| | | | Jeremy.