python-ldap on CIFS

Michael Ströder michael at stroeder.com
Wed Oct 7 16:01:53 CEST 2009


phobie wrote:
> C:\> \\somehost\someshare\python2.6\python.exe
>>>> import ldap
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "\\somehost\someshare\python2.6\lib\site-packages\python_ldap-2.3.8-py2.6-win32.egg\ldap\__init__
> .py", line 22, in <module>
>     from _ldap import *
> ImportError: DLL load failed: The specified module could not be found.

Try -v to get more output:

\\somehost\someshare\python2.6\python.exe -v -c "import ldap"

I'm not too familiar with using Python under Windows. I suspect that there
might also be some registry settings for setting the lib path.

Ciao, Michael.



More information about the python-ldap mailing list