#3940 sss_cache: Fail if unknown domain is passed in parameter
Merged by jhrozek. Opened by lslebodn.
SSSD/ lslebodn/sssd sss_cache_domain_param  into  master

Download 3940.patch

If sss_cache is called with --domain parameter we should fail
in case of unknown domain. It might be a typo and user should know
about such case.

Resolves:
https://pagure.io/SSSD/sssd/issue/3919

@jhrozek
sorry that I did not notice such case in previous PR.

rebased onto 8baf23b2d0c24637f5e5790ab6c6f4873dd55f6f

2 new commits added

  • test_sss_cache: Add test case for wrong domain in parameter
  • sss_cache: Fail if unknown domain is passed in parameter

Oops, I also didn't consider this case in my testing. The code LGTM and there is a test, let me just run it through CI..

ACK, will push later in the evening to not disrupt any development CI runs

Commit 159a2316 fixes this pull-request

Pull-Request has been merged by jhrozek

Commit 2de3c5fb fixes this pull-request

Pull-Request has been merged by jhrozek

Metadata