I have a RHEL5 server authenticating against Active DIrectory via Winbind and Samba. I have Samba setup to create each person's home directory under /home/%U
/etc/skel is set to be my skeleton home directory.
I want each user's home directory to have a 20GB soft limit and a 25GB hard limit. However, I don't want to have to manually assign the quota to each home directory as each person logs in for the first time (there are 100+ users).
Is there any way to setup Samba or RHEL iteself to automatically assign a quota to a user's home directory at the time of thier first login when the directory is created?