Hi I have a setup where my dovecot (2.0, if that makes a difference) authenticates against an LDAP directory. In my scenario, I have two types of users, lets call them "normal" and "privileged". What I need is for the normal user to have a fixed quota, but for the priviledged to have none. (The users do not exist on the underlying system, so I cant do quota based on FS) The issue is that my LDAP is actually an AD, and there is a fair amount of new accounts over the time (in other words, I cannot use LDAP attribute for storing quota, because the AD tools don't understand it, and I would have to add it manually for each new account). The approach I had in mind is using quota based on user group (I do have groups representing both normal and priviledged users), but I cannot find a way to set it up in dovecot. Am I missing something or does dovecot not support LDAP groups as attribute source? thanks Pavel Herrmann
On 24.6.2013, at 16.35, Pavel Herrmann <morpheus.ibis at gmail.com> wrote:> I have a setup where my dovecot (2.0, if that makes a difference) authenticates > against an LDAP directory. In my scenario, I have two types of users, lets > call them "normal" and "privileged". What I need is for the normal user to > have a fixed quota, but for the priviledged to have none. (The users do not > exist on the underlying system, so I cant do quota based on FS) > > The issue is that my LDAP is actually an AD, and there is a fair amount of new > accounts over the time (in other words, I cannot use LDAP attribute for > storing quota, because the AD tools don't understand it, and I would have to > add it manually for each new account). > > The approach I had in mind is using quota based on user group (I do have > groups representing both normal and priviledged users), but I cannot find a way > to set it up in dovecot. > Am I missing something or does dovecot not support LDAP groups as attribute > source?Sounds like you need to do two LDAP lookups and merge them. That requires Dovecot v2.2.
Seemingly Similar Threads
- Resource map sanity check fails after GRUB "keeps" the gfx mode
- Resource map sanity check fails after GRUB "keeps" the gfx mode
- failed: Permission denied missing +w perm: /home/mail_virtual/2001
- Resource map sanity check fails after GRUB "keeps" the gfx mode
- OpenSSH - Connection problem when LoginGraceTime exceeds time