Koozali.org: home of the SME Server

SME 7B8 - Need some help with Turba and LDAP

well_fans

SME 7B8 - Need some help with Turba and LDAP
« on: December 05, 2005, 03:09:54 PM »
On previous versions of Horde & SME to make the email groups appear in the address book for the compose window it was a fairly simple task to change the template for LDAP to use 'objectclass' => '*' and carry out an email update. On the current setup though when I modify the template located at /etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP to the same and remove the array info thats there by default there is no change to the listings in the address book. I have changed the title so that its now a little more user friendly and says "School" instead of LocalLDAP using this file and it works okay. Searched here and Horde mailing lists but cant find any suggestions. Anyone solved this already?

Offline byte

  • *
  • 2,183
  • +2/-0
SME 7B8 - Need some help with Turba and LDAP
« Reply #1 on: December 05, 2005, 03:47:28 PM »
Noticed you modified the template in...

/etc/e-smith/templates....

Read this http://no.longer.valid/phpwiki/index.php/Customizing

This will show how to correctly make a template, this might be why something is not happening as you would expect?!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

well_fans

SME 7B8 - Need some help with Turba and LDAP
« Reply #2 on: December 05, 2005, 03:58:13 PM »
While that was certainly the procedure for earlier versions of SME I am not convinced that is still current for SME 7. The signal-event email-update uses the template files that I have modified. I have used these templates to modify parts of IMP and Turba successfully. Perhaps someone could clarify which is the correct method for SME 7. I am however convinced that it is not that I am editing the wrong file - worst case scenario with that would be that I'd lose the settings every restart.

Offline byte

  • *
  • 2,183
  • +2/-0
SME 7B8 - Need some help with Turba and LDAP
« Reply #3 on: December 05, 2005, 04:09:35 PM »
Yes it's still the way to do it look... see here...

http://smeserver.sourceforge.net/TemplatingSystem?v=iyc

you still create template's in the...

/etc/e-smith/templates-custom

as any in the above directory will override what's in the /etc/e-smith/templates << never should change templates within that dir
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

well_fans

SME 7B8 - Need some help with Turba and LDAP
« Reply #4 on: December 05, 2005, 04:18:31 PM »
ok thanks for that pointer. I'll try copying the fragment to the custom template folder and making my changes there. See if that brings any more success.

well_fans

SME 7B8 - Need some help with Turba and LDAP
« Reply #5 on: December 05, 2005, 04:42:37 PM »
as I suspected the error/problem does not exist because of the wrong file being edited. I've now followed byte's instructions and made the custom template-thanks again for that pointer. Still no joy? Anyone got other suggestions?

well_fans

SME 7B8 - Need some help with Turba and LDAP
« Reply #6 on: December 08, 2005, 12:35:09 AM »
anyone? Surely I'm not the only one with this problem? Fix must be fairly simple if you know you're way round Horde and SME ldap directory?