We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 900fde5 commit 8105f4dCopy full SHA for 8105f4d
scripts/hostcfgd
@@ -419,7 +419,7 @@ class AaaCfg(object):
419
if self.ldap_global == {}:
420
return False
421
return self.ldap_global.get('bind_dn', "") and self.ldap_global.get('base_dn', "") and \
422
- self.ldap_global.get('bind_password', "") and 'ldap' in self.authentication['login'] and \
+ self.ldap_global.get('bind_password', "") and 'ldap' in self.authentication.get('login', "") and \
423
self.ldap_servers
424
425
def pick_src_intf_ipaddrs(self, keys, src_intf):
0 commit comments