LDAP Integration Problem

How can I have a user with system-full-access role as cuba admin user after activating LDAP (active directory) to authenticate with? I tried to create user and give it system-full-access role but I have error “The user already has this role”.

It’s not clear what you’re trying to do. When you create a new database for CUBA application, it already contains a user admin with the system-full-access-role assigned to the user. See the CUBA create-db.sql