[SOLVED] Deleting a DataSource from a galsync account

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
tomoki
Posts: 17
Joined: Sat Sep 13, 2014 12:43 am

[SOLVED] Deleting a DataSource from a galsync account

Postby tomoki » Mon Aug 23, 2010 11:06 pm

i have created a galsync account with multiple datasources.

2 of the datasources are zimbra servers for separate subdomains

the last datasource is an old LOTUS NOTES LDAP server

which was for temporary during the migration to the zimbra server.
now i want to remove the LOTUS NOTES as a datasource,

but i cannot find a way to do this without deleting the whole galsync account first and redoing the settings for the other datasources...
zmgsautil: {command}

createAccount -a {account-name} -n {datasource-name} --domain {domain-name} -t zimbra|ldap [-f {folder-name}] [-p {polling-interval}]

createDataSource -a {account-name} -n {datasource-name} --domain {domain-name} -t zimbra|ldap [-f {folder-name}] [-p {polling-interval}]

deleteAccount [-a {account-name} | -i {account-id}]

trickleSync [-a {account-name} | -i {account-id}] [-d {datasource-id}] [-n {datasource-name}]

fullSync [-a {account-name} | -i {account-id}] [-d {datasource-id}] [-n {datasource-name}]

forceSync [-a {account-name} | -i {account-id}] [-d {datasource-id}] [-n {datasource-name}]
does anyone know a solution to this problem?
TIA,

Tomoki


User avatar
cayaraa
Outstanding Member
Outstanding Member
Posts: 333
Joined: Sat Sep 13, 2014 12:33 am
ZCS/ZD Version: ZCS 8.7 NE & ZCS 8.7 FOSS

[SOLVED] Deleting a DataSource from a galsync account

Postby cayaraa » Tue Aug 24, 2010 7:59 am

I've run into the same issue so I'll be interested if there is a way to solve it without starting over.
tomoki
Posts: 17
Joined: Sat Sep 13, 2014 12:43 am

[SOLVED] Deleting a DataSource from a galsync account

Postby tomoki » Tue Aug 24, 2010 11:50 am

ok the solution was very simple.

instead of using zmgsautil use zmprov
zmprov deleteDataSource(dds) {name@domain|id} {ds-name|ds-id}
i don't know if this is necessary,

but afterwards login to the galsync account and delete the folder

for the datasource.
thats it

simple.
-Tomoki
davidkillingsworth
Outstanding Member
Outstanding Member
Posts: 221
Joined: Sat Sep 13, 2014 2:26 am
ZCS/ZD Version: 8.8.15.GA.3829.UBUNTU14.64 -Patch 1

[SOLVED] Deleting a DataSource from a galsync account

Postby davidkillingsworth » Tue Mar 06, 2012 6:41 am

[quote user="tomoki"]ok the solution was very simple.

instead of using zmgsautil use zmprov
zmprov deleteDataSource(dds) {name@domain|id} {ds-name|ds-id}
i don't know if this is necessary,

but afterwards login to the galsync account and delete the folder

for the datasource.
thats it

simple.
-Tomoki[/QUOTE]
Thanks Tomki. This solved a big problem for me.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 13 guests