[PATCH] remove storing of default quotas in root's quota record

Stefan (metze) Metzmacher metze at metzemix.de
Fri Jun 13 11:17:51 GMT 2003


H Alexander,

here's a new patch...

here's a patch which removes the code that stores the default quotas in root's
quota record.

and this patch add the SMB_GROUP_FS_QUOTA_TYPE cases.

which are not used yet...



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>
 From ???@??? Di Jun 10 15:56:15 2003
To: ab at samba.org
From: "Stefan (metze) Metzmacher" <metze at metzemix.de>
Subject: [PATCH] vfs default quota module
Cc:
Bcc:
X-Attachments: N:\smb\patches\3_0-default-quota-01.diff;
In-Reply-To:
References:
Message-Id: <5.2.0.9.2.20030610154958.016dfb78 at post.strato.de>
X-Eudora-Signature: <metze>
X-Persona: <metze>

Hi Alexander,

here's the default quota vfs module.

there are the following paramter's:

default_quota: uid = 0
default_quota: uid nolimit = yes
default_quota: gid = 0
default_quota: gid nolimit = yes


uid is the uid of the quota record where the default quotas should be stored.

uid nolimit = yes means that process run as uid have the capability to 
ignore disk quotas.

and the quota calls for uid will return disk space unlimited.

if uid nolimit = no, then the default quota limit is shown for uid too.



THIS PATCH NEEDS TESTING!!!

I have not tested it yet, if someone has time
feedback is welcome.


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>
 From ???@??? Mi Jun 04 15:50:36 2003
To: Dimitri Boone <dimboo at goformusic.be>
From: Stefan Metzmacher <stefan.metzmacher at metzemix.de>
Subject: Re: Tickets for Bon Jovi in Ostend jun 8th
Cc:
Bcc:
X-Attachments:
In-Reply-To: <v0422084cbb03a55b7281@[194.78.31.187]>
References: <5.2.0.9.2.20030604151811.01443410 at post.strato.de> 
<5.2.0.9.2.20030604151811.01443410 at post.strato.de>
Message-Id: <5.2.0.9.2.20030604154858.0144a690 at post.webmailer.de>
X-Eudora-Signature: <Stefan Metzmacher>
X-Persona: <Stefan Metzmacher>

At 15:32 04.06.2003 +0200, you wrote:
>>Hi there,
>>
>>I have a little question...
>>
>>Are there tickets available or are they sold out.
>
>Tickets will be available at the box-office Sunday. Reservations via 
>Goformusic are no longer possible as the concert is already in a few days.

Many thanks...

Do you know how many tickets are available ~.

I'm comming from germany and want to be sure to got a ticket before I book 
my train tickets...

Regards

Stefan


Stefan Metzmacher

stefan.metzmacher at metzemix.de
 From ???@??? Mi Jun 04 16:09:08 2003
To: Dimitri Boone <dimboo at goformusic.be>
From: Stefan Metzmacher <stefan.metzmacher at metzemix.de>
Subject: Re: Tickets for Bon Jovi in Ostend jun 8th
Cc:
Bcc:
X-Attachments:
In-Reply-To: <v04220859bb03a9b778d8@[194.78.31.187]>
References: <5.2.0.9.2.20030604154858.0144a690 at post.webmailer.de> 
<5.2.0.9.2.20030604151811.01443410 at post.strato.de> 
<5.2.0.9.2.20030604151811.01443410 at post.strato.de> 
<5.2.0.9.2.20030604154858.0144a690 at post.webmailer.de>
Message-Id: <5.2.0.9.2.20030604160854.01457060 at post.webmailer.de>
X-Eudora-Signature: <Stefan Metzmacher>
X-Persona: <Stefan Metzmacher>

At 15:50 04.06.2003 +0200, you wrote:
>>At 15:32 04.06.2003 +0200, you wrote:
>>>>Hi there,
>>>>
>>>>I have a little question...
>>>>
>>>>Are there tickets available or are they sold out.
>>>
>>>Tickets will be available at the box-office Sunday. Reservations via 
>>>Goformusic are no longer possible as the concert is already in a few days.
>>
>>Many thanks...
>>
>>Do you know how many tickets are available ~.
>
>More then enough ...

ok, thanks

Stefan


-----------------------------------------------

Stefan Metzmacher

stefan.metzmacher at metzemix.de
 From ???@??? Mi Jun 04 16:11:29 2003
To: Eugen SAVIN <seugen at abc.ro>
From: "Stefan (metze) Metzmacher" <metze at metzemix.de>
Subject: Re: Could you help please.
Cc: samba-technical at lists.samba.org
Bcc:
X-Attachments:
In-Reply-To: <1054734531.18619.189.camel at darkstar.abc.ro>
References:
Message-Id: <5.2.0.9.2.20030604160723.014549d0 at post.webmailer.de>
X-Eudora-Signature: <metze>
X-Persona: <metze>

At 16:48 04.06.2003 +0300, you wrote:
>Dear Sir,
>
>Please excuse me if I am disturbing you,

a bit :-)

>  but it seems no one provides me
>with an answer to my problem :(
>
>Thank you very much in advance.
>Eugen.
>
>
>I want to make the smbclient code work with some other application, so
>that I can easily send winpopup messages to some windows machines. The
>problem is that we have diffrent C-classes, and we would like to send
>the message based on the IP address and not the NetBios name.
>
>Can you help me with this?

Sorry, I'm not so familiar with this.

can try to use wins to resolv the names for all your subnets.

Have you asked at the samba at samba.org mailing lists.
there are maybe someone who had solved this problem already.

or you can try #samba channel at irc.freenode.net IRC servers.




metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3_0-rem-def-quota-02.diff
Type: application/octet-stream
Size: 10003 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030613/435d0476/3_0-rem-def-quota-02.obj
-------------- next part --------------

metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>


More information about the samba-technical mailing list