LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Quotas - User, Group, Samba (https://www.linuxquestions.org/questions/linux-enterprise-47/quotas-user-group-samba-426958/)

Skip-DMP 03-21-2006 11:12 AM

Quotas - User, Group, Samba
 
I have seen some threads related to Samba and quotas, but the details seem pretty sketchy. I have some questions that I hope I can enlighten me a bit in this area. I have some conceptual questions that may yield my desired results, but open up a number of other questions. Here we go.

My goal is to have X number of samba shares for my users, but limit the total space those shares can consume. This is obstacle number one. Theoretically, I was thinking I could do so like this:

share1, assign rights to group "shareone" and set a quota limit on the group
share2 ,assign rights to group "sharetwo" and set a quota limit on the group
share3, etc...

But, this assumes that I want all users I place into "shareone" will full access to share1. Is it possible to set a quota limit at that level, but assign different rights on folders contained within the share? Would this then allow me to limit to max size of share1 to (for example ) 20gb regardless of what rights are assigned to folders within the share?

My secondary question is this...

If groupone has a quota limit placed on it of 1gb and grouptwo a quota limit of 2gb and are both granted rights to the same share, then I have a user as a member of both groups...what is the quota limit on that user? Is it limited by the smallest number or the highest allowed total? Or perhaps is it combined?

Is allowing multiple groups to have access to a share (or folder) even an option?

Sorry, still a little bit of a linux newbie. I've been pretty successful with implementation so far, but now I have the challenge of converting both my windows and netware box access combined onto my linux box (or possibly two boxes). The security on our old systems are so convoluted that this is an issue... Where my issue is going to be is the ability for some groups to have writable access and others to have read-only access to some folders/shares.

thorn168 03-28-2006 05:16 PM

I recommend that you head over to www.samba.org and read up on the documentation they have available regarding samba. They are the authorities on Samba servers. In fact they have the two most comprehensive Samaba books in print available for free via the website.

"Samba Howto" and "Samba 3 by example"

BTW both books have the answers to you the questions that you have posted.


All times are GMT -5. The time now is 09:39 PM.