Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a custom configuration of webmin from www.turnkeylinux.org to run a domain controller (basically Ubuntu Server 8.04/Hardy with Samba installed from the repositories). I've set things up so that my users have roaming profiles that they can use at any of the windows clients that are joined to the domain.

I'd like to set a disk quota for each user that the windows client would enforce, one way or another. That is, when they login and Samba downloads the users profile information the client, Samba would also send information about disk quota limits. This way, if the user tries to download too many mp3s for example, windows will complain and prevent the user from using any more space.

I've tried setting a quota on the samba server with the quotas package, but that only creates log off problems when the user goes over their limit. I think I can use the smbcquotas command in conjunction with windows' own quota tools, but I don't have the foggiest notion on how I might do this.

So my question is, can I get windows to enforce quotas on a per user basis using the samba server?

share|improve this question

From this article it appears that I can limit the size of roaming profiles with Group Policy Objects. At this point, I'm assuming that I will now have to set up LDAP in order to facilitate GPOs.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.