Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Folks,
I have an NPrinting User-Group import task with LDAP configured (Windows AD on premise). It works great with user, groups and roles. Also the Settings Option 'Remove users not present in newest sources' is working. User are disappeared after the sync, if they are not in the given AD-groups anymore.
My problem (or maybe my misunderstanding) is, that I should be also replace the existing user assocciations (e.g. in roles and groups) if a user should change the role f.i. from user to a developer ... and for that reason I activate the Settings-Option for that behavior. >> 'Replace existing user associations (filters, roles, and groups)' ... Of course If I was involved as server admin I could the change do it manually. But the ActiveDirectory-Team is originally responsible for that change-process, so that maybe a change in user-association will be hidden in background.
After testing and also after real execution of this import task I'm facing an Error:
Import data failed. ERROR: There must be at least one active user with administrative rights able to login. My own User with admin rights is also in the AD-Groups assigned.
I sync all the following AD-Groups in one Task (but tried this with same result also in extra task per group).
NPrinting-Administrator
NPrinting-Developer
NPrinting-NewsStand-User
NPrinting-User
Is there a solution for that?
I appreciate all hints.
Mimo
Hi,
In Qlik NPrinting there must always be a user with administrator role. You cannot delete all users with that role otherwise you will no more be able to admin the installation. For some reasons, you are trying to remove the administrator role from all users that have it.
Manually create a different user with administrator role outside the LDAP import. Please remember its credentials. It must not be modified by the user import task and you will be able to use it to manage the server every time you need.
Best Regards,
Ruggero
Thanks a lot Ruggero 👍
That problem is solved!
You mentioned an additional non-LDAP account. Unfortunately, it didn't work out either. This account is assigned to a copied admin role, but it seems to pay attention to the original "Administrator" role. In order not to have to work with additional admin accounts, I have now used an additional user filter to filter out the special admin domain account assigned to the original administrator role. And it works now.
I use now an additional user filter to filter out a special admin domain account.
e.g. with ldap field samAccountName like this
(!samaccountname=***<user account name>***)
Hi,
In Qlik NPrinting there must always be a user with administrator role. You cannot delete all users with that role otherwise you will no more be able to admin the installation. For some reasons, you are trying to remove the administrator role from all users that have it.
Manually create a different user with administrator role outside the LDAP import. Please remember its credentials. It must not be modified by the user import task and you will be able to use it to manage the server every time you need.
Best Regards,
Ruggero
Thanks a lot Ruggero 👍
That problem is solved!
You mentioned an additional non-LDAP account. Unfortunately, it didn't work out either. This account is assigned to a copied admin role, but it seems to pay attention to the original "Administrator" role. In order not to have to work with additional admin accounts, I have now used an additional user filter to filter out the special admin domain account assigned to the original administrator role. And it works now.
I use now an additional user filter to filter out a special admin domain account.
e.g. with ldap field samAccountName like this
(!samaccountname=***<user account name>***)
Hi,
You can warranty that an account with administrator role is always available and active in the way you prefer. I suggested to create one manually to be sure it will never be deleted, or try to be deleted, by a user import task because user import tasks can delete only accounts created by the same task. So a manually created administrator will never be deleted by a task.
Best Regards,
Ruggero
Hi Ruggero,
I have this additional emergency account, but it had no effect on LDAP synchronization if the main admin user was an LDAP user and is assigned to the original administrator role. The "Replace existing user associations (filters, roles, and groups)" settings option could not be used. So was my experience within a few hours of testing 😉
Its also a little bit tricky with settings like "Remove users not present in newest import sources" or "Replace existing user associations (filters, roles, and groups)" if the import task ist for one role and you have a role filter (or user filter), then this role (user) seems to be not present and the assignment or user will be removed.
Regards
Mimo
PS:For the first solution I had created 3 import tasks. One per role ... without Administrator for simplification. Step for step till it meets the expectations. At the end I think/hope, only one Import task ist necessary for doing the sync for all users and roles.