summaryrefslogtreecommitdiffstats
path: root/source/smbd/dfree.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove connection_struct->mem_ctx, connection_struct is its own parentVolker Lendecke2008-05-051-1/+1
|
* int->boolVolker Lendecke2007-12-101-2/+2
|
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-3/+3
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r25118: More pstring elimination.Jeremy Allison2007-10-101-3/+11
| | | | Jeremy.
* 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.
* r21369: sys_disk_free return type is SMB_BIG_UINT.Simo Sorce2007-10-101-1/+1
| | | | | | | Fix dfree_retval to be SMB_BIG_UINT as well, otherwise we may wrap up on > 2T file systems. Simo.
* r11190: Fix enhancement request #3192.Jeremy Allison2007-10-101-10/+53
| | | | | | | | This does 2 things. 1). Makes dfree command a per-share parameter (it should be anyway IMHO). 2). Adds a "dfree cache time" parameter in seconds that specifies how long a dfree command output should be cached for. Default is zero (no caching). Jeremy.
* r5822: Actually return an error message if disk_free fails ! Pointed out by ↵Jeremy Allison2007-10-101-3/+12
| | | | | | Ying Li <ying.li2@hp.com>. Jeremy.
* r5268: Fix bug #2310, only do 16-bit normalization on small dfreeJeremy Allison2007-10-101-5/+5
| | | | | request. Jeremy.
* Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy2003-05-121-6/+6
| | | | | | | 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
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Added NT_USER_TOKEN into server_info to fix extra groups problem.Jeremy Allison2001-11-031-1/+1
| | | | | Got "medieval on our ass" about const warnings (as many as I could :-). Jeremy.
* get rid of compiler warnings (casts and delete unused variables)Herb Lewis2001-10-231-1/+1
|
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-3/+0
|
* The big character set handling changeover!Andrew Tridgell2001-07-041-4/+4
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-081-1/+1
| | | | Jeremy.
* Fixed processing of dfree script (was truncating).Jeremy Allison2000-12-121-2/+0
| | | | Jeremy.
* file_lines_load/file_lines_pload can now optionally convert unix_to_dos()Jeremy Allison2000-12-071-1/+1
| | | | | on read. Jeremy.
* split fsusage() into a separate module (to fix linking problems withAndrew Tridgell2000-04-191-127/+2
| | | | spoolssd in tng)
* converted a bunch more functions to use a fd instead of a FILE*Andrew Tridgell2000-04-161-11/+9
| | | | | | | to support some of this I added the following functions in util_file.c file_lines_pload : load lines from a pipe file_pload : load a pipe into memory
* Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison2000-03-161-1/+1
| | | | Jeremy
* Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison2000-02-151-5/+5
| | | | | | | | | on the glibc source code and are safer than the traditional popen as they don't use a shell to exec the requested command. Now we have these functions they can be tightened up (environment etc.) as required to make a safe popen. It should now be safe to add the environement variable loading code to loadparm.c Jeremy.
* Wrapped popen calls in HAVE_POPEN - needed if we are to add theJeremy Allison2000-01-291-0/+2
| | | | | env patch. Jeremy.
* Use slprintf not snprintf.Jeremy Allison2000-01-121-1/+1
| | | | Jeremy.
* Re-added "dfree command" functionality that was described in the man pagesJeremy Allison2000-01-061-1/+48
| | | | | but was not in the code. Jeremy.
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-14/+22
|
* converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell1998-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | I did this when I saw yet another bug report complaining about smbclient intermittently missing files. Rather than applying more patches to smbclient it was better to move to the more robust clientgen.c code. The conversion wasn't perfect, I probably lost some features of smbclient while doing it, but at least smbclient should be consistent now. It if fails it should _always_ fail rather than giving people the false impression of a reliable utility. the tar stuff seems to work, but hasn't had much testing as I never use it myself. I'm sure someone will find bugs in my conversion of smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It now uses clientgen.c exclusively. smbclient is still quite messy, but at least it doesn't build its own SMB packets. I haven't touched smbmount as I never use it. Mike, do you want to convert smbmount to use clientgen.c?
* lib/charcnv.c: Improved debug comment.Jeremy Allison1998-11-061-0/+11
| | | | | | | | | | | libsmb/namequery.c: Fix to remove 2 second wait is we are doing a unicast and got a reply. smbd/dfree.c: smbd/noquotas.c: smbd/quotas.c: Fixes from Dejan Ilic <svedja@lysator.liu.se> for the quota code. utils/smbpasswd.c: Fixes to allow smbpasswd to be called from swat. Jeremy.
* got rid of SMB_STRUCT_STATVFS. I don't think we should be definingAndrew Tridgell1998-09-181-3/+7
| | | | structures that only apply on some platforms.
* configure configure.in: Added checks for statvfs64. Last bit of 64 bit ↵Jeremy Allison1998-09-171-23/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | widening (I hope :-). include/config.h.in: Added #undef STAT_STATVFS64. include/includes.h: Added SMB_STRUCT_STATVFS type, Changed SMB_BIG_INTEGER to SMB_BIG_UINT and SMB_BIG_INT types. include/smb.h: Added flag defines from CIFS spec. lib/debug.c: Fixed one more mode_t issue. lib/system.c: Added sys_statvfs wrapper. lib/util.c: Changed trim_string to use size_t. param/loadparm.c: Moved "blocking locks" into locking section. Alphabetised locking options. Question - shuld we do this for all options ? passdb/ldap.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. passdb/nispass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. passdb/smbpass.c: Changed SMB_BIG_INTEGER to SMB_BIG_UINT. smbd/dfree.c: Changed to use 64 bit types if available. Moved to use unsigned types. smbd/dosmode.c: Fixed one more mode_t issue. smbd/negprot.c: Changed literals to be FLAG_ #defines. smbd/nttrans.c: Removed dead code. smbd/open.c: Changed disk_free call. smbd/process.c: Changed literals to be FLAG_ #defines. smbd/reply.c: Changed disk_free call. smbd/trans2.c: Fixed but in SMB_QUERY_FS_VOLUME_INFO call. Was using UNICODE - should use ascii. tests/summary.c: Added STAT_STATVFS64 check. Jeremy.
* merge from the autoconf2 branch to the main branchAndrew Tridgell1998-07-291-0/+231