Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Employee
Employee

Synchronize Active Directory to Qlik NPrinting

This video shows you how to import users and groups from an active directory controller into Qlik NPrinting through the REST API. This will help you to keep your group and users in Active Directory and NPrinting in sync.

The AdSync to NPrinting tool is a C# library that is available in GitHub. https://github.com/qlik-oss/nprinting-adsync 

Take a look at this video to start working with this tool

18 Replies
djbloiss
New Contributor III

Re: Synchronize Active Directory to Qlik NPrinting

does the toll presented in the video work with Version 16, as my company has not upgraded yet.

Employee
Employee

Re: Synchronize Active Directory to Qlik NPrinting

Hi Daniel,

the tool doesn't work in NPrinting 16 because it use the User/Groups API that has been introduced starting from the version 17.3.

Employee
Employee

Re: Synchronize Active Directory to Qlik NPrinting

Hi,

Qlik NPrinting 16 can import users from LDAP services natively. It doesn't need an external tool.

Refer to Import Users from LDAP Directory Subfolders

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
felipestall
New Contributor

Re: Synchronize Active Directory to Qlik NPrinting

Hi guys, can anybody help me with this:

nprintAdSyncError.PNG

Thanks a lot!

Employee
Employee

Re: Synchronize Active Directory to Qlik NPrinting

Suggestion from a developer.

It seems an error related with an Active Directory connection. Try to set your IP address

<!-- Properties specifying how to access the Domain Controller. -->

<add key="url" value="XXX.YYY.ZZZ.KKK:389" />

in the configuration file

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
lee_connor
New Contributor II

Re: Synchronize Active Directory to Qlik NPrinting

Hi I have been trying today to get this working keep getting the same issue when the exe...

Capture.PNG

I built the app OK and think I have setup the config file also OK.

Just don't know what is going wrong, any help would be great

Lee

Employee
Employee

Re: Synchronize Active Directory to Qlik NPrinting

Hi,

It is an authentication issue.

The user used to login into Qlik NPrinting is the same user that is running the script in the command line window. So be sure that the user that is opening the command line is available in Qlik NPrinting with an admin role.

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
lee_connor
New Contributor II

Re: Synchronize Active Directory to Qlik NPrinting

Many thanks Ruggero, thats now working perfect !

Thanks

Lee

romain__avizzeo
New Contributor

Re: Synchronize Active Directory to Qlik NPrinting

Hi,

I have the same issue :

error1.png

No issue during the build, and I also checked in the nPrinting Server that the user exists :

error2.png

and has the admin role :

error3.png

Any other idea where the error can come from please ?

Thanks

Romain

Community Browser