LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2007, 06:25 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Rep: Reputation: 34
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

Last edited by procfs; 10-19-2007 at 06:28 AM.
 
Old 11-04-2007, 12:18 AM   #2
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Original Poster
Rep: Reputation: 34
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set quota at /home davidhk Linux - General 2 06-04-2005 10:10 PM
Quota:cannot be set and update swmok Linux - Software 1 10-22-2003 07:30 PM
how to set quota awp Slackware 1 04-27-2003 12:58 PM
set user quota size juno Linux - General 2 10-25-2002 03:42 AM
how to set quota, a/c and permission gogo Linux - General 1 10-09-2001 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration