LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to set quota for AD youer through samba (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-set-quota-for-ad-youer-through-samba-592970/)

procfs 10-19-2007 06:25 AM

How to set quota for AD youer through samba
 
Hi

I have a AD server and samba domain member. I have configured the samba so its resources can be controlled ACL (for users on AD) and its working fine.

What I want is?

to enable quota on this samba share for AD users

And my krb5.conf and smb.con is as follows

[libdefaults]
default_realm = EXAMPLE.LK
dns_lookup_kdc = false
dns_lookup_realm = false

[domain_realm]
.example.lk = EXAMPLE.LK
example.lk = EXAMPLE.LK

[realms]
EXAMPLE.LK = {
default_domain = example.lk
kdc = Phantom1.example.lk
}


[global]
workgroup = example
server string = RAWANA2

winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/bash

security = ads
realm = EXAMPLE.LK
password server = Phantom1.example.lk

[SESU_REPO]
comment = a comment
path = /SESU_REPO
read only = no
inherit acls = yes
inherit permissions = yes
create mask = 700
directory mask = 700
valid users = @"example+sesu" <-- define your ADS groups
admin users = @"example+Domain Admins" <-- define your ads groups with admin rights

procfs 11-04-2007 12:18 AM

Any way its pritty simple if your samba and winbind is working ok then you should be able to do the quota as you all ways does refer to

http://www.redhat.com/docs/manuals/l...sk-quotas.html

regards


All times are GMT -5. The time now is 12:37 PM.