Previously we could continue and fail due to attempting to de-reference this
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
if s_dnstr is not None:
s_dsa = self.get_dsa(s_dnstr)
- # No DSA matching this source DN string?
- if s_dsa is None:
- return False, None
+ # No DSA matching this source DN string?
+ if s_dsa is None:
+ return False, None
# To imply a repsFrom tuple is needed, each of these
# must be True: