Re: [web2py] Re: Error importing ldap_auth module

2012-06-26 Thread José Luis Redrejo
2012/6/26 ehgonzalez : > José this is my configuration, > > db.py: > from gluon.contrib.login_methods.ldap_auth import ldap_auth > > If mod_php is on: > ERROR:root:missing ldap, try "easy_install python-ldap" (apache log error) > > If mod_php is off, the application works OK. > > mod_php  5.3.3 > m

Re: [web2py] Re: Error importing ldap_auth module

2012-06-26 Thread José Luis Redrejo
2012/6/26 Bill Thayer : > > Hi Jose, > > Not to hijack your thread but quickly > > Your are probably as busy as the rest of us but I'd love to see a recipe or > tutorial on how you got php MyAdmin to run with web2py. > There 's not a special recipe. I'm using Debian, with python-gluon install

Re: [web2py] Re: Error importing ldap_auth module

2012-06-26 Thread ehgonzalez
José this is my configuration, db.py: from gluon.contrib.login_methods.ldap_auth import ldap_auth If mod_php is on: ERROR:root:missing ldap, try "easy_install python-ldap" (apache log error) If mod_php is off, the application works OK. mod_php 5.3.3 mod_wsgi 3.3 I've installed web2py from sour

Re: [web2py] Re: Error importing ldap_auth module

2012-06-26 Thread Bill Thayer
Hi Jose, Not to hijack your thread but quickly Your are probably as busy as the rest of us but I'd love to see a recipe or tutorial on how you got php MyAdmin to run with web2py. Regards, Bill --

Re: [web2py] Re: Error importing ldap_auth module

2012-06-26 Thread José Luis Redrejo
2012/6/26 ehgonzalez : > Hi everyone, > > I've finally found out what was wrong in my system. I use apache2 + mod_php > + wsgi, if I disable mod_php the application works Ok. Is there anyway to > run mod_php and wsgi without problems? I'm doing it in a lot of servers without any problem (runing a

[web2py] Re: Error importing ldap_auth module

2012-06-26 Thread ehgonzalez
Hi everyone, I've finally found out what was wrong in my system. I use apache2 + mod_php + wsgi, if I disable mod_php the application works Ok. Is there anyway to run mod_php and wsgi without problems? Eduardo. El jueves, 21 de junio de 2012 14:48:19 UTC-4:30, ehgonzalez escribió: > > Ldap uti

[web2py] Re: Error importing ldap_auth module

2012-06-21 Thread ehgonzalez
Ldap utilities works OK. For example: ldapsearch -x -h mycompany.com -b dc=mycompany,dc=com "(sAMAccountName=gonzalezej)". El jueves, 21 de junio de 2012 12:43:09 UTC-4:30, szimszon escribió: > > common ldap utilities are working? ldapsearch and co? > > 2012. június 21., csütörtök 17:34:45 UTC+2

[web2py] Re: Error importing ldap_auth module

2012-06-21 Thread Derek
It looks like error 89 is being thrown by your ldap server, not from python. See here: http://www-01.ibm.com/support/docview.wss?uid=swg1IO13737 On Thursday, June 21, 2012 8:34:45 AM UTC-7, ehgonzalez wrote: > > You rigth, python version is 2.6.6. I copied ldap_auth.py from trunk but > it's t

[web2py] Re: Error importing ldap_auth module

2012-06-21 Thread szimszon
common ldap utilities are working? ldapsearch and co? 2012. június 21., csütörtök 17:34:45 UTC+2 időpontban ehgonzalez a következőt írta: > > You rigth, python version is 2.6.6. I copied ldap_auth.py from trunk but > it's throwing same error. > > any ideas? > > El jueves, 21 de junio de 2012 10:

[web2py] Re: Error importing ldap_auth module

2012-06-21 Thread ehgonzalez
You rigth, python version is 2.6.6. I copied ldap_auth.py from trunk but it's throwing same error. any ideas? El jueves, 21 de junio de 2012 10:18:43 UTC-4:30, szimszon escribió: > > Try to use ldap_auth.py from trunk. Just copy it over the old one. > > You say Python 2.7.3 but in the error ther

[web2py] Re: Error importing ldap_auth module

2012-06-21 Thread szimszon
Try to use ldap_auth.py from trunk. Just copy it over the old one. You say Python 2.7.3 but in the error there is a ... python2.6/dist-packages/ldap ... 2012. június 21., csütörtök 16:39:40 UTC+2 időpontban ehgonzalez a következőt írta: > > Hi, > > When I try to import the ldap_auth module in