Results 1 to 3 of 3

Thread: zmsoap IMSubscribeRequest requires user to be logged in?

  1. #1
    Join Date
    May 2010
    Posts
    3
    Rep Power
    5

    Default zmsoap IMSubscribeRequest requires user to be logged in?

    Hey,

    I'm trying to add group rosters using zmsoap but it seems that the SOAP requests only work when the user is logged in. I'm an admin trying to provision 10 users so this is not feasible.

    zmsoap --type im --verbose --zadmin \
    --mailbox $member IMSubscribeRequest \
    @addr=$target @name="$uname" @op="add"

    zmsoap --type im --verbose --zadmin \
    --mailbox $target IMAuthorizeSubscribeRequest \
    @addr=$member @authorized="true"

    This works fine when both users are logged in.

    Am I using zmsoap incorrectly? Any help would be GREATLY appreciated!

    Thank you.

  2. #2
    Join Date
    May 2010
    Posts
    3
    Rep Power
    5

    Default

    Sorry to bump this, but it is in part delaying our migration away from Exchange!

    If my question wasn't clear please ask for clarification

  3. #3
    Join Date
    Nov 2010
    Posts
    54
    Rep Power
    5

    Default

    Quote Originally Posted by switch007 View Post
    Hey,

    I'm trying to add group rosters using zmsoap but it seems that the SOAP requests only work when the user is logged in. I'm an admin trying to provision 10 users so this is not feasible.
    I have found the same problem in ZCS GA 6.0.10. I have some ideas but I am not sure if they will be smart enough:

    1) Login everyuser with a script that invokes w3m that loads an url with an auth token. I suppose that as w3m does not have javascript we won't go too much further but I am not sure.

    2) Use </session> somewhere in the zmsoap command as it suggest me from reading the documentation at /opt/zimbra/docs/soap.txt. Unfortunately it is not evident on how to force zmsoap to associate a session to itself.

    Code:
    The server's default is disabling sessions for every SOAP request.
    Clients that desire notification must explicitly request that the server
    maintain a session for them.  This is done by specifying a <session/>
    element in the request
    3) Try to hack the internal openfire? that has zimbra inside?

    4) Try to commit custom database queries to whatever Zimbra internal database uses.

    So if you could give any hint on any of these I will appreciate. Thank you for your attention.

Similar Threads

  1. Replies: 5
    Last Post: 09-29-2009, 05:08 AM
  2. [SOLVED] Are user password changes logged?
    By iain in forum Administrators
    Replies: 1
    Last Post: 06-22-2009, 11:28 AM
  3. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 11:12 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Network edition - strange behavior
    By goetzi in forum Installation
    Replies: 6
    Last Post: 11-16-2005, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •