web2ldap - FAQFrequently Asked Questions |
|
SyntaxError: ...
ImportError: No module named ldap
I want to refer to the web2ldap gateway from a web page. Is there a way to get a persistent URL?
http://sites.inka.de:8002/web2ldap/ldapurl?ldap://ldap.openldap.org/dc=openldap,dc=org
I would like to integrate web2ldap in my Netscape address book. Is there a way to do that?
user_pref("ldap_2.servers.Michaels.serverName", "localhost"); user_pref("ldap_2.servers.Michaels.searchBase", "o=Michaels");and add something like
user_pref("ldap_2.servers.Michaels.customDisplayUrl", "http://localhost/web2ldap-fcgi/web2ldap.py/ldapurl?ldap://localhost/%s");Note that the prefix "ldap_2.servers.Michaels" here is only valid in my local configuration example which was automatically generated by the Netscape browser. The prefix in your preferences file will be different.
I would like to add multi-valued attributes but the input form just provides one input field for a certain attribute type.
I would like to upload a photo, a certificate or other binary attribute data. Is that possible?
I would like to delete a photo, a certificate or other binary attribute data. Is that possible?
I want to avoid displaying the raw DNs in the search result table. How to do that?
I have embedded HTML code with hyperlinks into some of the LDAP entries. When I display the entry with Netscape the hyperlinks work just fine but with web2ldap the HTML code is displayed instead of displaying the hyperlink.
This behaviour of escaping HTML entity characters is implemented for security reasons. It prevents execution of bad Javascript code a malicious user might have added (see CERT advisory 2000-02).
Plain URLs in attributes are converted automatically to hyperlinks. To be conform with LDAP standard you should use the attribute type labeledURI. Netscape also displays labeledURI as labeled hyperlink.
I would like to setup some automatically filled fields. E.g. automatically set the cn (common name) attribute with the concatenation of values of the attributes givenName and sn (surname).
I would like to define a "select" item for certain input fields.
How to customize the HTML output to use different colors, different font size, etc.?
I have started web2ldap in stand-alone mode. It runs and accessing it from localhost works but I cannot access it over my network. What is wrong?
web2ldap -l my.public.ether.addr:port
web2ldap -l 0.0.0.0:port
I try to run web2ldap but it quits during startup and throws an exception in the module DNS.
Is it possible to run web2ldap under Windows?
web2ldap crashs a lot of with segmentation faults.
configure --without-pymalloc
.
You probably have to rebuild all C extension modules involved afterwards.
web2ldap does not work properly with SSL (based on M2Crypto) in stand-alone mode. HTTP headers seem to be truncated.
configure --without-pymalloc
.
You probably have to rebuild all C extension modules involved afterwards.
NameError: global name 'threading' is not defined
configure
--with-threads
.