On Mon, Mar 9, 2015 at 1:37 AM, Riedel, Torge <[email protected]> wrote:

> Hi,
>
> we have here a lot of trac instances running. All are linked to the same
> LDAP (with same configuration). This keeps the user's names consistent over
> all instances. The authentication is done by the Apache, that means after
> you accessed the page listing all trac instances you can navigate to each
> instance without the need to login.
>
> But there is one issue with this:
> Each user has to set his preferences on each instance by hand. At least
> the E-Mail address is an important thing to set. If the user forgets to set
> this, he will not receive any notifications.
>
> I see two solutions:
>
> 1.       Is there a way to get the E-Mail address from the LDAP and set it
> automatically for the user (would be nice then to disable changing the mail
> address in trac).
>
> 2.       Scan every night all instances by a script, build a list with
> users and their mail address and update all instances, where a user was
> already logged in once and a mail address is not set.
>
> Is there a way to do one of these things? Or is there a better solution?
>

There are some plugins that might help you. If you are using
AccountManagerPlugin, take a look at LdapAuthStorePlugin:
http://trac-hacks.org/wiki/LdapAuthStorePlugin

>From the project wiki page:
"The plugin will also pull the email address and username from the
directory and populate the session_attribute table."

A more extensive list of available plugins is here:
http://trac-hacks.org/tags/ldap?wiki=on

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to