| 37 | == Configuration |
| 38 | |
| 39 | === Step 1 - Enable Plugin |
| 40 | Please remember to enable Account Manager as well as this plugin. |
| 41 | [[Image(enable.png)]] |
| 42 | |
| 43 | === Step 2 - Config Plugin |
| 44 | There are only a few fields that need to be configured. |
| 45 | |
| 46 | bind_server:: The LDAP server to connect to. The format is "ldap[s]://host[:port]". |
| 47 | bind_anonymous:: Whether the server allow anonymous binding. |
| 48 | bind_dn:: If anonymous binding is not allowed, please specify a bind_dn. |
| 49 | bind_passwd:: If anonymous binding is not allowed, please specify a binding password. |
| 50 | user_searchbase:: The base of the tree on which the user is searched. A sub-tree search is performed. |
| 51 | user_searchfilter:: The filter to find users in the tree. The default is "objectClass=inetOrgPerson", |
| 52 | which should work for most of the cases. |
| 53 | user_matchfilter:: The field of the record to match username to when authenticating. This is almost always "uid=%s". |
| 54 | |
| 55 | [[Image(config.png)]] |
| 56 | |
| 57 | === Step 3 - List Users |
| 58 | Once it is setup correctly, all the users will be automatically available by selecting Accounts/Users on the left panel. There is no need to hand create the user list, which is the beauty of the LDAP authentication plugin. |
| 59 | |
| 60 | [[Image(users.png)]] |
| 61 | |