This commit was manufactured by cvs2svn to create branch 'SAMBA_TNG'.
[Samba.git] / source / smbd / noquotas.c
blob5c55bb47c8e4029707a9de86124fcf6b50c2a56e
1 /*
2 Unix SMB/Netbios implementation.
3 Version 1.9.
4 No support for quotas :-).
5 Copyright (C) Andrew Tridgell 1992-1998
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #include "includes.h"
25 * Needed for auto generation of proto.h.
28 BOOL disk_quotas(char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize)
30 (*bsize) = 512; /* This value should be ignored */
32 /* And just to be sure we set some values that hopefully */
33 /* will be larger that any possible real-world value */
34 (*dfree) = (SMB_BIG_UINT)-1;
35 (*dsize) = (SMB_BIG_UINT)-1;
37 /* As we have select not to use quotas, allways fail */
38 return False;