Steps to add and remove datasource from GAL account: Difference between revisions
No edit summary |
|||
Line 11: | Line 11: | ||
'''Command Syntax :''' | '''Command Syntax :''' | ||
zmprov getDataSources {GAL-account-name} | zmprov getDataSources {GAL-account-name} | ||
'''Example :''' | '''Example :''' | ||
zmprov getDataSources galsync@DOMAIN.COM | zmprov getDataSources galsync@DOMAIN.COM | ||
Line 21: | Line 19: | ||
'''Command Syntax :''' | '''Command Syntax :''' | ||
zmprov deleteDataSource {GAL-account-name} {datasource-name} | zmprov deleteDataSource {GAL-account-name} {datasource-name} | ||
'''Example :''' | '''Example :''' | ||
zmprov deleteDataSource galsync@DOMAIN.COM "DataSource-Name" | |||
'''Additional Information''' | '''Additional Information''' | ||
If | If somehow Internal datasource deleted by mistake then we need to add it again and forcesync to fix autocomplete issues. | ||
In this type situation we need to use following commands to re-create Internal datasource. | |||
'''Command Syntax :''' | '''Command Syntax :''' | ||
zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval} | zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval} | ||
forceSync -a {GAL-account-name} -n {datasource-name} | |||
'''Example :''' | '''Example :''' | ||
zmgsautil addDataSource -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -t zimbra -f _InternalGAL -p 60m | zmgsautil addDataSource -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -t zimbra -f _InternalGAL -p 60m | ||
zmgsautil forceSync -a galsync@DOMAINNAME.COM -n InternalGAL | |||
Submitted by: Heera Singh Koranga |
Revision as of 19:27, 20 August 2017
Steps to add and remove datasource from GAL account
Problem:
Remove an old or non-working datasource from the GAL account.
Solution:
1). Check and find out the exact datasource name which one we want to remove.
Command Syntax :
zmprov getDataSources {GAL-account-name}
Example :
zmprov getDataSources galsync@DOMAIN.COM
2). Now remove the datasource.
Command Syntax :
zmprov deleteDataSource {GAL-account-name} {datasource-name}
Example :
zmprov deleteDataSource galsync@DOMAIN.COM "DataSource-Name"
Additional Information
If somehow Internal datasource deleted by mistake then we need to add it again and forcesync to fix autocomplete issues. In this type situation we need to use following commands to re-create Internal datasource.
Command Syntax :
zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval} forceSync -a {GAL-account-name} -n {datasource-name}
Example :
zmgsautil addDataSource -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -t zimbra -f _InternalGAL -p 60m zmgsautil forceSync -a galsync@DOMAINNAME.COM -n InternalGAL
Submitted by: Heera Singh Koranga