Apologies. I was testing from two different computers. On the one (where the web2py server was running) it was working and I did not see that the one from which I pasted the entries was failing. The following worked (same string with a 'TLS_REQCERT allow' added to /etc/ldap/ldap.conf):
$ ldapwhoami -H ldaps://stbldap01.sun.ac.za -D 'cn=jspies,ou=users,O=SU' -x -v -W -n Enter LDAP Password: ldap_initialize( ldaps://stbldap01.sun.ac.za:636/??base ) Result: Success (0) Regards Johann 2009/8/4 Fran <[email protected]>: > > > We need a working string in order to know how to code that within > Web2Py. > All of these have failed... > > F > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

