Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-02-05 | nixosTests.google-oslogin: fix tests, provide group mock endpoint | Florian Klink | 1 | -0/+10 | |
If our (fake) metadata server provides a 404 instead of a JSON document, the NSS module segfaults, and as we do NSS lookups through ns(n)cd, not only crashes the application doing the NSS lookup, but our ns(n)cd. This has been causing segfaults of nscd all along, but since our switch from glibc-nscd to nsncd, caused the test to fail entirely. In any case, by handling /computeMetadata/v1/oslogin/groups we get the NSS lookup to not cause any segfaults, and to succeed the test again. | |||||
2022-02-05 | google-compute-config: update config | Nikolay Amiantov | 1 | -0/+0 | |
2020-04-29 | nixos/oslogin: put mockuser and mockadmin in constants, rename | Florian Klink | 1 | -6/+8 | |
This allows us to change them easily without search/replacing. Afterwards, we rename them to look a bit more like they are on GCP. | |||||
2020-04-29 | nixos/google-oslogin: improve mock server | Florian Klink | 1 | -22/+59 | |
some slightly better error handling for nonexistent users, less parsing of URLs and query strings by hand. | |||||
2018-12-21 | nixos/tests: add google-oslogin test | Florian Klink | 1 | -0/+96 | |