Luke Hamilton
2010-Oct-11 21:50 UTC
[Samba] How can I enforce quotas on roaming user profiles using samba?
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?
Reasonably Related Threads
- Weird breakage with Roaming Profiles and Quotas
- fail to display xfs quotas instead of smbcquotas on Win clients
- smbcquotas tells me that "quotas are not enabled"
- Roaming profiles cannot be used fully unless a member of "Domain Admins"
- roaming profiles and quota limits