You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following code:
# construct the command
$ldap_flags = $ldap ? {
true => "${ldap_flg} ${ldapauth_flg} ${ldaptls_flg} ${ldapbasedn_val} ${ldaploadcacert_val} ${ldapserver_val}",
default => '',
}
The "turn off" arguments ( --disableldap and --disableldapauth) never get set because unless you have $ldap_flags = true, the --disableldap flag will never get added to $ldap_flags. I think the logic should be taken out completely and just set:
In the following code:
# construct the command
$ldap_flags = $ldap ? {
true => "${ldap_flg} ${ldapauth_flg} ${ldaptls_flg} ${ldapbasedn_val} ${ldaploadcacert_val} ${ldapserver_val}",
default => '',
}
The "turn off" arguments ( --disableldap and --disableldapauth) never get set because unless you have $ldap_flags = true, the --disableldap flag will never get added to $ldap_flags. I think the logic should be taken out completely and just set:
The text was updated successfully, but these errors were encountered: