Jump to content


Photo

Access denied: Configuration adminstration password mismatch


  • Please log in to reply
1 reply to this topic

#1 Michael Keller

Michael Keller
  • Members
  • 0 posts

Posted 05 April 2011 - 03:39 PM

I'm trying to write a C# app to migrate domains from one Barracuda to another, but I keep running into this error:
"Access denied: Configuration adminstration password mismatch."

I'm using http://www.xml-rpc.net/, but I've also tried submitting raw XML from the examples in the API guide, and I get the same error both ways.

I've checked and double-checked the setup in the Barracuda, and the password is correct, and I'm connecting from an allowed IP address.

Here's my C# code:
[code:1:3754a4cd97][XmlRpcUrl("https://our_cuda/cgi-mod/api.cgi?password=my_pass")]
public interface IListDomains : IXmlRpcProxy
{
[XmlRpcMethod("config.list")]
string[] ListDomains(string type, string path, string child_type);
}

private void btnGo_Click(object sender, EventArgs e)
{
try
{
IListDomains proxy = XmlRpcProxyGen.Create<IListDomains>();
string[] domains = proxy.ListDomains("global","","domain");

string result = "";
foreach (string d in domains)
{
result += d + Environment.NewLine;
}

MessageBox.Show(result);
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}[/code:1:3754a4cd97]

No matter what I can think to try, I keep getting this password error.

Am I missing something really obvious?

#2 Michael Keller

Michael Keller
  • Members
  • 0 posts

Posted 06 April 2011 - 09:11 AM

So apparently, we're a few builds behind on our firmware, so we checked the release notes: [quote:75b6305ebb]Build 017: Enhancement: Improved integration of Cloud Protection Layer and Barracuda Control Center. Updates to Japanese localization. [b:75b6305ebb]Fix: The API password stored in the configuration database is now decrypted before matching the entry. [BNSF-15906][/b:75b6305ebb] Fix: The message body is correct in queued messages that are re-sent. [BNSF-15955] [/quote:75b6305ebb] Once we updated to the newest build, it works fine.