Quote ldap uri
python-ldap in Bullseye fails to parse the file path unless it is quoted:
>>> a = ldapurl.LDAPUrl('ldapi://%2fvar%2ffoo')
>>> a.hostport
'/var/foo'
>>> a = ldapurl.LDAPUrl('ldapi:///var/foo')
>>> a.hostport
''
cc ai3/prod#214
Edited by godog