Christian,
You have no idea how many Windows gotchas I ran into before this one that I
worked around. Definitely not my preference here.
I tried to install python-ldap using easy_install, but I was getting errors.
I downloaded the egg directly from their site and installed it that way.
I'm hoping to get a Linux box instead - thanks for response.
On Wed, Feb 23, 2011 at 2:49 PM, Christian Hammond chip...@chipx86.comwrote:
Hi Eric,
I think you're locked out because of the first error. It looks like
the ldap module isn't properly installed. The Python module was found,
but not the DLL. How did you install it?
You will in many ways have a better experience installing on Linux (on
either a dedicated box or VM). Windows has some tricky problems like
this that you may hit, which are not actually Review Board bugs.
Christian
On Tuesday, February 22, 2011, Eric Hauser ewhau...@gmail.com wrote:
Hi,
I'm trying to get ReviewBoard working with Active Directory on
Windows. When I install a new site, login, and change the auth type
to LDAP, I am getting the following error when I try to log back in:
2011-02-22 10:44:00,331 - ERROR - Exception thrown for user
AnonymousUser at http://secret/admin/db/
DLL load failed: The specified module could not be found.
Traceback (most recent call last):
File c:\python26\lib\site-packages\django-1.2.5-py2.6.egg\django
\core\handlers\base.py, line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File c:\python26\lib\site-packages\django-1.2.5-py2.6.egg\django
\contrib\admin\sites.py, line 207, in wrapper
return self.admin_view(view, cacheable)(*args, **kwargs)
File c:\python26\lib\site-packages\django-1.2.5-py2.6.egg\django
\utils\decorators.py, line 76, in _wrapped_view
response = view_func(request, *args, **kwargs)
File c:\python26\lib\site-packages\django-1.2.5-py2.6.egg\django
\views\decorators\cache.py, line 78, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File c:\python26\lib\site-packages\django-1.2.5-py2.6.egg\django
\contrib\admin\sites.py, line 189, in inner
return self.login(request)
File c:\python26\lib\site-packages\django-1.2.5-py2.6.egg\django
\views\decorators\cache.py, line 78, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File c:\python26\lib\site-packages\django-1.2.5-py2.6.egg\django
\contrib\admin\sites.py, line 322, in login
user = authenticate(username=username, password=password)
File c:\python26\lib\site-packages\django-1.2.5-py2.6.egg\django
\contrib\auth\__init__.py, line 52, in authenticate
user = backend.authenticate(**credentials)
File c:\python26\lib\site-packages\ReviewBoard-1.5.3.1-py2.6.egg
\reviewboard\accounts\backends.py, line 273, in authenticate
import ldap
File C:\Python26\lib\site-packages\ldap\__init__.py, line 22, in
module
from _ldap import *
ImportError: DLL load failed: The specified module could not be found.
My path looks like this:
Path=C:\Program Files (x86)\CollabNet\Subversion Client;C:\Windows
\system32;C:\W
indows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell
\v1.0\;C:\W
indows\idmu\common;C:\Python26;C:\Python26\Scripts;C:\GnuWin32\bin;c:
\cvs;C:\Per
force;C:\Program Files (x86)\MySQL\MySQL Server 5.5\bin;C:\Program
Files (x86)\G
it\cmd;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Java
\jdk1.6.0_24\bi
n;C:\Python26\Lib\site-packages\ldap;C:\Python26\Lib\site-packages
Any suggestions? I added the LDAP packages to the path after reading
through other discussions on this list. Also, after I switch over to
LDAP, I am immediately locked out of the site and have to recreate the
site again from scratch. The admin account I create at install no
longer works.
Thanks.
--
Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en
--
--
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com
--
Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en
--
Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/