]> git.ipfire.org Git - thirdparty/shadow.git/commit
fix newusers when nss provides subids 344/head
authorSerge Hallyn <serge@hallyn.com>
Mon, 17 May 2021 02:59:14 +0000 (21:59 -0500)
committerSerge Hallyn <serge@hallyn.com>
Sun, 23 May 2021 13:16:16 +0000 (08:16 -0500)
commit9d169ffc41b496f31be09259080789883693d93d
treee3bff9cc7c3154501238bce1efd86b9354b7af39
parent0fe42f571c69f0105d31305f995c9887aeb9525e
fix newusers when nss provides subids

Closes #331

1. drop 'has_any_range' nss method as it is not useful

2. do not try to create a subid range in newusers when using nss for
   subids, since that's not possible.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
(cherry picked from commit 88a434adbdcf4a8640793fd58bcd2ba77598349d)
lib/nss.c
lib/prototypes.h
lib/subordinateio.c
lib/subordinateio.h
src/newusers.c