Zentyal Forum, Linux Small Business Server

Zentyal Server => Email and Groupware => Topic started by: Gabriel GHEORGHIU on December 18, 2015, 02:25:11 pm

Title: [SOLVED] How to login with email address on webmail interface
Post by: Gabriel GHEORGHIU on December 18, 2015, 02:25:11 pm
Hi everybody,

How can I force users to login with email address (name.lastname@mydomayn.com) instead of username (name.lastname) on webmail interface?

TIA,

Gabriel
Title: Re: How to login with email address on webmail interface
Post by: jbahillo on December 18, 2015, 03:19:27 pm
Based on https://github.com/zentyal/zentyal/blob/master/main/openchange/stubs/sogo.conf.mas#L91 users may both login using samba username or full email. If you only want to allow to use full email, then create a custom stub and remove  the sAMAccountName from the bindfields
Title: Re: How to login with email address on webmail interface
Post by: Gabriel GHEORGHIU on December 18, 2015, 05:57:57 pm
Based on https://github.com/zentyal/zentyal/blob/master/main/openchange/stubs/sogo.conf.mas#L91 users may both login using samba username or full email. If you only want to allow to use full email, then create a custom stub and remove  the sAMAccountName from the bindfields

Thank you again!

I will use the custom stub that I have made here: https://forum.zentyal.org/index.php/topic,24036.msg99626.html#msg99626

BR
Gabriel
Title: Re: How to login with email address on webmail interface
Post by: Gabriel GHEORGHIU on December 18, 2015, 06:40:34 pm
Based on https://github.com/zentyal/zentyal/blob/master/main/openchange/stubs/sogo.conf.mas#L91 users may both login using samba username or full email. If you only want to allow to use full email, then create a custom stub and remove  the sAMAccountName from the bindfields

It works!

For both (login only with full email and for disable shared addressbook & calendar).

BR
Gabriel