Changes between Version 11 and Version 12 of AccountLdapPlugin


Ignore:
Timestamp:
Aug 21, 2008 11:30:38 PM (6 years ago)
Author:
onecreativenerd
Comment:

added a little documentation for config values and a note about active directory

Legend:

Unmodified
Added
Removed
Modified
  • AccountLdapPlugin

    v11 v12  
    2222See code in subversion. 
    2323 
     24This plugin uses some of the same configuration values as LdapPlugin to bind to your LDAP server and know how to access your users: 
     25 
     26{{{ 
     27#!ini 
     28[ldap] 
     29basedn        = dc=example,dc=com 
     30user_rdn      = cn=ExampleUserGroup,dc=example,dc=com 
     31host          = ldap-server.example.com 
     32bind_user     = example_user 
     33bind_password = example_password 
     34}}} 
     35 
     36The plugin uses the LDAP filter {{{"uid=%s"}}} (where {{{%s}}} gets filled with the trac username) to figure out which user's info to get. This won't work on some Active Directory servers, so you might have to change the filter in the code to be {{{"sAMAccountName=%s"}}}. 
     37 
     38 
    2439== Recent Changes == 
    2540