16 Oct
2009
16 Oct
'09
12:15 a.m.
Ok thanks I tried your config. Just edited to my my setup. This is what I now have
dovecot.conf
passdb ldap { args = /usr/local/etc/dovecot-ldap.conf }
userdb ldap { args = /usr/local/etc/dovecot-ldap-userdb.conf }
userdb static { args = uid=1002 gid=1002 home=/home/vmail/%u allow_all_users=yes }
dovecot-ldap.conf
hosts = 192.168.0.97 192.168.0.76 base = dc=atlas,dc=local auth_bind = yes auth_bind_userdn = atlas\%u #auth_bind_userdn = atlas\%u user_filter = (&(objectClass=person)(cn=%u)) user_attrs = homeDirectory=home=/home/vmail/%u,description=quota_rule=*:bytes=%$
dovecot-ldap-userdb.conf
hosts = 192.168.0.97 192.168.0.76 base = dc=atlas,dc=local ldap_version = 3 auth_bind = no dn = atlas\user dnpass = password user_filter = (&(objectClass=person)(userPrincipalName=%u@atlas.local)) user_attrs = description=quota_rule=*:bytes=%$
And of course, I put in a users description field in Active Directory *:bytes=%1024
When I log in as that user, and check the quota, I'm still seeing 512 MB
Very strange.