Skip to content

There is no way to disable LDAP #33

@bschonec

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}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions