#1549 Providing invalid UID/GID values, terminates sss_seed tool without any error message
Closed: Fixed Opened by apeetham.

SSS_SEED tool has an interactive (-i) mode to provide user information. When the UID/GID field is assigned with alphabets/alphanumeric values, execution of sss_seed terminates immediately without giving proper error message.

Steps to reproduce:
1. Ensure that the system is offline.
2. Clear the sssd cache and restart sssd service.
3. Execute the sss_seed tool with interactive option and provide alphabets/alphanumeric values to UID/GID fields. See the command output below:
# sss_seed -D LDAP -n testuser -i
Enter UID : xy12
# echo $?
1
Result seen:
Execution of sss_seed tool terminates immediately without providing any error message.

Expected result:
An appropriate error message.


Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.9.1
rhbz: => 0

Fields changed

owner: somebody => mzidek

Fields changed

patch: 0 => 1

master: 799f04e2ccd434ea51e5c7f59c5d83210c220c90

resolution: => fixed
status: new => closed

Metadata Update from @apeetham:
- Issue assigned to mzidek
- Issue set to the milestone: SSSD 1.9.1

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2591

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata