]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
userdb: fix definition of USERDB_SYNTHESIZE_NUMERIC
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 3 Jun 2025 20:20:21 +0000 (05:20 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 Jun 2025 12:50:12 +0000 (21:50 +0900)
Otherwise, we always synthesize numeric IDs.

Follow-up for e4d07d1a2d66fd200abdd977b70fc6ac69a369ce.

src/shared/userdb.h

index 4004d80d232e1ce48a18e1daefc2e4e82247311c..d56d9214a9a2c30ae4f062169a3d618741853878 100644 (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: