Expand my Community achievements bar.

SOLVED

Issue creating local users

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

8 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Employee Advisor

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

DEBAL_DAS_1-1653935911827.png

I am able to search in CRXDE -

DEBAL_DAS_2-1653935966407.png

Useradmin -

DEBAL_DAS_3-1653935988084.png

Using search bar -

DEBAL_DAS_4-1653936027180.png

 

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

Avatar

Community Advisor

@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 ?

Avatar

Level 2

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


neilwebbcbs_0-1653980306991.png

neilwebbcbs_1-1653980330551.png

neilwebbcbs_2-1653980343542.png

 

neilwebbcbs_3-1653980374111.png

 

neilwebbcbs_4-1653980395357.png

 

neilwebbcbs_5-1653980465573.png

 

 

neilwebbcbs_6-1653980478400.png

 



 

 

Avatar

Employee Advisor

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 -

DEBAL_DAS_0-1653982079918.png

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.

Avatar

Level 2

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

Avatar

Employee Advisor

Yes I had this doubt only. I have faced similar issue with my local AEM instance and suddenly none of query like JCR-SQL2, xpath , query builder were giving any result.

That time I realized something went wrong with my local AEM instance. 

 

Please try to search that user using useradmin console as shown below -

DEBAL_DAS_0-1654002052073.png

 

One more request , just try to execute any other query in CRXDE, query builder and see whether it gives you result or not.