On Fri, 2009-06-19 at 11:27 +0300, razor wrote:
pass_filter = (&(objectClass=posixAccount)(uid=%u)) boxQuota=userdb_quota_rule=*:storage=%$k
..
pass_attrs = uid=user,homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid,boxQuota=userdb_quota=maildir:stora ge=%$K,userPassword=password,status=userdb_status
You didn't update this.
dovecot: Jun 22 07:51:21 Info: auth(default): client in: AUTH 1 PLAIN service=imap secured lip=10.2.29.1 rip=1 0.2.29.1 lport=143 rport=52727 resp=AHRlc3QAdGVzdA== dovecot: Jun 22 07:51:21 Info: auth(default): ldap(test,10.2.29.1): pass search: base=cn=People,dc=ic,dc=lg scope=subtree fil ter=(&(objectClass=posixAccount)(uid=test)) fields=uid,homeDirectory,uidNumber,gidNumber,boxQuota,userPassword,status dovecot: Jun 22 07:51:21 Info: auth(default): ldap(test,10.2.29.1): result: uid(user)=test uidNumber(userdb_uid)=26 gidNumber (userdb_gid)=6 homeDirectory(userdb_home)=/nonexistent userPassword(password)=test status(userdb_status)=true boxQuota(userdb _quota=*:storage=%$K)=*:storage=1000K dovecot: Jun 22 07:51:21 Info: auth(default): client out: OK 1 user=test dovecot: Jun 22 07:51:21 Info: auth(default): master in: REQUEST 3 93747 1 dovecot: Jun 22 07:51:21 Info: auth(default): prefetch(test,10.2.29.1): success dovecot: Jun 22 07:51:21 Info: auth(default): master out: USER 3 test uid=26 gid=6 home=/nonexistent statu s=true quota=*:storage=1000K dovecot: Jun 22 07:51:21 Info: IMAP(test): Loading modules from directory: /usr/local/lib/dovecot/imap dovecot: Jun 22 07:51:21 Info: IMAP(test): Module loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so dovecot: Jun 22 07:51:21 Info: IMAP(test): Module loaded: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so dovecot: Jun 22 07:51:21 Info: IMAP(test): Effective uid=26, gid=6, home=/nonexistent dovecot: Jun 22 07:51:21 Error: IMAP(test): Unknown quota backend: * dovecot: Jun 22 07:51:21 Fatal: IMAP(test): Couldn't create quota root: *:storage=1000K
and if i make pass_attrs = uid=user,homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid,boxQuota=userdb_quota=%$K,
0.2.29.1 lport=143 rport=61742 resp=AHRlc3QAdGVzdA== dovecot: Jun 22 07:52:03 Info: auth(default): ldap(test,10.2.29.1): pass search: base=cn=People,dc=ic,dc=lg scope=subtree fil ter=(&(objectClass=posixAccount)(uid=test)) fields=uid,homeDirectory,uidNumber,gidNumber,boxQuota,userPassword,status dovecot: Jun 22 07:52:03 Info: auth(default): ldap(test,10.2.29.1): result: uid(user)=test uidNumber(userdb_uid)=26 gidNumber (userdb_gid)=6 homeDirectory(userdb_home)=/nonexistent userPassword(password)=test status(userdb_status)=true boxQuota(userdb _quota=%$K)=1000K dovecot: Jun 22 07:52:03 Info: auth(default): client out: OK 1 user=test dovecot: Jun 22 07:52:03 Info: auth(default): master in: REQUEST 3 93801 1 dovecot: Jun 22 07:52:03 Info: auth(default): prefetch(test,10.2.29.1): success dovecot: Jun 22 07:52:03 Info: auth(default): master out: USER 3 test uid=26 gid=6 home=/nonexistent statu s=true quota=1000K dovecot: Jun 22 07:52:03 Info: IMAP(test): Loading modules from directory: /usr/local/lib/dovecot/imap dovecot: Jun 22 07:52:03 Info: IMAP(test): Module loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so dovecot: Jun 22 07:52:03 Info: IMAP(test): Module loaded: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so dovecot: Jun 22 07:52:03 Info: imap-login: Login: user=<test>, method=PLAIN, rip=10.2.29.1, lip=10.2.29.1, secured dovecot: Jun 22 07:52:03 Info: IMAP(test): Effective uid=26, gid=6, home=/nonexistent dovecot: Jun 22 07:52:03 Error: IMAP(test): Unknown quota backend: 1000K dovecot: Jun 22 07:52:03 Fatal: IMAP(test): Couldn't create quota root: 1000K
-- реклама ----------------------------------------------------------- www.hostpro.ua – 8 лет! Тариф «Именинник»: 8Гб диска, 8 сайтов - $8/мес.