Re: LDAP address book - per-user BaseDN?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/10/07, z6 <z6@xxxxxxxxx> wrote:
> I've been happily using the LDAP Query plugin for some time. However it
> only seems to allow a BaseDN to be specified globally for all users.
>
> I've experimented a bit with VLogin to attempt to supply a per-user BaseDN
> for the address lookups (either constructed from the login name (1st
> choice) or manually specified (2nd choice)), or to specify per-user LDAP
> login credentials (3rd choice). I didn't really make much progress though.
> Before I spend more time, can anyone tell me whether this is actually
> possible, or if there is a better way?

If you are changing a variable in a plugin, the plugin has to be
modified.  Choose a separate variable name, maybe by adding "vlogin_"
to the front of the original variable name.  Add it to the vlogin
configuration.  Then the plugin should have code like this:

global $vlogin_xxx;
if (!empty($vlogin_xxx)) $xxx = $vlogin_xxx;

> I'm not too worried about enforcing segregation of address book entries
> through access control - just about keeping the directory searches
> separate for convenience.
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
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

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux