Changes between Version 13 and Version 14 of LdapPlugin


Ignore:
Timestamp:
Jun 18, 2006, 2:59:32 AM (9 years ago)
Author:
eblot
Comment:

Update for release 0.4.0

Legend:

Unmodified
Added
Removed
Modified
  • LdapPlugin

    v13 v14  
    2121You need the Python LDAP module. It can be retrieved from
    2222[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, as well as on a
    24 Windows XP SP2 workstation, both running Python 2.3 with Trac 'development' releases.
     23tested on a Debian Linux Sarge/Sid (2.4.x and 2.6.x) server, a Windows XP SP2 workstation,
     24as well as on MacBook Pro OS 10.4.6, all of them running Python 2.3 with Trac 'development' releases.
    2525
    2626To use the egg file you need to have
     
    4343
    4444 * 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.
    4646
    4747== Authentication ==
     
    139139# whether to perform an authenticated bind for group resolution
    140140group_bind = false
    141 # user for authenticated group bind
    142 group_user =
    143 # password for authenticated group bind
    144 group_passwd =
    145141# whether to perform an authenticated bind for permision store operations
    146142store_bind = false
    147 # user for authenticated store bind
    148 store_user =
    149 # password for authenticated store bind
    150 store_passwd =
     143# user for authenticated connection to the LDAP directory
     144bind_user =
     145# password for authenticated connection
     146bind_passwd =
    151147# global permissions (vs. per-environment permissions)
    152148global_perms = false
     
    172168basedn = dc=example,dc=org
    173169store_bind = true
    174 store_user = cn=tracadmin,dc=example,dc=org
    175 store_passwd = mypasswd
     170bind_user = cn=tracadmin,dc=example,dc=org
     171bind_passwd = mypasswd
    176172}}}
    177173
     
    185181[ldap]
    186182group_bind = true
    187 group_user = joeuser
    188 group_passwd = joepassword
     183bind_user = joeuser
     184bind_passwd = joepassword
    189185}}}
    190186
     
    195191{{{
    196192[ldap]
    197 group_bind = true
    198 group_user = joeuser
    199 group_passwd = joepassword
     193store_bind = true
     194bind_user = joeuser
     195bind_passwd = joepassword
    200196}}}
    201197
     
    220216{{{
    221217[components]
    222 ldapplugin.model.ldappermissionstore = enabled
    223 ldapplugin.model.ldappermissiongroupprovider = enabled
     218ldapplugin.* = enabled
    224219}}}
    225220
     
    354349 * Add user detail support so that the full name and email address are
    355350   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)
    357352 * There's probably a lot of room for improvement (and debugging) ;-)
    358353
     
    373368 * '''v0.2.3''': Update to support the new boolean parsing introduced in the official Trac trunk
    374369 * '''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.
    375371
    376372== Author/Contributors ==
     
    379375'''Contributors:'''
    380376
    381 
    382377[[TagIt(eblot,0.10,plugin)]]
    383 
    384