userdb: fix definition of USERDB_SYNTHESIZE_NUMERIC

Otherwise, we always synthesize numeric IDs.

Follow-up for e4d07d1a2d.
This commit is contained in:
Yu Watanabe
2025-06-04 21:50:12 +09:00
parent 959d7f1759
commit bf4d6c3d51
+1 -1
View File
@@ -30,7 +30,7 @@ typedef enum UserDBFlags {
USERDB_DROPIN_ONLY = USERDB_EXCLUDE_NSS|USERDB_EXCLUDE_VARLINK|USERDB_DONT_SYNTHESIZE_INTRINSIC|USERDB_DONT_SYNTHESIZE_FOREIGN,
USERDB_PARSE_NUMERIC = 1 << 8, /* if a numeric UID is specified as name, parse it and look up by UID/GID */
USERDB_SYNTHESIZE_NUMERIC = 1 << 8, /* synthesize system UID/GID even if it does not exist */
USERDB_SYNTHESIZE_NUMERIC = 1 << 9, /* synthesize system UID/GID even if it does not exist */
} UserDBFlags;
/* Well-known errors we'll return here: