|
Bugzilla – Full Text Bug Listing |
| Summary: | User administration: error about conflict with nis user isn't clear | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Cornelius Schumacher <cschum> |
| Component: | YaST2 | Assignee: | Jiří Suchomel <jsuchome> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | RC 5 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Cornelius Schumacher
2006-12-13 16:21:49 UTC
Which command reports correct type of already existing user? YaST could ask NIS or look in the passwd file or something like that. As the list of users shown in the module doesn't include NIS users it apparently also has a way to determine the type of the user. yast checks if the user name is used with getpwnam call, which doesn't require loading NIS or LDAP users and only reports if the user name is already in use or not. Yes I can make yast2-users do a check for NIS users or perform ldap search for LDAP users if the conflict is detected. But I'm not sure if this is worthy, at it will take some time. That's why I'm asking you if you know a tool that reports correct type of already existing user and not only something like "Account `aa' already exists.", reported by useradd. I don't know such a tool, but I'm no expert in this area. Maybe the error message could at least say that the conflict potentially could be with a NIS or LDAP user when it can't be found in passwd (which should be quick to check). If you don't find a way to quickly find out the exact reason of the conflict it would be nice to give the user a hint what it could be. You're right, that could be possible Current error message is: "There is a conflict between the entered username and an existing username. Try another one." What about changing it to this one (only when trying to add local user and if LDAP or NIS is available): "There is a conflict between the entered username and an existing username. (The existing username might belong to NIS or LDAP user.) Try another one." Rebecca, what do you think? Do you have any better alternative? Sounds reasonable. "There is a conflict between the entered username and an existing username. The existing username might belong to NIS or LDAP user. Try another one." Fixed in yast2-users-2.15.30 |