NSS with SUCCESS=continue

Sylvain debian.roxx@gmail.com
Tue Sep 8 11:58:00 GMT 2009


>  Wouldn't this actually be the same as group: mysql files?
Yes, I think but in practice it is not the case so maybe
SUCCESS=continue don't work like I think (ie : it must override value
found in previous service ONLY if value is found in service actually
tested. If not, it must return value of previous tested service) or
maybe it's a bug.

Here another example to show the differences :

-------------------------------------
 group:          files [SUCCESS=continue] mysql

$ getent group postdrop
$ getent -s mysql group postdrop
$ getent -s files group postdrop
postdrop:x:105:
-------------------------------------
group:          mysql files

$ getent group postdrop
postdrop:x:105:
$ getent -s mysql group postdrop
$ getent -s files group postdrop
postdrop:x:105:
-------------------------------------

Sylvain



More information about the Libc-help mailing list