Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
TobiasW
Partner - Contributor III

LDAP multiple Groups / Wildcard doesn't work

Hello everyone,

i got an issue with importing users/groups using LDAP.

When I use this Command in the "Additional user Filters":
((&(memberOf=CN=NPrintingTest2,OU=Gruppen,OU=Test Users,DC=TEST,DC=local)))
The Users in this group get Imported just fine, but as soon as i add a Wildcard at the Group it wanna import every Group of the "Folder/OU" Gruppen, but no user.
Example:
((&(memberOf=CN=NP*,OU=Gruppen,OU=Test Users,DC=TEST,DC=local)))

Any ideas?

Happy about every tip, sadly i have no real experience with LDAP and the Syntax.

Greetings,
Tobi

Labels (2)
1 Solution

Accepted Solutions
Ruggero_Piccoli
Support

Hi,

Qlik NPrinting sends the LDAP filters directly to the LDAP server that sent back the results. So you have to write filters by using LDAP supported syntax. My suggestion is to test the filters by using an LDAP client before adding them in an import task.

About the usage of * in LDAP filters, I found the article  https://social.technet.microsoft.com/wiki/contents/articles/5392.active-directory-ldap-syntax-filter... that states: "The wildcard character "*" is allowed, except when the <AD Attribute> is a DN attribute. Examples of DN attributes are distinguishedName, manager, directReports, member, and memberOf. If the attribute is DN, then only the equality operator is allowed and you must specify the full distinguished name for the value (or the "*" character for all objects with any value for the attribute).". I hope this helps.

Best Regards,

Ruggero



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.

View solution in original post

1 Reply
Ruggero_Piccoli
Support

Hi,

Qlik NPrinting sends the LDAP filters directly to the LDAP server that sent back the results. So you have to write filters by using LDAP supported syntax. My suggestion is to test the filters by using an LDAP client before adding them in an import task.

About the usage of * in LDAP filters, I found the article  https://social.technet.microsoft.com/wiki/contents/articles/5392.active-directory-ldap-syntax-filter... that states: "The wildcard character "*" is allowed, except when the <AD Attribute> is a DN attribute. Examples of DN attributes are distinguishedName, manager, directReports, member, and memberOf. If the attribute is DN, then only the equality operator is allowed and you must specify the full distinguished name for the value (or the "*" character for all objects with any value for the attribute).". I hope this helps.

Best Regards,

Ruggero



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.