Bug 457124
| Summary: | user names are not allowed to have a . in the name | ||
|---|---|---|---|
| Product: | [Retired] freeIPA | Reporter: | Jason Johnston <jason.johnston-bugzilla> |
| Component: | ipa-admintools | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.1 | CC: | benl, dpal, jgalipea |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | freeipa-2.0.0-1.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 450613 | ||
| Bug Blocks: | 453489 | ||
|
Description
Jason Johnston
2008-07-29 19:18:35 UTC
The trick is going to be to find the lowest common denominator so that an IPA login can work on multiple operating systems. According to "Solaris 10: The Complete Reference" usernames are limited to 8 characters (though it doesn't say which characters). Other folks seem to believe there is no limit, some say it gets truncated at 8. No mention of character limitations. I did a little poking on a Solaris 9 box I have. useradd seems to want the username to be all alphanumeric, '-', '_', or '.' with the first character an alpha and no longer than 8 characters. but it just spits out warnings. It will still add the user as requested. Perhaps we should do the same. Lighten up a bit and simply warn if we think something is going to cause problems. This will use the same patch from bug 450613. master: 110f60da8e8cbf2b83f66b4959857dc62b407f06 Fix Verified: [root@jennyv3 ~]# ipa-adduser test.me First name: Test Last name: Me test.me successfully added [root@jennyv3 ~]# ipa-finduser test.me First Name: Test Last Name: Me Home Directory: /home/test.me Login Shell: /bin/bash Login: test.me |