-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 12 Apr 2016, Luca Bertoncello wrote:
With Dovecot 2.2.9 authenticating against the Active Directory I have following problem:
- if I login using LOGIN, PLAIN or CRAM, the username is REALM\login (in my case: CCH\lucabert)
- if I login using GSSAPI, the username is just login (in my case: lucabert)
this makes the access to the mailbox very difficult, since I don't what can I write in mail_location... If I login with LOGIN, I can write:
maildir:/home/mailboxes/%4.u/Maildir
but of course it does not work if I login using GSSAPI...
The mailboxes have just the login (in my case: lucabert). Can someone explain me why %u is different and how can I solve my problem?
What does your passdb /userdb config looks like ?
You can return the "user" field, see http://wiki2.dovecot.org/PasswordDatabase , to mangle the username for all passdb's, in order to let Dovecot use the same username.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVw3epXz1H7kL/d9rAQLhtwf+LUMHvIlsLqE6fSllcNSWlnLni1ImzlM1 Ew//xfMrHr8vdIsoM4fxm+D21O7omFkdLWvfmOasdioHxdS62UT0jL9FNN67rp5O qvvjZyxcYdQzqbn1IO050T0V6gSppDik/gyB2ZikbfYDuwrg8BBVUvIvtXAKOtIq 5WPYt9Qv91DXa8cR/GK51Am/q+PDQ34P0wBY+6VABPgYOC2ZBUsGdspEvcFM0GPD Tde31V2XoMHudt42N+36EPDzg/PQMCbMCDkzQWeb1+LMCQBCAuuypF4cqJmgWPFp 9LVaQ58G7Wq6aw6EUBRKmDY+MXpD36Ausf9vVBkQc/6YPZn/yDdV+A== =nl3t -----END PGP SIGNATURE-----