| 24 | This 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] |
| 29 | basedn = dc=example,dc=com |
| 30 | user_rdn = cn=ExampleUserGroup,dc=example,dc=com |
| 31 | host = ldap-server.example.com |
| 32 | bind_user = example_user |
| 33 | bind_password = example_password |
| 34 | }}} |
| 35 | |
| 36 | The 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 | |