Forum Discussion

MrDecisive's avatar
MrDecisive
Frequent Visitor
5 years ago

Linking names in collaborator and bitbucket

Hi,

I have a problem with the linking of names in collaborator with the names in bitbucket. They both use the same active directory server for authentication but when I create a pull request in bitbucket the debug logs in collaborator say 

 

"Collaborator cannot find remote user mapping for pull request creator, review created by system administrator"

 

This is the AD Realm from collaborator.

 

<Realm allRolesMode="strictAuthOnly"
className="org.apache.catalina.realm.JNDIRealm"
connectionURL="ldap://my.ldap.server"
referrals="follow"
userSearchAsUser="true"
userBase="OU=Sites,DC=my,DC=domain,DC=name"
userSubtree="true"
userSearch="(userPrincipalName={0})"
>
</Realm>

 

This is the user config from BitBucket:

The attribute field to use on the user object. Examples: cn, sAMAccountName.
The RDN to use when loading the user username.Example: cn.
The attribute field to use when loading the user first name.
The attribute field to use when loading the user last name.
The attribute field to use when loading the user full name.
 
No RepliesBe the first to reply