Score:0

Dovecot Authenticating with Active Directory, username with period not going through

pl flag

I have been struggling the past 2 days. My conf file is like this:

hosts           = 192.168.2.2
ldap_version    = 3
auth_bind_userdn = %Ln
auth_bind       = yes
dn              = admin
dnpass          = mypass
base            = cn=users,dc=example, dc=com
scope           = subtree
deref           = never
user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid
user_filter = (sAMAccountName=%Ln)
pass_filter = (sAMAccountName=%Ln)
iterate_attrs = uid=user
iterate_filter = (objectClass=person)
default_pass_scheme = CRYPT

When I have a username like [email protected] it works, yet [email protected] fails.

Any ideas, please?

Score:0
in flag
nih

And you have "separator = ." ? I am afraid that this can't work, dovecot is not able to guess where the username ends and where starts folder name. Check namespace/separator in 10-mail.conf Default: is ‘.’ Try ‘/’ for separator. https://doc.dovecot.org/configuration_manual/namespace/

pl flag
Thank you very much @nih. I have gone through this and added '/' as a seperator, but unfortunately I still cannot pass a username with a period like [email protected]
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.