Unable to create local user in JBoss ON when LDAP is enabled

Solution Verified - Updated -

Issue

  • new user per CLI without LDAP login
  • new users created through CLI have LDAP login flag set to true using a script like:

    var newSubject = new Subject();
    newSubject.setEmailAddress('sample@example.com');
    newSubject.setFirstName('Sample');
    newSubject.setLastName('Test' );
    newSubject.setFactive(true);
    newSubject.setFsystem(false);
    newSubject.setName('SampleTest');
    var s = SubjectManager.createSubject(newSubject);
    

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • LDAP enabled

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content