#include "includes.h"
+#ifdef WITH_QUOTAS
+
static SMB_BIG_UINT limit_nt2unix(SMB_BIG_UINT in, SMB_BIG_UINT bsize)
{
SMB_BIG_UINT ret = (SMB_BIG_UINT)0;
return;
}
+
+#endif /* WITH_QUOTAS */
if( strchr_m(fname, ':')) {
+#ifdef WITH_QUOTAS
if ((fake_file_type=is_fake_file(fname))!=0) {
/*
* here we go! support for changing the disk quotas --metze
* xp also tries a QUERY_FILE_INFO on the file and then close it
*/
} else {
+#endif
END_PROFILE(SMBntcreateX);
return ERROR_NT(NT_STATUS_OBJECT_PATH_NOT_FOUND);
+#ifdef WITH_QUOTAS
}
+#endif
}
}
}
+#ifdef WITH_QUOTAS
/****************************************************************************
Reply to get user quota
****************************************************************************/
return -1;
}
+#endif /* WITH_QUOTAS */
/****************************************************************************
Reply to a SMBNTtrans.
&setup, ¶ms, &data);
END_PROFILE_NESTED(NT_transact_query_security_desc);
break;
+#ifdef WITH_QUOTAS
case NT_TRANSACT_GET_USER_QUOTA:
START_PROFILE_NESTED(NT_transact_get_user_quota);
outsize = call_nt_transact_get_user_quota(conn, inbuf, outbuf,
&data, data_count);
END_PROFILE_NESTED(NT_transact_set_user_quota);
break;
+#endif /* WITH_QUOTAS */
default:
/* Error in request */
DEBUG(0,("reply_nttrans: Unknown request %d in nttrans call\n", function_code));