Expand my Community achievements bar.

AEM LDAP Integration

Avatar

Level 10

Hi,

I am facing an issue while creating a user Rama in LDAP for AEM LDAP Integration.

For creation of user “Rama”:

Right click “ou=Users”, select New –> New Entry.

Select “Create entry from scratch” radio button and hit Next button.

Select “Organizational Unit” from the left pane and hit “Add” button to transfer it to the right pane.

Hit the “Next” button.

Enter “cn” in the RDN field and “Rama” in the text field after “=” sign. Here is where I am stuck.

The message is

“According to the schema attribute cn is not allowed. Attribute ou has an empty value, please insert a valid value. ”

Kindly suggest.

Thanks,

Rama.

12 Replies

Avatar

Level 8

Hi,

I am getting the below error when I try exact steps mentioned in the documentation in step "Adding a user to ApacheDS" [Adobe Experience Manager Help | Configuring Adobe Experience Manager 6 to use Apache Directory Servi... ]

java.lang.Exception: [LDAP: error code 67 - NOT_ALLOWED_ON_RDN: failed for MessageType ......does not have the userPassword attributeType, which is part of the RDN".

Tried multiple things, but no luck.

Avatar

Administrator

Which AEM version are you using? The article you are referring here is tested on 6 and 6.1.

smacdonald2008​ can you please check this?

~kautuk



Kautuk Sahni

Avatar

Level 10

I am using AEM 6.2.

Thanks,

Rama.

Avatar

Level 10

That is the reason - the article is not for that version!

Avatar

Level 10

Any idea of how to fix it Scott?

Appreciate your replies.

Thanks,

Rama.

Avatar

Level 10

I will look into this for AEM 6.2 - we tested on the versions specified in the article. Look like there was some sort of change in AEM 6.2.

Avatar

Level 10

Hi,

Please check this article that recently released - how to integrate AEM with LDAP.

//AEM Developer Blog: INTEGRATE AEM WITH LDAP

Please let me know, if you face any issues.

Hope this helps!!

Thanks,
Ratna.

Avatar

Level 10

Hi Ratna,

Thanks for sharing the link.

"11. On the Attribute type field, enter userPassword: 54321".

I was expecting to select userPassword in the Attribute type dropdown and 54321 in the next screen for the actual password value.

How to enter userPassword: 54321?  I could select userPassword from dropdown and add the rest to it.

Even if I enter userPassword: 54321, in the next screen, I do not see New Password, and Hash Method, etc.

Instead, I see Language tags, Other Options, etc.

If someone sets up a connect session with me to close, it would be great.

i have been stuck up here for a long time.

Appreciate all your replies.

Thanks,

Rama.

Avatar

Level 10

Hi Ratna and all,

Is there any way out for me please?

When it was tested successfully in 6.2, did this issue arise?

Thanks,

Rama.

Avatar

Level 10

Hi Rama,

Yes, we can have the connect session. Please let me when you can be available.

It worked for me, I can help you out.

Thanks,

Ratna.

Avatar

Level 1

Are you trying to create an LDAP user in AEM rather than sync it from LDAP? That is how I'm reading the initial post. Does the user not already exist in LDAP? If it does exist, one can use the JMX tools to sync the user into AEM w/o having to have them login.

Avatar

Level 10

Hi,

I am trying to create a user in LDAP and not in AEM.

I am OK to create using JMX as well.

All I need is a set of instructions to establish AEM-LDAP Integration.

I believe I am following all instructions in this URL, but am not able to achieve it.

Appreciate all your replies.

Thanks,

Rama.