summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@poessinger.com>2023-02-27 09:02:23 +0100
committerGitHub <noreply@github.com>2023-02-27 09:02:23 +0100
commita6af73146cd492c098205f9e3fc114ffd12143d7 (patch)
tree64a2f4168259149a4cdf7e8a68575992c871b30c
parent2ded63a0e6748018dada646691843462797cc7fc (diff)
parente1a15784cec6c042240ea58c24d17ddd0aa0b0fa (diff)
downloadlibnss-mapuser-a6af73146cd492c098205f9e3fc114ffd12143d7.tar.gz
libnss-mapuser-a6af73146cd492c098205f9e3fc114ffd12143d7.zip
Merge pull request #7 from zdc/T4943-sagitta
nss: T4943: Fixed `min_nss` option parser
-rw-r--r--map_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/map_common.c b/map_common.c
index b6fe3bc..e0c7f37 100644
--- a/map_common.c
+++ b/map_common.c
@@ -141,7 +141,7 @@ int nss_mapuser_config(int *errnop, const char *lname)
} else if (!strncmp(lbuf, "mapped_priv_user=", 17)) {
/* the user we are mapping to */
mapped_priv_user = strdup(lbuf + 17);
- } else if (!strncmp(lbuf, "map_min_uid=", 8)) {
+ } else if (!strncmp(lbuf, "min_uid=", 8)) {
/*
* Don't lookup uids that are local, typically set to either
* 0 or smallest always local user's uid