[Bug 644632] Re: nssldap-update-ignoreusers needs to be configurable to ignore users

Jamie Strandboge jamie at ubuntu.com
Tue Apr 19 13:43:13 UTC 2011


The problem with the patch as written is that while 'users' gets updated correctly with this line:
users=`awk -v min="$MIN" -v okuser="$OKUSERS" -F: 'BEGIN{split(okuser,a,/,/);for (i in a) b[a[i]]} ($3 < min) && !($1 in b){printf "%s%s",s,$1;s=","}' /etc/passwd`

'users' is immediately updated after this however to merge what was in
nss_initgroups_ignoreusers before and what is currently in 'users', so
because 'uucp,www-data' was in nss_initgroups_ignoreusers before running
nssldap-update-ignoreusers, it gets merged back in.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/644632

Title:
  nssldap-update-ignoreusers needs to be configurable to ignore users



More information about the Ubuntu-server-bugs mailing list