HsnMustafa / gdocbackup

Automatically exported from code.google.com/p/gdocbackup
0 stars 0 forks source link

Unable to backup secondary (non-primary) domains (Google Apps) #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm unable to backup documents from a secondary domain that is registered to an 
account with multiple domains. Using the command below I receive the error:

"The remote server returned an error: (401) Unknown authorization header."

Command:
-mode=backup -username=xx@bdomain.com -password=xxx -appsMode=1 
-appsDomain=adomain.com -appsOAuthSecret=aabbcc112233

----

Our organisation has three domains: adomain.com (Primary), bdomain.com & 
cdomain.com

So the oauth key and secret provided by Gogle Apps is for the primary domain: 
adomain.com : aabbcc112233

My understanding is that when I enter the [appsdomain] field, that entry is 
being used as the oauth key AND as the domain to retrieve the users list from. 
Is it possible to specify BOTH oauth key AND the domain to get the users list 
from?

When I use bdomain.com I can retrieve the user list successfully, but get the 
above error. Using adomain.com works fine, just that we want to backup both 
bdomain and cdomain. 

So the command would look like this:

-mode=backup -username=xx@bdomain.com -password=xxx -appsMode=1 
-appsDomain=bdomain.com appsKey=adomain.com -appsOAuthSecret=aabbcc112233

I'm using GDocBackup_0.7.4.184_CMD with Mono on OSX 10.6.8

:)

Original issue reported on code.google.com by darius.f...@intrepidproduction.com on 3 Oct 2012 at 6:10

GoogleCodeExporter commented 9 years ago
This would be super!

Original comment by Ad...@newcastleschools.org on 12 Sep 2013 at 7:02