[Samba] Samba Quotas using LDAP?

2007-08-02 Thread Steve Scanavarro
Hello everyone.
I would like to create a file share samba, that uses a LDAP base to
authenticate my users.
What I would like to do is to create a quota per user. Is that a way for
doing that using LDAP to store the quota limit, AND samba understand this?

If not, what would be the better way for quota in Samba?

Thanks in advance for any help.

Best,

Steve
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Quotas using LDAP?

2007-08-02 Thread Cleber P. de Souza
If your users can be retrieved by 'getent passwd' you could use quota
in the filesystem.


On 8/2/07, Steve Scanavarro [EMAIL PROTECTED] wrote:
 Hello everyone.
 I would like to create a file share samba, that uses a LDAP base to
 authenticate my users.
 What I would like to do is to create a quota per user. Is that a way for
 doing that using LDAP to store the quota limit, AND samba understand this?

 If not, what would be the better way for quota in Samba?

 Thanks in advance for any help.

 Best,

 Steve
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba



-- 
***
Cleber P. de Souza
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Quotas using LDAP?

2007-08-02 Thread Andrew Bartlett
On Thu, 2007-08-02 at 14:48 -0300, Cleber P. de Souza wrote:
 If your users can be retrieved by 'getent passwd' you could use quota
 in the filesystem.
 
 
 On 8/2/07, Steve Scanavarro [EMAIL PROTECTED] wrote:
  Hello everyone.
  I would like to create a file share samba, that uses a LDAP base to
  authenticate my users.
  What I would like to do is to create a quota per user. Is that a way for
  doing that using LDAP to store the quota limit, AND samba understand this?
 
  If not, what would be the better way for quota in Samba?
 
  Thanks in advance for any help.
 

I did this once, with a nasty script I found to sync the quotas between
LDAP and the disk.  It was *really* ugly (running edquota, with EDITOR
set to a command that filled the file in as expected!), but it did keep
the students in line...

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Samba Developer, Red Hat Inc.  http://redhat.com


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba