[SAC] Trac/SVN versions

For the record, to accommodate for the Trac/SVN server no longer being the LDAP server, I changed the notification work that Frank did to now read:

      l = ldap.initialize('ldaps://ldap.osgeo.org')

Thus, the beginning of the function now looks like:

def osgeo_ldap_email_lookup( uid ):

    server = 'localhost'
    who = 'cn=Manager,dc=osgeo,dc=org'
    cred = 'testdap'

    try:
        import ldap

        l = ldap.initialize('ldaps://ldap.osgeo.org')
        l.simple_bind_s('')

        base = 'uid='+uid+',ou=people,dc=osgeo,dc=org'
        scope = ldap.SCOPE_BASE
        result = l.search_s( base, scope, attrlist = ['mail'] )

...

I have confirmed that this setup was able to properly look up
my email address from my OSGeo userid on the new trac server.

Regards,
--
Christopher Schmidt
Nokia

On Jun 9, 2010, at 7:36 AM, ext christopher.schmidt@nokia.com wrote:

For the record, to accommodate for the Trac/SVN server no longer being the LDAP server, I changed the notification work that Frank did to now read:

     l = ldap.initialize('ldaps://ldap.osgeo.org')

Thus, the beginning of the function now looks like:

def osgeo_ldap_email_lookup( uid ):

   server = 'localhost'
   who = 'cn=Manager,dc=osgeo,dc=org'
   cred = 'testdap'

   try:
       import ldap

       l = ldap.initialize('ldaps://ldap.osgeo.org')
       l.simple_bind_s('')

       base = 'uid='+uid+',ou=people,dc=osgeo,dc=org'
       scope = ldap.SCOPE_BASE
       result = l.search_s( base, scope, attrlist = ['mail'] )

...

I have confirmed that this setup was able to properly look up
my email address from my OSGeo userid on the new trac server.

Dur. And I totally failed to mention the trac/SVN versions, as my email intended to.

Trac is installed from source, and is:

Trac 0.11.7

Subversion is installed from Debian backports, and is version:

"1.6.9 (r901367)"

Regards,
--
Christopher Schmidt
Nokia