summaryrefslogtreecommitdiff
path: root/source/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* r21324: Add linux setlease to the vfs layer. Next round, as Volker points out,Jim McDonough2007-10-103-0/+66
| | | | | | | | | it should be abstracted a little higher up so other os'es can have an entry, but it will take a bit more work. Thanks to Chetan Shringarpure and Mathias Dietz. I didn't increment the vfs number again because the kernel change notify stuff hasn't been released yet anyway.
* r21151: applying patches for CVE-2007-045[34]Gerald Carter2007-10-101-1/+1
|
* r21127: Add a mitigating comment ;-))Volker Lendecke2007-10-101-0/+8
|
* r21111: Reorganize the change notify params a bit. We now have the per-shareVolker Lendecke2007-10-101-3/+7
| | | | | | | | | | | | | | parameters change notify = [yes]/no # do we do it at all kernel change notify = [yes]/no # enable/disable inotify Those who want FAM need to say change notify = yes vfs objects = notify_fam Volker
* r21109: Send notify_fam.c through the VFS. Lets see how the build farm likes ↵Volker Lendecke2007-10-101-0/+302
| | | | | | this. Volker
* r21108: Send sys_notify_watch through the VFS, FAM is nextVolker Lendecke2007-10-101-0/+17
|
* r21004: Patch from Mathias Dietz <MDIETZ@de.ibm.com> to fix multi-nodeJim McDonough2007-10-101-1/+1
| | | | sharemodes in gpfs.
* r20717: Merge sharemode patch from Mathias Dietz <MDIETZ@de.ibm.com>.Jim McDonough2007-10-101-4/+9
| | | | | The patch fixes the behaviour of GPFS sharemodes when the access mask is no_access.
* r20500: Fix compiler warnings.James Peach2007-10-101-7/+7
|
* r20268: merge -r 20261:20263 from samba_3_0_24Herb Lewis2007-10-101-0/+1
| | | | get rid of previous prototype warnings
* r20261: merge 20260 from samba_3_0_24Herb Lewis2007-10-1025-3/+28
| | | | clean up a bunch of no previous prototype warnings
* r20235: Don't use realloc directly.James Peach2007-10-101-1/+1
|
* r20124: clean up nested extern declaration warningsHerb Lewis2007-10-102-2/+4
|
* r20089: Put gpfs acl function into vfs_gpfs module. Thanks to Gomati MohananJim McDonough2007-10-102-0/+658
| | | | | | | <gomati.mohanan@in.ibm.com>. Also fix fields for sec_desc differences between 3.0 and 3.0.24 in nfs4_acls.c.
* r20048: Fix vfs_full_audit after Jims kernel_flock additionVolker Lendecke2007-10-101-0/+20
|
* r19826: Fix typoJim McDonough2007-10-101-1/+1
|
* r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op toJim McDonough2007-10-103-0/+310
| | | | | the vfs layer, since gpfs supports it. Thanks to Volker, Christian, Mathias, Chetan, and Peter.
* r18785: Check in Peter Somogyis build fixVolker Lendecke2007-10-101-5/+5
|
* r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij2007-10-103-9/+9
| | | | | | | | | descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it.
* r18719: Compile fix from Peter Somogyi.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r18603: Add in the NFSv4 ACL mapping code from IBM.Jeremy Allison2007-10-105-0/+1433
| | | | | Sorry for the delay :-). Jeremy.
* r18271: Big change:Gerald Carter2007-10-101-3/+3
| | | | | | | | | | | * autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in.
* r17367: Reverting the ab code. Note I'm not saying thisJeremy Allison2007-10-103-1352/+0
| | | | | | | | code is wrong or bad or anything, just that it needs to be discussed & reviewed on the samba-technical list before we add a platform-specific NFSv4 mapping. That way lies a lot of future pain :-). Jeremy.
* r17358: Re-add JFS2 NFS4 ACLs support, move readme for it into AIX-specific ↵Alexander Bokovoy2007-10-103-0/+1352
| | | | examples directory.
* r17354: Revert -r 17353 per Volker request while gpfs compatibility layer ↵Alexander Bokovoy2007-10-104-1961/+0
| | | | code will be released.
* r17353: Add support for JFS2 NFS4/AIXC and GPFS acls based on NFSv4 ACLs.Alexander Bokovoy2007-10-104-0/+1961
|
* r17316: More C++ warnings -- 456 leftVolker Lendecke2007-10-101-5/+5
|
* r17179: Merge the vl-posixacls tmp branch into mainline. ItJim McDonough2007-10-108-5/+2408
| | | | | | | | | | | | | | | | | modularizes our interface into the special posix API used on the system. Without this patch the specific API flavor is determined at compile time, something which severely limits usability on systems with more than one file system. Our first targets are AIX with its JFS and JFS2 APIs, at a later stage also GPFS. But it's certainly not limited to IBM stuff, this abstraction is also necessary for anything that copes with NFSv4 ACLs. For this we will check in handling very soon. Major contributions can be found in the copyright notices as well as the checkin log of the vl-posixacls branch. The final merge to 3_0 post-3.0.23 was done by Peter Somogyi <psomogyi@gamax.hu>
* r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some ↵Volker Lendecke2007-10-101-2/+2
| | | | | | pstrings. Volker
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-1018-438/+2347
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r16411: Fix compilation of vfs_afsacl, thanks to Greszler Szilard for tryingVolker Lendecke2007-10-101-23/+31
|
* r15910: vfs_full_audit does not need current_userVolker Lendecke2007-10-101-2/+0
|
* r15909: Implement recycle:subdir_modeVolker Lendecke2007-10-101-0/+18
|
* r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison2007-10-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 Allison2007-10-101-0/+4
| | | | Jeremy.
* r13915: Fixed a very interesting class of realloc() bugs found by Coverity.Jeremy Allison2007-10-101-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 Carter2007-10-102-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 Allison2007-10-101-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 Sorce2007-10-101-1/+1
|
* r13222: Never assume mode_t is of type int.Simo Sorce2007-10-101-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 Allison2007-10-101-20/+64
| | | | | correctly. Static variables were used ! Jeremy.
* r12279: unix_mask_match has been broken for *ever*... (How).Jeremy Allison2007-10-101-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 Lendecke2007-10-101-27/+8
| | | | | | | | build farm reacts :-) Volker
* r11585: Implement the possibility to have AFS users as SIDs in pts.Volker Lendecke2007-10-101-0/+24
| | | | Volker
* r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.Jeremy Allison2007-10-101-0/+21
| | | | Jeremy.
* r10819: merging a couple of fixes from trunkGerald Carter2007-10-101-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 Carter2007-10-101-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 Hodge2007-10-103-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 Lendecke2007-10-101-1/+1
|
* r10106: Fix typos. Oops, more fixes.John Terpstra2007-10-101-6/+6
|