Jump to content
We've recently updated our Privacy Statement, available here ×

Configure Jasper server with active directory


popkorn

Recommended Posts

Hi all,

         I authenticate jasper server with microsoft active directory as mention in this doc.https://community.jaspersoft.com/documentation/jasperreports-server-authentication-cookbook/v550/authentication-microsoft-active

         but only the AD admin can log into system.users in the AD can't login.configurations are here.

<bean id="ldapAuthenticationProvider"
      class="org.springframework.security.providers.ldap.LdapAuthenticationProvider">
  <constructor-arg>
    <bean
      class="org.springframework.security.providers.ldap.authenticator.BindAuthenticator">
      <constructor-arg><ref local="ldapContextSource"/></constructor-arg>
      <property name="userDnPatterns">
        <list>
          <value>CN={0},OU=IT Service Accounts</value>
 <value>uid={0},OU=LOITS</value>
        </list>
      </property>
 <!-- <property name="userSearch" ref="userSearch"/>   -->
    </bean>
  </constructor-arg>
  
</bean>
<bean id="ldapContextSource"
    class="com.jaspersoft.jasperserver.api.security.externalAuth.ldap.JSLdapContextSource">
  <constructor-arg value="ldap://192.100.151.204:389/DC=LOLC,DC=com?sAMAccountName?sub?(objectClass=*)" />
  <property name="userDn"><value>CN=FusionUsr,DC=LOLC,DC=com</value></property>
  <property name="password"><value>Fu$@1234</value></property>
  </bean>
 
What's the wrong here ?

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...