1.4 ldap.dn -- LDAP Distinguished Name handling

The ldap.dn module defines the following functions:

escape_dn_chars( s)

This function escapes characters in string s which are special in LDAP distinguished names. You should use this function when building LDAP DN strings from arbitrary input.