I've setup OpenLDAP and connected with JIRA and confluence. LDAP Users are reflected in both. But I'm not able to login via LDAP user in JIRA or conlfuence and getting below error while performing test.
Test basic connection : Succeeded
Hi all,
I had exactly the same error as Tayyab. I could login, but the logged in users did not appear in the appropriate group. My solution was applying the LDAP_MATCHING_RULE_IN_CHAIN (1.2.840.113556.1.4.1941) to the group filter as well:
Group Object Filter: (&(objectCategory=group)(memberOf:1.2.840.113556.1.4.1941:=cn=MY_AD_GROUP,ou=d1,ou=d2,ou=main,dc=xxxx,dc=xxx))
where MY_AD_GROUP is a group containing a few other AD groups containing users.
Hey Thomas,
I'm getting the same error and as I'm fairly new to LDAP I cannot translate your example to my case.
Could you please elaborate a little bit more about what you did?
I've put in your example into the Group Object Filter field and then exchanged dc=...,dc=... with my domain. Not sure though what I have to fill in for cn= and ou= ?
Could you help me out with my LDAP?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, it simple depends an your ldap Server, more specific on the directory structure your ldap admin gave it.
For instance if you have as start of object hierarchie dc = mydomain .
and sub tree ou=users where all user objects are. A single user object has many attributes (by default). Most important is cn which spells common name and contains usually the username
ou means organisational unit. a ou usually denotes a directory containing some other objects. a tree can consist of any number of ou-s.
so correct path would be : dc=mydomain, ou=users, cn=myusername
which would be a very flat hiearchy.
More common is :
dc=companyname,
ou=devision,
ou=section,
ou=some_other_dividing_element,
ou= users ,
cn = user1
cn = user2
cn = user3
HTH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey and thanks for the detailed answer. However it still shows the error with the memberships.
I'm totally new to LDAP but I think I've understood the hierarchy setup you've described. I'm pretty sure I'm mixing some stuff up. because if the solution works for you it should as well for me.
Could you have a look at my LDAP Testsetup and my confluence setup and point me into the right direction?
Here are my group and membership-settings in Confluence:
Here the Primary group (dc= I've deleted for privacy reasons)
And here my tree from a windows config tool that is connected with my linux server (also here dc= deleted for privacy reasons..)
the string I put into the Group-Object-Filter field is:
(&(objectCategory=group)(memberOf:1.2.840.113556.1.4.1941:=cn=admins,ou=group,dc=diamontech,dc=local))
Can you see the mistake?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got same problem here. I have passed the test of remote directory connection. However, failed to get user's memberships. And system showed message like "LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903D9, comment: AcceptSecurityContext error, data 531".
I have checked this message from https://confluence.atlassian.com/kb/common-user-management-errors-820119309.html. And asked my ldap server adminster. He add my server hostname in his userworkstation. It still doesn't work...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are any solutions here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem and didn't find an answer.
JIRA LDAP server explanation of this field is as short as a fat mans hugo.
Tayyab needs an answer for "what is the meaning of this failure message?"
What weng wrong. Whiche attributes are going to be retrieved from ldap server?
There are some group attributes to configure - which precisly is wrong.
What is the tests that is carried out against the ldap server ?
Ist there any method to debug this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tayyab!
From the error, I believe you need to review the membership configurations of the directory you added. In the document about connect JIRA to a LDAP server you have a explanation of each field.
Cheers!
Teilor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.