Skip to content

There is no way to disable LDAP #33

Description

@bschonec

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:

$ldap_flags = "${ldap_flg} ${ldapauth_flg} ${ldaptls_flg} ${ldapbasedn_val} ${ldaploadcacert_val} ${ldapserver_val}"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions