Hi,
I tried to create an LDAP User Directory in JIRA 5.2. I provided the following details:
Directory Type: Microsoft Active Directory
Port: 389
Base DN: ou=Users, dc=example, dc=com
LDAP Permissions: Read/Write
User Object Filter is (&(objectCategory=Person)(sAMAccountName=*))
When i give Save and Test, i got
Test basic connection : Succeeded
I gave authentication details and gave Test Settings. I got the following error.
Test Retrieve User: Failed
org.springframework.transaction.CannotCreateTransactionException: Could not create DirContext instance for transaction; nested exception is org.springframework.ldap.AuthenticationException: [LDAP: error code 32 - No Such Object]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 32 - No Such Object]
For more information regarding LDAP error codes see Troubleshooting LDAP Error Codes.
How do i resolve this.
Thanks in advance.
Hi Anandhi,
Instead of using ou=Users, dc=example, dc=com, try using just dc=example, dc=com as Base DN.
The ou=Users must be set on the Group Filter like (&(&(objectCategory=Person)(sAMAccountName=*))(ou=Users)).
Hope it helps
Hi Bruna,
I tried what you said. I got the following exception:
org.springframework.ldap.NoPermissionException: [LDAP: error code 50 - Search filter not permitted (attributes)]; nested exception is javax.naming.NoPermissionException: [LDAP: error code 50 - Search filter not permitted (attributes)]; remaining name 'dc=example,dc=com'
Can you tell me what to do to solve this???
Im new to all these stuff...:(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I created a new User directory with LDAP Authentication
Directory Type: OpenLDAP
BaseDN: dc=example,dc=com
UserName Attribute: sAMAccountName
I tested the settings and was successful.
I signed-up witha new user-id and password and email address.
But when i login with this username and password, i get the following error in the atlassian-security-logs:
'anandhi' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.
Please help me solve this problem. Thanks in advance...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.