Populating buddy list from distribution list
Results 1 to 8 of 8

Thread: Populating buddy list from distribution list

  1. #1
    Active Member
    Join Date
    Aug 2015
    Posts
    6

    Populating buddy list from distribution list

    Hello,
    We've recently updated ZeXtras, including updating the chat module to v2.0.

    We populate the users from our usual list of chat_users@company.tld
    Currently we receive the error message
    Code:
    Adding distribution list member as friend not enabled
    A little searching led me to this Zimbra forum post where it was suggested we need to enable zimbraChatAllowDlMemberAddAsFriend
    After running this below command, we still can't populate the users into chat.
    Code:
    zmprov modifyDistributionList chat_users@company.tld zimbraChatAllowDlMemberAddAsFriend TRUE
    Any ideas?

    Thanks!
    Last edited by Pilcheck; 09-20-2017 at 02:28 PM.

  2. #2
    Active Member
    Join Date
    Sep 2017
    Posts
    3

    Confirmed

    Same problem after recent upgrade:

    zxsuite --json chat doMakeBuddies example@example.com

    Code:
    Sending command to the server, this command may take few minutes
    {"ok":false,"error":{"code":"CANNOT_ADD_DL_MEMBER_AS_FRIEND","message":"Adding distribution list member as friend not enabled","time":1505934527774,"details":{},"stackTrace":[{"className":"com.zextras.modules.chat.papi.DoMakeBuddiesHandler","fileName":"DoMakeBuddiesHandler.java","lineNumber":59,"methodName":"handle","nativeMethod":false},{"className":"com.zextras.lib.papi.PublicAPIManager","fileName":"PublicAPIManager.java","lineNumber":441,"methodName":"executeLocalCommand","nativeMethod":false},{"className":"com.zextras.lib.papi.PublicAPIManager","fileName":"PublicAPIManager.java","lineNumber":242,"methodName":"execPAPIRequest","nativeMethod":false},{"className":"com.zextras.lib.ZELinkHandler","fileName":"ZELinkHandler.java","lineNumber":159,"methodName":"run","nativeMethod":false}]}}
    Code:
    Client: Administration,
    ,Adding distribution list member as friend not enabled
    at com.zextras.modules.chat.papi.DoMakeBuddiesHandler.handle ( DoMakeBuddiesHandler.java:59 )
    at com.zextras.lib.papi.PublicAPIManager.executeLocalCommand ( PublicAPIManager.java:441 )
    at com.zextras.lib.papi.PublicAPIManager.execPAPIRequest ( PublicAPIManager.java:242 )
    at com.zextras.modules.core.papi.DoHandleParallelRequestsHandler.handleSingleRequest ( DoHandleParallelRequestsHandler.java:81 )
    at com.zextras.modules.core.papi.DoHandleParallelRequestsHandler.handle ( DoHandleParallelRequestsHandler.java:69 )
    at com.zextras.lib.papi.PublicAPIManager.executeLocalCommand ( PublicAPIManager.java:441 )
    at com.zextras.lib.papi.PublicAPIManager.execPAPIRequest ( PublicAPIManager.java:242 )
    at com.zextras.lib.papi.ZextrasSoapBackend.handleRequest ( ZextrasSoapBackend.java:112 )
    at org.openzal.zal.soap.InternalDocumentHelper.handle ( InternalDocumentHelper.java:75 )
    at org.openzal.zal.soap.InternalAdminDocumentHandler.handle ( InternalAdminDocumentHandler.java:43 )
    at com.zimbra.soap.SoapEngine.dispatchRequest ( SoapEngine.java:607 )
    at com.zimbra.soap.SoapEngine.dispatch ( SoapEngine.java:460 )
    at com.zimbra.soap.SoapEngine.dispatch ( SoapEngine.java:273 )
    at com.zimbra.soap.SoapServlet.doWork ( SoapServlet.java:303 )
    at com.zimbra.soap.SoapServlet.doPost ( SoapServlet.java:213 )
    at javax.servlet.http.HttpServlet.service ( HttpServlet.java:707 )
    at com.zimbra.cs.servlet.ZimbraServlet.service ( ZimbraServlet.java:206 )
    at javax.servlet.http.HttpServlet.service ( HttpServlet.java:790 )
    at org.eclipse.jetty.servlet.ServletHolder.handle ( ServletHolder.java:821 )
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter ( ServletHandler.java:1685 )
    at com.zimbra.cs.servlet.CsrfFilter.doFilter ( CsrfFilter.java:169 )
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter ( ServletHandler.java:1668 )
    at com.zimbra.cs.servlet.RequestStringFilter.doFilter ( RequestStringFilter.java:54 )
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter ( ServletHandler.java:1668 )
    at com.zimbra.cs.servlet.SetHeaderFilter.doFilter ( SetHeaderFilter.java:59 )
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter ( ServletHandler.java:1668 )
    at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter ( ETagHeaderFilter.java:47 )
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter ( ServletHandler.java:1668 )
    at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter ( ContextPathBasedThreadPoolBalancerFilter.java:107 )
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter ( ServletHandler.java:1668 )
    at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter ( ZimbraQoSFilter.java:116 )
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter ( ServletHandler.java:1668 )
    at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter ( ZimbraInvalidLoginFilter.java:117 )
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter ( ServletHandler.java:1668 )
    at org.eclipse.jetty.servlets.DoSFilter.doFilterChain ( DoSFilter.java:473 )
    at org.eclipse.jetty.servlets.DoSFilter.doFilter ( DoSFilter.java:318 )
    at org.eclipse.jetty.servlets.DoSFilter.doFilter ( DoSFilter.java:288 )
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter ( ServletHandler.java:1668 )
    at org.eclipse.jetty.servlet.ServletHandler.doHandle ( ServletHandler.java:581 )
    at org.eclipse.jetty.server.handler.ScopedHandler.handle ( ScopedHandler.java:143 )
    at org.eclipse.jetty.security.SecurityHandler.handle ( SecurityHandler.java:524 )
    at org.eclipse.jetty.server.session.SessionHandler.doHandle ( SessionHandler.java:226 )
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle ( ContextHandler.java:1158 )
    at org.eclipse.jetty.servlet.ServletHandler.doScope ( ServletHandler.java:511 )
    at org.eclipse.jetty.server.session.SessionHandler.doScope ( SessionHandler.java:185 )
    at org.eclipse.jetty.server.handler.ContextHandler.doScope ( ContextHandler.java:1090 )
    at org.eclipse.jetty.server.handler.ScopedHandler.handle ( ScopedHandler.java:141 )
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle ( ContextHandlerCollection.java:213 )
    at org.eclipse.jetty.server.handler.HandlerCollection.handle ( HandlerCollection.java:109 )
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle ( HandlerWrapper.java:119 )
    at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle ( RewriteHandler.java:318 )
    at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle ( GzipHandler.java:437 )
    at org.eclipse.jetty.server.handler.DebugHandler.handle ( DebugHandler.java:84 )
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle ( HandlerWrapper.java:119 )
    at org.eclipse.jetty.server.Server.handle ( Server.java:517 )
    at org.eclipse.jetty.server.HttpChannel.handle ( HttpChannel.java:306 )
    at org.eclipse.jetty.server.HttpConnection.onFillable ( HttpConnection.java:242 )
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded ( AbstractConnection.java:261 )
    at org.eclipse.jetty.io.FillInterest.fillable ( FillInterest.java:95 )
    at org.eclipse.jetty.io.ssl.SslConnection.onFillable ( SslConnection.java:192 )
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded ( AbstractConnection.java:261 )
    at org.eclipse.jetty.io.FillInterest.fillable ( FillInterest.java:95 )
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run ( SelectChannelEndPoint.java:75 )
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun ( ExecuteProduceConsume.java:213 )
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run ( ExecuteProduceConsume.java:147 )
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob ( QueuedThreadPool.java:654 )
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run ( QueuedThreadPool.java:572 )
    at java.lang.Thread.run ( Thread.java:748 )
    Code:
    zxsuite chat getServerStatus
            server_status                                       running
            active_users_count                                  0
            active_sessions_count                               0
            DB_version                                          3
            required_zimlet                                     1.37
            chat_server_version                                 2.0

  3. #3
    Junior Member
    Join Date
    Sep 2017
    Posts
    2
    +1

    Also I get the error thying to change LDAP attribute for dynamic group:
    $ zmprov modifyDistributionList all@domain zimbraChatAllowDlMemberAddAsFriend TRUE
    ERROR: service.FAILURE (system failure: unable to modify attrs: object class violation - unable to modify attributes: ldap host=zimbra.domain:389: attribute 'zimbraChatAllowDlMemberAddAsFriend' not allowed)

  4. #4
    bud
    bud is offline
    ZeXtras Developer and Zimlet King ZeXtras Employee bud's Avatar
    Join Date
    Jun 2012
    Posts
    71
    Hello Pilcheck, piotr and Disabler!

    The LDAP attribute You are going to set is valid only for OpenChat.
    If You are running ZeXtras You should use:
    Code:
    zxsuite config distributionlist set chat_users@company.tld attribute allowDlMemberAddAsFriend value true
    Please try to run this command and let me know if the issue is still present.
    Have a nice day,
    bud
    The ZeXtras team

  5. #5
    Junior Member
    Join Date
    Sep 2017
    Posts
    2
    Hello bud!

    It works, but only with static distribution lists. Dynamic groups are not supported ("no such distribution list" error)

    Thanks a lot!
    Last edited by Disabler; 09-25-2017 at 04:35 PM.

  6. #6
    Active Member
    Join Date
    Aug 2015
    Posts
    6
    That did the trick, thanks bud!

  7. #7
    Active Member
    Join Date
    Nov 2017
    Posts
    3
    bud's suggestion worked for me as well. Thank you.

  8. #8
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,350
    Hello everyone!

    Posting this here as well, we've updated the documentation on the wiki accordingly and if our testing and QA goes smoothly as we predict the next Zextras Suite release should include a new GUI option to perform the very same task...

    Have a great day,
    Cine
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

Bookmarks

Posting Permissions

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