Disable alias login: Difference between revisions
Amolmistry (talk | contribs) (Enable or Disable login using Alias account.) |
Amolmistry (talk | contribs) |
||
Line 1: | Line 1: | ||
=Enable or Disable login using alias account = | =Enable or Disable login using alias account = | ||
{{KB|{{ | {{KB|{{WIP}}|{{ZCS 8.7}}|{{ZCS 8.8}}|{{ZCS 9.0}}||||}} | ||
====Problem==== | ====Problem==== | ||
Line 14: | Line 14: | ||
<pre> zmlocalconfig -e alias_login_enabled=false </pre> | <pre> zmlocalconfig -e alias_login_enabled=false </pre> | ||
Execute the below command to allow login to alias account | Execute the below command to allow login to alias account | ||
<pre> zmlocalconfig -e alias_login_enabled=true </pre> | <pre> zmlocalconfig -e alias_login_enabled=true </pre> | ||
After making False/True, make sure to restart mailbox services. | |||
<pre> zmmailboxdctl restart</pre> | |||
Refer /opt/zimbra/log/audit.log, upon login using alias account the log entry should show something like this. | |||
<pre> | |||
2021-06-28 23:14:25,104 WARN [qtp1225197672-333://localhost:8080/service/soap/BatchRequest] [name=alias-user@example.com;oip=172.16.7.54;ua=zclient/8.8.15_GA_3991;soapId=c2df7e2;] security - cmd=Auth; | |||
account=original-user@example.com; protocol=soap; error=authentication failed for [alias-user@example.com], alias login not enabled.; | |||
</pre> | |||
{{SubmittedBy|Amol Mistry}} | {{SubmittedBy|Amol Mistry}} | ||
{{Article Footer|ZCS 8.8|2021-06-24}} | {{Article Footer|ZCS 8.8|2021-06-24}} |
Revision as of 18:02, 28 June 2021
Enable or Disable login using alias account
Problem
- Users those are Ability to Enable or Disable login using Alias account.
Solution
Execute the below command on the respective mailbox server to check the current status first. It will show TRUE or FALSE.
zmlocalconfig alias_login_enabled
Execute the below command to disallow login to alias account.
zmlocalconfig -e alias_login_enabled=false
Execute the below command to allow login to alias account
zmlocalconfig -e alias_login_enabled=true
After making False/True, make sure to restart mailbox services.
zmmailboxdctl restart
Refer /opt/zimbra/log/audit.log, upon login using alias account the log entry should show something like this.
2021-06-28 23:14:25,104 WARN [qtp1225197672-333://localhost:8080/service/soap/BatchRequest] [name=alias-user@example.com;oip=172.16.7.54;ua=zclient/8.8.15_GA_3991;soapId=c2df7e2;] security - cmd=Auth; account=original-user@example.com; protocol=soap; error=authentication failed for [alias-user@example.com], alias login not enabled.;
Submitted by: Amol Mistry |