King0770-Notes-Force-Authentication-With-Full-Email-Address

If you are an admin, and in need of requiring your users to authenticate using their full email address, this article may be of interest.

Keep in mind this article is for those using Zimbra internal authentication.

Typically, users authenticate using...
Their username

jsmith

OR
Their email address

jsmith@example.com

Setup by example


zmprov md example.com zimbraAuthLdapSearchBase ou=people,dc=example,dc=com
zmprov md example.com zimbraAuthLdapSearchBindDn uid=zimbra,cn=admins,cn=zimbra
zmprov md example.com zimbraAuthLdapSearchBindPassword V8K7uBNXZ       <<== run zmlocalconfig -s zimbra_ldap_password to get your password
zmprov md example.com zimbraAuthLdapSearchFilter '(&(mail=%u@%d)(objectclass=zimbraAccount))'
zmprov md example.com zimbraAuthLdapURL ldap://zimbra.example.com:389
zmprov md example.com zimbraAuthMech ldap

Basically, you are changing authentication from internal to external; however, the authentication directory server is zimbra internal.


More articles written by me, https://wiki.zimbra.com/wiki/King0770-Notes

Jump to: navigation, search