Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1302

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.ER2 (Beta)
    • 7.0.0.DR11
    • 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
      

            remerson@redhat.com Ryan Emerson
            olukas Ondrej Lukas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: