[Samba] Samba Quotas using LDAP?

Andrew Bartlett abartlet at samba.org
Fri Aug 3 05:37:18 GMT 2007


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 <steve.scanavarro at gmail.com> 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 Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20070803/51b7c1d8/attachment.bin


More information about the samba mailing list