>> I'm sorry if this has been asked before, I searched the archives and
>> found nothing however.
>>
>> I have LDAP up and working fine with squirrelmail but is there a way
>> that I can limit who has read access to the LDAP directory? I host
>> several domains and I only want users @foo.com to be able to read the
>> address book. Possible?
>>
>> Any help would be appreciated.
>>
>> SM v. 1.4.5
>> Courrier IMAP
>> Suse 9.3
>> PHP 4.4.0
>>
>
> Modify functions/abook_ldap_server.php and functions/addressbook.php and
> limit ldap address book init to selected domain or check vlogin plugin
> options.
>
> --
That was it, thanks! I setup the ldap server info in the config.pl file -
then modified the functions/addressbook.php by adding this line around
line 77:
if(stristr($username, '@<mydomain>.com') === FALSE) {
return $abook;
}
Now it works like a charm. Thanks again
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines:
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives:
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users