cancel
Showing results for 
Search instead for 
Did you mean: 

Active Driectory integration

kingbee888
Champ in-the-making
Champ in-the-making
Hi Guys,

I'm new with Activiti and I'm trying to setup Activiti Explorer to use LDAP authentication via Active Directory.  I've gotten it to the point where it connects to AD but I'm getting the following error.

10:44:10,333 [http-9090-Processor25] INFO  org.activiti.ldap.LDAPUserManager  - Could not authenticate user Test: Unprocessed Continuation Reference(s) javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=corp,DC=test,DC=com'
….

When searching the forum, it was mentioned that the solution is to set Context.REFERRAL to "follow" in InitialDirContext.

I'm not sure if I'm doing that correct or not.  I tried to set it the following way but I'm still getting the error.
<blockcode>
         <property name="groupIdAttribute" value="cn" />
         <property name="groupNameAttribute" value="cn" />
         
         <property name="customConnectionParameters">
            <map>
               <entry key="Context.REFERRAL" value="follow" />

            </map>
         </property>
</blockcode>
Can someone please let me know how to set the customConnectionParameters for that?  I've been trying to figure it out but I'm not getting it.

Thanks,
Brian
3 REPLIES 3

kingbee888
Champ in-the-making
Champ in-the-making
Figured it out.  I was setting the customConnectionParameters correctly but I was setting the baseDN at too high and that was causing it to go through too many records.  When I scoped the baseDN correctly, that resolved the issue.


Thanks,
Brian

kingbee888
Champ in-the-making
Champ in-the-making
Figured it out.  I was setting the customConnectionParameters correctly but I was setting the baseDN at too high and that was causing it to go through too many records.  When I scoped the baseDN correctly, that resolved the issue.


Thanks,
Brian

jbarrez
Star Contributor
Star Contributor
Thanks for posting back. Glad it works!