Anil Jangity wrote: > > url = ''.join((self.server, base, '?', attr, '?', scope, '?', filter, '?')) > try: > print url > ldap_url = ldapurl.LDAPUrl(url) BTW: See also 2nd example on http://python-ldap.sourceforge.net/doc/python-ldap/ldapurl-example.html Ciao, Michael.