Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-06-2006, 08:02 PM
Junior Member
 
Posts: 6
Default Zimlet 403 via Proxy Help

I've got a Zimlet I'm working on that requests an URL via the proxy service. The result is ALWAYS 403.

config_template.xml:
Code:
<zimletConfig name="com_asterisk_voicemail" version="1.0">
    <global>
		<property name="allowedDomains">192.168.2.20</property>
		<property name="voicemailHost">192.168.2.20</property>
		<property name="vmxmlPath">/vmxml/</property>
    </global>
</zimletConfig>

Snippet from my js file:
Code:
	var url = ZmZimletBase.PROXY + 'http://' + this.getConfig("voicemailHost") + this.getConfig("vmxmlPath");
    var reqParam = 'action=' + action;
	var reqHeader = {"Content-Type":"application/x-www-form-urlencoded"};
	var result = AjxRpc.invoke(reqParam, url, reqHeader);
	return url + "<br />" + result.text;
The server it is trying reach has all authentication hard coded for testing. I don't understand why it is always 403'ing when I have the allowedDomains property set. I've even set the allowedDomains to * and it still fails.

Anyone have any suggestions?
tia

-Blake
Reply With Quote
  #2 (permalink)  
Old 12-08-2006, 05:39 AM
Junior Member
 
Posts: 6
Default

Anyone? I noticed there was a similar post a few days ago with no answer also.

Zimbra is great, but there seems to be a major lack of assistance from developers.
Reply With Quote
  #3 (permalink)  
Old 12-08-2006, 10:09 AM
Zimbra Employee
 
Posts: 1,434
Default Release-time latency

You've caught the Zimbra dev team in the immediate run-up to a new release, and response to "debug my code" requests may be a bit slower than usual until 4.5 ships.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 12-08-2006, 10:45 AM
Junior Member
 
Posts: 6
Default

Well I might have stumbled across something, let me know if my thoughts are right or not.

I have 4 COS' setup, one for each domain I run. When I run zmprov gc <cos> I don't get a zimbraProxyAllowedDomains entry, however, when I run zmprov gc default I do. If my users are setup to use a different COS will they not have access to items in the default COS? That's my understanding of COS in any case, you only get what your COS defines, not what the other ones do. So when I do a zmzimletctl deploy <zimlet> it goes into the default COS. When I do a zmzimletctl acl <zimlet> <cos> grant I can see the icons but the configuration items are not brought over, how do I make sure that the zimbraProxyAllowedDomains gets set for each COS that I need it to be set on?

{edit}
Just ran a test, put my user back to the default COS and it works, so that is my issue. When I deploy a zimlet it goes into the default but the allowedDomains does not get installed into the other COS objects that it is allowed on.

Last edited by blakekrone; 12-08-2006 at 10:51 AM.. Reason: test results
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.