mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
Add a simple fuzzer that verifies our machinery for parsing user records from JSON works as intended. The initial corpus was created with the help of Claude, so we have a bunch of valid user records with as much fields as possible for the initial corpus.
16 lines
438 B
JSON
16 lines
438 B
JSON
{
|
|
"userName": "cifsuser",
|
|
"realName": "CIFS Home User",
|
|
"uid": 1001,
|
|
"gid": 1001,
|
|
"homeDirectory": "/home/cifsuser",
|
|
"shell": "/bin/bash",
|
|
"disposition": "regular",
|
|
"storage": "cifs",
|
|
"cifsDomain": "EXAMPLE",
|
|
"cifsUserName": "cifsuser",
|
|
"cifsService": "//fileserver.example.com/homes/cifsuser",
|
|
"cifsExtraMountOptions": "vers=3.0,seal,sec=krb5",
|
|
"memberOf": ["users", "domain-users"]
|
|
}
|