[jboss-jira] [JBoss JIRA] (WFCORE-1038) Unable to configure LDAP based authentication within a SecurityRealm using the CLI

Darran Lofthouse (JIRA) issues at jboss.org
Wed Oct 7 08:24:00 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115919#comment-13115919 ] 

Darran Lofthouse commented on WFCORE-1038:
------------------------------------------

It appears this is caused by the following commit: -

  https://github.com/darranl/wildfly-core/commit/e594336c25290fca12eff08be562b5c1e7b26e17

We probably need CLI side validation to take into account if one of the alternatives has been set.

> Unable to configure LDAP based authentication within a SecurityRealm using the CLI
> ----------------------------------------------------------------------------------
>
>                 Key: WFCORE-1038
>                 URL: https://issues.jboss.org/browse/WFCORE-1038
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Domain Management
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>            Priority: Blocker
>             Fix For: 2.0.0.CR7
>
>
> The first and last errors reported here are coming from the CLI: -
> {noformat}
> [standalone at 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 at 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 at 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list