#5002 Incorrect ldap_uri population in some cases in ipaserver/plugins/ldap2.py
Closed: Invalid None Opened 9 years ago by ofayans.

Method ldap_uri of ldap2 class tries to return the following:
return self.__ldap_uri or self.api.env.ldap_uri
In case the instance does not have the __ldap_uri attribute, the second part of the expression will never be executed, and the method will return 'ldap://example.com' even despite self.api.env.ldap_uri contains the correct value.


Metadata Update from @ofayans:
- Issue assigned to someone
- Issue set to the milestone: 0.0 NEEDS_TRIAGE

7 years ago

Login to comment on this ticket.

Metadata