Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Integration with LDAP

Raphael Costa August 24, 2021

Good afternoon people,

Can anyone help me configure LDAP integration with Confluence Server?

I've followed the documentation (https://confluence.atlassian.com/doc/connecting-to-an-ldap-directory-229838241.html) but I always bump into the error that the user doesn't exist.

Does anyone have a correct setup step by step?

Thanks

2 answers

0 votes
Kishan Sharma
Community Champion
August 25, 2021

I can see there are three errors in red. Would you mind pasting the errors in english ? The last error says that it has failed to authenticate a user with name "rehc". Could be something wrong with that user setup. If possible try to delete it and run test again.

Raphael Costa August 25, 2021

Hello, the error is this:

Test get of user associations: Failed

I've already tested it with several users, including Domain Admin user and the error persists

Kishan Sharma
Community Champion
August 25, 2021

Ok thanks, it seems like the LDAP is not able to find the user membership. Can you check the confluence-home/logs/atlassian-confluence.log file and see the reason why sync is failing. 

Raphael Costa August 25, 2021

Is the confluence log path the same?

Kishan Sharma
Community Champion
August 25, 2021

ah, the log path is - confluence-home/logs/atlassian-confluence.log

Raphael Costa August 26, 2021

I found the file but I didn't find any error regarding sync.
Is there any keyword or better, any place I can upload the log?

Kishan Sharma
Community Champion
August 27, 2021

I would suggest raising a support ticket to Atlassian for further troubleshooting. Please drop a comment on this thread once you have found a solution so that it will help other community members.

0 votes
Kishan Sharma
Community Champion
August 24, 2021

Hi @Raphael Costa Welcome to Atlassian Community! Have you verified if the Bind user has been setup correctly and if you are able to connect to the directory server using its password ?

The specific privileges required by the user to connect to LDAP are "Bind" and "Read" (user info, group info, group membership, update sequence number, deleted objects), which the user can obtain by being a member of the Active Directory's built-in administrators group.

Raphael Costa August 24, 2021

Hello,

Yes, in that respect everything is correct.

Do you have any step-by-step schema configuration and other required settings?

Kishan Sharma
Community Champion
August 25, 2021

Thanks for confirming. If the Server settings (Hostname/port/username/pwd) are all correct, the next things to look at is the LDAP schema, where you will need to setup Base/User/Group DN correctly and the User/Group schema settings. You might need your LDAP SME's help on these. Once this is done you should be able to quick test the directory sync on JIRA.

Raphael Costa August 25, 2021

It's all very strange. The first time I did the setup, it went with some errors but it synced all users; now it no longer synchronizes and the error occurs as per the print;
My configuration also attached for you to help meerror.PNGprint 1.PNGprint 2.PNGprint 3.PNGprint 4.PNGprint 5.PNG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events