Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: well_fans on December 05, 2005, 03:09:54 PM

Title: SME 7B8 - Need some help with Turba and LDAP
Post by: well_fans 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?
Title: SME 7B8 - Need some help with Turba and LDAP
Post by: byte 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?!
Title: SME 7B8 - Need some help with Turba and LDAP
Post by: well_fans 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.
Title: SME 7B8 - Need some help with Turba and LDAP
Post by: byte 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
Title: SME 7B8 - Need some help with Turba and LDAP
Post by: well_fans 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.
Title: SME 7B8 - Need some help with Turba and LDAP
Post by: well_fans 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?
Title: SME 7B8 - Need some help with Turba and LDAP
Post by: well_fans 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?