-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 30 Jan 2015, Leander Schäfer wrote:
Does someone know what this means? It looks to me like it got the UID, yet it complains ... ? Also, why does it complain about attributes being unused, yet I use prefetch, so they will be used?!
Log: [...] dovecot: auth: Debug: ldap(test@mydomain.tld,192.168.10.233,
): result: mailStorageDirectory=/var/vmail mailUidNumber=2110 mailGidNumber=2110 mailQuotaStorage=10240 mailQuotaMessages=20; mailQuotaMessages,mailStorageDirectory,mailUidNumber,mailQuotaStorage,mailGidNumber unused dovecot: auth: Debug: ldap(test@mydomain.tld,192.168.10.233,
): result: mailStorageDirectory=/var/vmail mailUidNumber=2110 mailGidNumber=2110 mailQuotaStorage=10240 mailQuotaMessages=20; uid missing [...]
I guess that these are related to the user_attrs.
As mentioned, I use prefetch, so this is how my dovecot/dovecot-ldap.conf.ext is looking:
[...] #user_attrs = mailStorageDirectory=home=%$/%u, mailStorageDirectory=mail=maildir:%$/%u/maildir, mailUidNumber=uid, mailGidNumber=gid, mailQuotaStorage=quota_rule=*:storage=%$, mailQuotaMessages=quota_rule2=*:messages=%$
You have commented out user_attrs, there are lookups that do _not_ follow an auth attempt. Those need this setting.
pass_attrs = uid=user, userPassword=password, mailStorageDirectory=userdb_home=%$/%u, mailStorageDirectory=userdb_mail=maildir:%$/%u/maildir, mailUidNumber=userdb_uid, mailGidNumber=userdb_gid, mailQuotaStorage=userdb_quota_rule=*:storage=%$, mailQuotaMessages=userdb_quota_rule2=*:messages=%$ [...]
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVM8ofHz1H7kL/d9rAQLONwgAhHmj1gDzFmFdE9on+kF5jfGKEHvmV6Na 6ZfGt9vL0ReJqLqS/H4MTkbgtr6K3SHouOy0NfcgSpYgHT+vzsSD0EVUhDeenayE jSgFpOE/0HNt0VHiyN89vLGL4nVQu4lOJr5PXTGjwZ74lFK+9L6aO9MBAm+1G4Z4 bvIQC6Uj5DHLHozfCMEUb5BNm0m3Bm69vTIgYBtvROHxXXP1Lqbba/ZspMPqDnkF KH0gdWDUFUUb0KOMcgNgnHCKrSR3ZdnSBd2QszQ4JkOgny2gKhWLjVU0rMQEinU0 0p9bD5jwpJE7hLS/Tj5M7TJe842DXiu+BBpY5LlhIyQ++ISCVUTGCQ== =E8V2 -----END PGP SIGNATURE-----