[SAC] Trac/SVN versions
christopher.schmidt at nokia.com
christopher.schmidt at nokia.com
Wed Jun 9 07:39:43 EDT 2010
On Jun 9, 2010, at 7:36 AM, ext christopher.schmidt at 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
More information about the Sac
mailing list