Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1038

Unable to configure LDAP based authentication within a SecurityRealm using the CLI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.0.0.CR7
    • None
    • CLI, Management
    • None

      The first and last errors reported here are coming from the CLI: -

      [standalone@localhost:9990 /] ./core-service=management/security-realm=ManagementRealm/authentication=ldap:add(username-attribute=uid, base-dn=cn=base, connection=LdapSsl)
      The following parameters 'advanced-filter' are required
      [standalone@localhost:9990 /] ./core-service=management/security-realm=ManagementRealm/authentication=ldap:add(username-attribute=uid, advanced-filter=(uid={0}), base-dn=cn=base, connection=LdapSsl)
      {
          "outcome" => "failed",
          "failure-description" => "WFLYDM0035: Only one of 'username-attribute' or 'advanced-filter' is required.",
          "rolled-back" => true,
          "response-headers" => {"process-state" => "reload-required"}
      }
      [standalone@localhost:9990 /] ./core-service=management/security-realm=ManagementRealm/authentication=ldap:add(advanced-filter=(uid={0}), base-dn=cn=base, connection=LdapSsl)
      The following parameters 'username-attribute' are required
      

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: