Changes between Version 13 and Version 14 of LdapPlugin
- Timestamp:
- Jun 18, 2006, 12:59:32 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LdapPlugin
v13 v14 21 21 You need the Python LDAP module. It can be retrieved from 22 22 [http://python-ldap.sourceforge.net/ python-ldap].[[BR]] LdapPlugin has been 23 tested on a Debian Linux Sarge/Sid (2.4.x and 2.6.x) server, a s well as on a24 Windows XP SP2 workstation, bothrunning Python 2.3 with Trac 'development' releases.23 tested on a Debian Linux Sarge/Sid (2.4.x and 2.6.x) server, a Windows XP SP2 workstation, 24 as well as on MacBook Pro OS 10.4.6, all of them running Python 2.3 with Trac 'development' releases. 25 25 26 26 To use the egg file you need to have … … 43 43 44 44 * Build the ''egg'' file following the plugin packaging [http://projects.edgewall.com/trac/wiki/TracDev/PluginDevelopment#Packaginganddeployingplugins instructions] 45 * Copy the `dist/LdapPlugin-0.y.z-py2. 3.egg` file in your ''plugins'' project directory.45 * Copy the `dist/LdapPlugin-0.y.z-py2.n.egg` file in your ''plugins'' project directory. 46 46 47 47 == Authentication == … … 139 139 # whether to perform an authenticated bind for group resolution 140 140 group_bind = false 141 # user for authenticated group bind142 group_user =143 # password for authenticated group bind144 group_passwd =145 141 # whether to perform an authenticated bind for permision store operations 146 142 store_bind = false 147 # user for authenticated store bind148 store_user = 149 # password for authenticated store bind150 store_passwd =143 # user for authenticated connection to the LDAP directory 144 bind_user = 145 # password for authenticated connection 146 bind_passwd = 151 147 # global permissions (vs. per-environment permissions) 152 148 global_perms = false … … 172 168 basedn = dc=example,dc=org 173 169 store_bind = true 174 store_user = cn=tracadmin,dc=example,dc=org175 store_passwd = mypasswd170 bind_user = cn=tracadmin,dc=example,dc=org 171 bind_passwd = mypasswd 176 172 }}} 177 173 … … 185 181 [ldap] 186 182 group_bind = true 187 group_user = joeuser188 group_passwd = joepassword183 bind_user = joeuser 184 bind_passwd = joepassword 189 185 }}} 190 186 … … 195 191 {{{ 196 192 [ldap] 197 group_bind = true198 group_user = joeuser199 group_passwd = joepassword193 store_bind = true 194 bind_user = joeuser 195 bind_passwd = joepassword 200 196 }}} 201 197 … … 220 216 {{{ 221 217 [components] 222 ldapplugin.model.ldappermissionstore = enabled 223 ldapplugin.model.ldappermissiongroupprovider = enabled 218 ldapplugin.* = enabled 224 219 }}} 225 220 … … 354 349 * Add user detail support so that the full name and email address are 355 350 retrieved from the LDAP server. It would require a new extension point in 356 Trac engine .351 Trac engine, which might be called `IUserDirectory` (not before Trac 0.11 at best) 357 352 * There's probably a lot of room for improvement (and debugging) ;-) 358 353 … … 373 368 * '''v0.2.3''': Update to support the new boolean parsing introduced in the official Trac trunk 374 369 * '''v0.3.0''': Introduce per-environment permissions: permissions are defined to the current environment and do not overlap with other Trac environments using the same LDAP directory, unless the `global_perms` configuration parameters is set. 370 * '''v0.4.0''': Major rewrite of the LdapPlugin to support Trac trunk [trac:changeset:3419 3419], including better support for groups (user dns may be part of a different subtree than group dns, such as `ou=people` vs. `ou=groups`), improved cache management, as well as many bug fixes and code clean up. 375 371 376 372 == Author/Contributors == … … 379 375 '''Contributors:''' 380 376 381 382 377 [[TagIt(eblot,0.10,plugin)]] 383 384