summaryrefslogtreecommitdiffstats
path: root/source/smbd/quotas.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix cut and paste error in quota code.Timur2008-09-161-2/+2
| | | | (cherry picked from commit 02613c6ef0cf2eee69a48dff4c29cb1266abbfe3)
* Remove last pstring from smbd/*.cJeremy Allison2007-11-131-180/+185
| | | | Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-17/+17
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r25311: Patch from Heinrich Mislik <Heinrich.Mislik@univie.ac.at> to fix AIXVolker Lendecke2007-10-101-0/+3
| | | | | | | | quotas. Heinrich, I trust you on that, I don't even have compiled this :-) Volker
* r23786: Use linux/dqblk_xfs.h rather than a private copy of this header in theAndrew Tridgell2007-10-101-1/+13
| | | | | | | | | | Samba3 tree. This is neater, plus it avoids the need to get legal approval from SGI to use their GPLv2-only code under GPLv3. If/when SGI legal sort things out, we could consider adding back this header for very old systems where linux/dqblk_xfs.h is not available.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22149: BUG 4500: patch from Jorge Santos <jorge_a_santos@hotmail.com>Gerald Carter2007-10-101-1/+1
| | | | to fix compile bug ni quotas.c (typo calling unbecome_root()).
* r22096: become_root_uid_only() is unneeded - it's only used inJeremy Allison2007-10-101-15/+15
| | | | | | messages.c. Refactor to use become_root() instead and make it local to messages.c Jeremy.
* r22060: Fix for AIX quotas from Heinrich Mislik <Heinrich.Mislik@univie.ac.at>.Jeremy Allison2007-10-101-0/+30
| | | | Jeremy.
* r19260: Fix for bug #3524 from tiamat@komi.mts.ru - Solaris quotas.Jeremy Allison2007-10-101-7/+9
| | | | Jeremy.
* r17296: Replace the understandable parts of the quotaJeremy Allison2007-10-101-17/+13
| | | | | | code with become_root_uid_only()/unbecome_root_uid_only() pairs. This code needs working on..... Jeremy.
* r12477: Remove a gcc -O6 warningVolker Lendecke2007-10-101-0/+2
|
* r12076: Ensure setmntent() returns with != NULL in the disk_quotas() LinuxLars Müller2007-10-101-1/+3
| | | | | | | version. The IRIX 6.2 version is still without this check as I'm not sure if setmntent() is implemented in the same way.
* r10901: BUG 3145: Fix build issue regarding quota support on SolarisGerald Carter2007-10-101-3/+3
|
* r6712: BUG 2362: fix quota support on DragonFly (Joerg Sonnenberger ↵Gerald Carter2007-10-101-14/+14
| | | | <joerg@leaf.dragonflybsd.org>)
* r5958: BUG 1843: patch from james peach to fix quotas (with no soft limits) ↵Gerald Carter2007-10-101-5/+10
| | | | on IRIX
* r5157: BUG 2266: conditionally include rpc/nettype.h to work around missing ↵Gerald Carter2007-10-101-0/+2
| | | | header onf FreeBSD4
* r4301: One more *alloc -> SMB_MALLOC (not compiled by default).Jeremy Allison2007-10-101-2/+2
| | | | Jeremy.
* r1333: NFS Quota support from Dan Peterson.Richard Sharpe2007-10-101-1/+203
|
* BUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at ↵Gerald Carter2004-03-161-0/+4
| | | | (Heinrich Mislik)
* * Fix XFS quotas: XFS_USER_QUOTA -> USRQUOTAStefan Metzmacher2004-01-151-8/+9
| | | | | | | | | XFS_GROUP_QUOTA -> GRPQUOTA * Fix disk_free calculation with group quotas. * Add debug class 'quota' and a lot of DEBUG()'s to the quota code. metze
* Patch from Stefan (metze) Metzmacher <metze at metzemix.de> to revert to ↵Jeremy Allison2004-01-051-63/+96
| | | | | | | | | | | | | | | | | | 2.2.x quota methods. :-). "here's a patch which ports the samba 2.2 samba_linux_quota.h stuff to 3_0. This is needed because of so many broken quota files outthere. Please, test this with old, new kernels (strucr dqblk, struct mem_dqblk, and struct if_dqblk) , quota.user, aquota.user formats what is when a user is over soft quota and over hard quotas..." Jeremy.
* Group quotas patch from "Heinreichsberger, Helmut" ↵Jeremy Allison2003-11-191-19/+32
| | | | | | <Helmut.Heinreichsberger@wincor-nixdorf.com> Jeremy.
* Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. ↵Alexander Bokovoy2003-05-141-0/+5
| | | | Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
* Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy2003-05-121-0/+109
| | | | | | | 1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab 2. Disabled by default and when requested, will be probed and enabled only on Linux where it works 3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far Documentation to follow
* Fix disk quotas support on HP/UX (patch by David Nixon)Jelmer Vernooij2003-05-011-1/+1
|
* Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.Jeremy Allison2003-03-111-1/+2
| | | | Jeremy.
* performance patch from HP-UX folks (cant remember who)Gerald Carter2003-01-281-3/+14
|
* small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't ↵Jelmer Vernooij2002-11-131-0/+5
| | | | exist (e.g. in SuSE 8.1) (by Metze)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* XFS quota patch for Linux.Jeremy Allison2001-11-301-2/+33
| | | | Jeremy.
* Added NT_USER_TOKEN into server_info to fix extra groups problem.Jeremy Allison2001-11-031-6/+6
| | | | | Got "medieval on our ass" about const warnings (as many as I could :-). Jeremy.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-2/+0
|
* Attempt to make quotas work with RH7.1, and with other Linuxen... This isJeremy Allison2001-09-211-68/+125
| | | | | *HARD*, dammit ! Jeremy.
* move to SAFE_FREE()Simo Sorce2001-09-171-1/+1
|
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-1/+1
| | | | can't redefine them. damn.
* More debug %d -> %u issues.Jeremy Allison2001-04-271-8/+3
| | | | Jeremy.
* Fixes for problems in NFS server code from Michael Gerdts ↵Jeremy Allison2001-04-271-23/+41
| | | | | | <Michael.Gerdts@usa.alcatel.com>. Jeremy.
* Fix from "Romeril, Alan" <a.romeril@ic.ac.uk> to get his NFS quota codeJeremy Allison2001-04-051-6/+6
| | | | | to work on Solaris 2.6. Jeremy.
* Integrated solaris nfs quota code from Alan Romeril <a.romeril@ic.ac.uk>Jeremy Allison2001-04-011-112/+275
| | | | Jeremy
* Removed NFS quotas code for Solaris as Alan wants to re-write it.Jeremy Allison2001-03-271-279/+112
| | | | Jeremy.
* Added NFS quota support for Solaris 5.x from Alan Romeril <a.romeril@ic.ac.uk>.Jeremy Allison2001-03-271-112/+279
| | | | | | sun1.samba.org is down at the moment so I can't test the compile on this. I'm sure Solaris people using quotas will scream if I've meesed anything up :-). Jeremy.
* Fixes from Toomas Soome <tsoome@ut.ee> code unicode problems, plusJeremy Allison2001-02-271-9/+17
| | | | | a solaris quota update fix. Jeremy.
* Remove C++ style commentsDavid O'Neill2000-12-041-1/+1
|
* Fix for soft quotas not being set fromJeremy Allison2000-04-101-0/+24
| | | | | Norbert Püschel <Pueschel.Norbert@Walzbarren-VAW.ne.uunet.de> Jeremy.
* Cleaned up call_trans2getdfsreferral for when MS_DFS is not defined.Shirish Kalele2000-03-131-2/+145
|
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-56/+55
|
* Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1998-11-171-2/+2
| | | | | | | | | | Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy.
* include/smb.h: Re-added zero pointer protection to ZERO_STRUCTP.Jeremy Allison1998-11-131-1/+1
| | | | | | | lib/util_sock.c: Added strerror() calls to getpeername failures (which seem to be giving IRIX trouble at the moment). rpc_parse/parse_sec.c: Changed use of ZERO_STRUCTPN to ZERO_STRUCTP which again does zero pointer protection. smbd/quotas.c: Fixed typo. Jeremy.