Does anyone know if it is possible to have a directory quota that notifies the user actually exceeding that limit via mail?
I see in quota notifications that you can choose to notify the owner and there is an email mapping rule for Active directory but there are not examples or explanations on how to configure it or how it should work.
This document is the most informative PDF i gìve found.
> right , owner != offending user ..unless we are talking about home directories where user id has been granted owner ACL.
Correct, owner is the owner of the object, in this case the directory. What I thought *also* happened was that OneFS looked up the user violating the quota (since we know the ID), determined the email address either from an auth provider or a mapping rule, then sent an additional notification to that user.
That doesn't appear to be the case, but I'm still trying to find definitive proof of that...
since it's a directory quota, it does not track utilization on per user bases..so how would it know who to notify ? Maybe i misunderstood your question.
> who gets notified, owner of the directory ? We are talking about NTFS owner ?
The owner of the directory (if you have that set), and I *thought* the user that exceeded the quota was dynamically looked up (in AD or LDAP), or explicitly looked up via a predefined mapping set in the notification settings.
I say "thought" because now I think I'm mistaken. I'm going to delete my other comment. I tested this quickly, but I think I had a rogue hardcoded email address in my config that made me think it worked.
kipcranford
125 Posts
2326
0
Posted May 14th, 2015 14:00
> right , owner != offending user ..unless we are talking about home directories where user id has been granted owner ACL.
Correct, owner is the owner of the object, in this case the directory. What I thought *also* happened was that OneFS looked up the user violating the quota (since we know the ID), determined the email address either from an auth provider or a mapping rule, then sent an additional notification to that user.
That doesn't appear to be the case, but I'm still trying to find definitive proof of that...