On Saturday, 16 August 2014 21:43:25 UTC-6, Dale Scott wrote: > > On Saturday, 16 August 2014 19:42:19 UTC-6, Mark Hayden wrote: >> >> >> On 16 Aug 2014 19:37, "Dale Scott" <dale...@shaw.ca> wrote: >> > >> > > Hi list, I'm using a local openLDAP server as the source of >> authentication >> > for >> > > various server apps. What's the best way (module?) for Tryton to >> > authenticate >> > > users using the OpenLDAP server? >> > >> > I'm guessing I need *both* trytond_ldap_connection and >> > trytod_ldap_authentication modules. I try pip install >> > trytond_ldap_connection and get following include error. I am running >> Tryton >> > on FreeBSD-10 (and understand I may be the only one), but does thing >> obvious >> > jump out at anyone? Any suggestions? Fwiw, I'm not using virtualenv. >> >> I had this working in debian at one point. If i recall i did need mire >> than one module. I had to have some dev packages in debian to build it if i >> recall too. This was in version 2.4 though the setup might have changed a >> bit. Will see if i can find notes on what i did then. >> >> <snip> >> > Modules/errors.h:8:10: fatal error: 'lber.h' file not found >> <snip> >> > It seems py_ldap doesn't get installed by pip as a prerequisite to > trytond_ldap_connection. I installed py_ldap ("# pkg install > py27-ldap2-2.4.15_1", then "pip install trytond_ldap_connection" (followed > by trytond_ldap_authentication) - no errors and moving on... >
Hmmm, no ldap modules in modules list in Tryton client. Do I have to upgrade the database? Just edit trytond.conf? README and INSTALL in the module tarballs unfortunately don't say much. What next? Thanks, Dale