suleklarisa Posted July 24, 2020 Share Posted July 24, 2020 I am trying to log in with AD users who are spread across multiple OUs. How can I do it?Is it possible to perform this search using the Global Catalog?B elow is the filter for the Jasperserver external authentication configuration file.Some of my attempts are commented. i'm newbie, thanks for the help.<bean id="userSearch" class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSFilterBasedLdapUserSearch"> <constructor-arg index="0"> <value></value> <!-- SE NÃO ESPECIFICADO A PESQUISA INCLUIRÁ TODO O DIRETORIO LDAP A PARTIR DA DN BASE DA URL LDAP: dc=pgemt --> </constructor-arg> <constructor-arg index="1"> <value>(&(sAMAccountName={0})(objectClass=person)(objectClass=user))</value> <!-- (&(sAMAccountName={0})(ObjectClass=organizationalPerson)(ObjectClass=person)) --> <!-- (&(sAMAccountName={0})(objectClass=user)) --> <!-- <value>(uid={0})</value> --> </constructor-arg> <constructor-arg index="2"> <ref bean="ldapContextSource" /> </constructor-arg> <property name="searchSubtree"> <value>true</value> </property>AND...<constructor-arg> <bean class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSBindAuthenticator"> <constructor-arg><ref bean="ldapContextSource"/></constructor-arg> <property name="userSearch" ref="userSearch"/> <!-- <property name="userDnPatterns"> <list> </list> </property> --> </bean> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now