Issue creating local users | Community
Skip to main content
Level 2
May 30, 2022 10:55 AM UTC
Solved

Issue creating local users

Has anyone come across a problem when creating a local user within an AEM Author instance?  The user appears to be created, is visible in the repository, under /home/users, however cannot be located in any search?

Once thing I have noticed, is that the user node under /home/users, for a working user, has child nodes: .tokens, preferences, profile and rep:policy
For users that cannot be searched, only profile and rep:policy child nodes are visible in the repository.

I am using AEM version 6.5.11.

Any help would be appreciated

 

Many thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Fanindra_Surat
Fanindra_SuratAccepted solution
New Participant
May 30, 2022 4:59 PM UTC

Hi @neilwebbcbs - Can you confirm if you are using the touch UI only? http://localhost:4502/security/users.html but not the classic UI http://localhost:4502/useradmin?

 

Thanks,

Fani

8 replies

Level 2
May 31, 2022 7:01 AM UTC

Hi all.

Many thanks for your help so far.   The problem is occurring in both the classic UI and touch UI, with the same results. I can see no errors in the logs, and an entry is visible in the repository for both the new users.

There is no password policy set, however a strong password has been set.

This is happening in just or ST environment.  Our dev, UT and prod are all working as expected


 

 

 

 

 

 



 

 

Translate
DEBAL_DAS
New Participant
May 31, 2022 7:31 AM UTC

Can you execute below JCR-SQL2 query in CRXDE -

SELECT * FROM [rep:User] AS s WHERE ISDESCENDANTNODE([/home/users]) and CONTAINS(s.*, 'mytestuser1')

 

and check whether you are getting any result.

 

Also do one more thing , after doing search like the below one -

Please check at http://localhost:6060/libs/granite/operations/content/diagnosistools/queryPerformance.html if you are seeing any query for mytestuser1, if yes then please use that query in CRXDE and see whether you are getting any result or not.

Translate
Level 2
May 31, 2022 12:49 PM UTC

Hi  Thanks for your suggestion, unfortunately, none of the searches are returning data.

Translate
Nikhil-Kumar
New Participant
May 31, 2022 7:00 AM UTC

@neilwebbcbs -  I have created a local user in AEM 6.5.11. It's searchable in the useradmin and crx/de as well.
Can you please confirm, where exactly are you searching for the user after the creation ?

Translate
DEBAL_DAS
New Participant
May 30, 2022 6:41 PM UTC

I have created user named: debal in AEM 6.5.11 as shown below -

I am able to search in CRXDE -

Useradmin -

Using search bar -

 

Please let me know exactly where you are facing this issue.

Translate
Fanindra_Surat
Fanindra_SuratAccepted solution
New Participant
May 30, 2022 4:59 PM UTC

Hi @neilwebbcbs - Can you confirm if you are using the touch UI only? http://localhost:4502/security/users.html but not the classic UI http://localhost:4502/useradmin?

 

Thanks,

Fani

Translate
arunpatidar
New Participant
May 30, 2022 11:21 AM UTC

Hi,

Can you check if the password policy used for the user http://www.sgaemsolutions.com/2019/10/how-to-set-password-policy-for-aem-users.html.

Translate
Arun Patidar