Jump to content
Changes to the Jaspersoft community edition download ×
  • LDAP userSearch with OR-Operator

    Jim W

    Issue Description

    Suppose you have defined the follwing userSearch: OU=ABC (sAMAccountName={0}) true.  But now you would also like to search in the tree "administration", but the OR-Operator | does not work.  For example, you tried to use the following expression: (|(OU=ABC)(OU=administration))

    <bean id="ldapContextSource" class="com.jaspersoft.jasperserver.api.security.externalAuth.ldap.JSLdapContextSource">

    <constructor-arg value="ldap://,DC=org"/>

    <!-- manager user name and password (may not be needed) -->

    <property name="userDn" value="CN=ldap_user,OU=services,OU=administration,DC=ABC,DC=org"/>

    <property name="password" value="######"/>



    Try adding another user search.  One userSearch for, ou=Administrator.  Another, userSearch2, for ou=ABC . See attached sample.


    Ref. Case 00070667


    User Feedback

    Recommended Comments

    There are no comments to display.

    This is now closed for further comments

  • Create New...