- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Is there a minimum length for a user name in Ranger?
- Labels:
-
Apache Ranger
Created 10-23-2015 04:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Creating an internal user name of 5 digits is not working correctly.
Created 10-24-2015 05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Neeraj - the username should be at least 2 character long. Hence Ranger Admin failed to accept names with a singe character - like "a" or "b".
The issue faced by @terry@hortonworks.com is HDP-2.2 specific, where Ranger requires the username should begin with an alphabet. @terry@hortonworks.com - can you please confirm if you see this in HDP-2.2 and if starting a username with an alphabet works?
Created 10-23-2015 04:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What you mean by "is not working correctly"? Any errors on the UI or in the log?
It should be possible, I have created users like solr, admin, user1, ...
Created 10-23-2015 04:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The response from the UI is "enter a valid user name". I will try again.
Created 10-23-2015 04:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Minimum is 2 letters
Maximum > 30 letters
Just tested it on my cluster. What version of Ranger do you have?
Created 10-23-2015 04:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It was not a length problem. The user is not a member of the group he is being added into. There is an odd mix of LDAP users and local groups in the test environment. You should enter the length as the answer since that is the question I asked. Then I can accept the answer. Thanks.
Created 10-24-2015 07:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What version of Ambari and HDP are you using? Also, see my latets reply.
Created 10-23-2015 05:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you mean username like "12345"?
Created 10-23-2015 05:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ranger in HDP-2.2 requires usernames to begin with an alphabet. This was relaxed in HDP-2.3 (RANGER-318), which would allow usernames to start with an alphabet or a number.
Created 10-24-2015 12:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See my latest reply ...Do you think we are missing something at UI level?
Created on 10-24-2015 12:44 AM - edited 08-19-2019 05:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Terry@hortonworks.com
See this..I can add user ab, abc, 1234 . The only user I could not add was only a or b