samba profiles + quota monitor
I've a setup of a Ubuntu server and multiple Windows XP Pro clients.
On Ubuntu I had samba setup and created accounts with quota limit of 200Mb.
On several occasions I have users come to me and say the machine won't log them in. When I looked into their account I noticed that they've exceeding (or close to) their quota limit of 200Mb.
Is there a way, say:
1. Auto Notify user that his/her quota is about to max out? Perhaps a popup when he/she logging into her account, or a "Low disk space on your account" notification.
2. I noticed that not only Desktop and My Documents count towards the user's quota limit, but also the cache in Applications Data, for e.g, as well. Is there a way to only count the Desktop + My Documents ?
3. Is it possible to setup a cron script to send myself a weekly report of quota usage from /home/samba/profiles , and let's say have it auto-sorted from biggest usage to the smallest ?
4. As of now when user reaches the limit, the network refuses to let them logon. Is it possible to still let user login, but force them to delete some files right away to make space?
I appreciate any guide/tip you may have,