Koozali.org: home of the SME Server

WebMail settings - Restricting Directory Search in Addressbo

Franco Lee

Hello,

I would like to turn off the capability for users to search the local ldap for users to add in their addressbook.  Actually I would like to turn of all the directory listing except their own addressbook.  Thanks.

Franco

jrp2

Re: WebMail settings - Restricting Directory Search in Addre
« Reply #1 on: May 28, 2002, 08:10:04 PM »
I believe you can kill the file /home/httpd/html/horde/imp/config/ldap.php3 will do the trick.  You will need to do this via a template else the system will rebuild the file later.

I have not tested this, so be careful, but I think it is safe to do so.

Probably a better way is that you can refine the use of LDAP (as well as disable it all together) in several settings in defaults.php3 in the same directory as above.  It should be pretty self-explanatory, the file is well documented.  Once again, use the templates.

Hope this helps.

JP

flee

Re: WebMail settings - Restricting Directory Search in Addre
« Reply #2 on: May 28, 2002, 09:01:11 PM »
Thanks again JP!

I did go into the templates to see if I could resolve this.  I actually just commented out everything in these two files:

/home/httpd/html/horde/turba/config/sources.php
/home/httpd/html/horde/turba/config/sources.php.dist

It did do the trick, except now when I go into the addressbook, it doesn't show anybody until a click on search button.  Would you know how I could make it so it displays the whole addressbook?  Thanks.

Franco

jrp2

Re: WebMail settings - Restricting Directory Search in Addre
« Reply #3 on: May 28, 2002, 10:43:44 PM »
Turba?  Sounds like you manually upgraded to IMP 3.0.

Offhand, I don't know.  I would look at monkeying with the IMP config files as I originally mentioned, as opposed to the underlying Turba, as that is likely to be the way they intended it to be manipulated.  Not sure though, my experience with 3.0 is very limited and I do not have a machine with it loaded handy.  Have you checked out www.horde.org?

Franco Lee

Re: WebMail settings - Restricting Directory Search in Addre
« Reply #4 on: May 29, 2002, 10:44:59 AM »
Yeah I guess I forgot to mention i upgraded to imp 3.0.  i did this right away during the initial installation of the e-smith machine so it slipped my mind.  thanks for the advice, i'll check out horde's website.

i'll have to take a look at your initial tips as they seem to be the proper way of manipulating things.

Franco