Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: rhutchence on March 05, 2007, 06:13:53 AM

Title: Blocking LDAP address book from users
Post by: rhutchence on March 05, 2007, 06:13:53 AM
Hi all,

I have the issuse of students discovering the LDAP address book in Horde. This has lead them to send out mass amounts of email throughout the college. Is there a way to globally disable the LDAP address book to try and prevent this from happening?
Title: Re: Blocking LDAP address book from users
Post by: mrjhb3 on March 05, 2007, 10:04:20 PM
Quote from: "rhutchence"
Hi all,

I have the issuse of students discovering the LDAP address book in Horde. This has lead them to send out mass amounts of email throughout the college. Is there a way to globally disable the LDAP address book to try and prevent this from happening?


You could create a custom-template with a blank 50LocalLDAP file, then signal-event email-update.  Now all users should only see their personal address book.  This will effect all users, even staff.

John
Title: Blocking LDAP address book from users
Post by: rhutchence on March 12, 2007, 01:00:10 AM
I've just found the time to get back to this problem after having to rebuild my server from a toally unrelated hard Drive problem.

I've been looking around the the file structure and I cannot find where the custom templates are suppose to be stored. Can someone please point me in the corret direction.....
Title: Blocking LDAP address book from users
Post by: mrjhb3 on March 12, 2007, 04:19:59 AM
Quote from: "rhutchence"
I've just found the time to get back to this problem after having to rebuild my server from a toally unrelated hard Drive problem.

I've been looking around the the file structure and I cannot find where the custom templates are suppose to be stored. Can someone please point me in the corret direction.....


/etc/e-smith/templates-custom

John
Title: Re: Blocking LDAP address book from users
Post by: rhutchence on March 12, 2007, 07:04:22 AM
Quote from: "mrjhb3"


You could create a custom-template with a blank 50LocalLDAP file, then signal-event email-update.  Now all users should only see their personal address book.  This will effect all users, even staff.



I have created a new file and named it 50LocalLDAP in the template-custom directory and ran the CLI as specified above but the change has not been applied. Is there something that I'm missing??
Title: Re: Blocking LDAP address book from users
Post by: mrjhb3 on March 12, 2007, 01:33:01 PM
Quote from: "rhutchence"
Quote from: "mrjhb3"


You could create a custom-template with a blank 50LocalLDAP file, then signal-event email-update.  Now all users should only see their personal address book.  This will effect all users, even staff.



I have created a new file and named it 50LocalLDAP in the template-custom directory and ran the CLI as specified above but the change has not been applied. Is there something that I'm missing??


Yes, you need to read the admin guide on how the templates system works, http://wiki.contribs.org/SME_Server:Documentation.

Here it is spelled out

mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/turba/config/sources.php
touch /etc/e-smith/templates-custom/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP
signal-event email-update
Login to webmail, no ldap address book

John
Title: Blocking LDAP address book from users
Post by: rhutchence on March 13, 2007, 12:40:37 AM
Thankyou John!!!! All worked  :D