==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=5410

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

           Summary: ical.cfg template uses wront variable for
                    server_socket option
           Product: SME Contribs
  Found-In-Version: 7.4
          Platform: PC
  Fixed-In-Version: Unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-zarafa
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


The template /etc/e-smith/templates/etc/zarafa/ical.cfg/ical.cfg uses the next
line for generating the server_socket configuration option:

server_socket = http://localhost:{${'zarafa-server'}{tcpport}||'236';}/zarafa

The db uses a TCPPort variable instead of tcpport:
# db configuration show zarafa-server
zarafa-server=service
    DbPassword=XXXXXXXXXXXXXXX
    GlobalForward=enabled
    Plugin=db
    TCPPort=237
    access=private
    status=enabled

Thus the ical.cfg always gets port 236:

<SNIP>
# default connection to the Zarafa server
server_socket   =       http://localhost:236/zarafa
</SNIP>


Changing the line in /etc/e-smith/templates/etc/zarafa/ical.cfg/ical.cfg to:
server_socket = http://localhost:{${'zarafa-server'}{TCPPort}||'236';}/zarafa

Then a:
# expand-template /etc/zarafa/ical.cfg

Solves the problem:

<SNIP>
# default connection to the Zarafa server
server_socket   =       http://localhost:237/zarafa
</SNIP>

-- 
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to