Author Topic: [SOLVED] How to login with email address on webmail interface  (Read 1062 times)

Gabriel GHEORGHIU

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
[SOLVED] How to login with email address on webmail interface
« 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
« Last Edit: December 18, 2015, 06:41:23 pm by Gabriel GHEORGHIU »

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: How to login with email address on webmail interface
« Reply #1 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

Gabriel GHEORGHIU

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: How to login with email address on webmail interface
« Reply #2 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

Gabriel GHEORGHIU

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: How to login with email address on webmail interface
« Reply #3 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